Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/../OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.Timer,fileNamePrefix="Buildings_6_0_0_Buildings_Controls_OBC_CDL_Logical_Validation_Timer",fmuType="me",version="2.0",platforms={"static"}) [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadModel(Buildings): time 4.227/4.227, allocations: 433 MB / 440.3 MB, free: 4.832 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.5238/4.751, allocations: 104.3 MB / 0.5319 GB, free: 12.94 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2488/5, allocations: 98.72 MB / 0.6283 GB, free: 9.805 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2578/5.258, allocations: 123.6 MB / 0.749 GB, free: 13.99 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002691/5.258, allocations: 71.59 kB / 0.7491 GB, free: 13.92 MB / 0.6355 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.004235/5.263, allocations: 0.8778 MB / 0.75 GB, free: 13 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.768e-05/5.263, allocations: 12 kB / 0.75 GB, free: 12.99 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.762e-05/5.263, allocations: 11.89 kB / 0.75 GB, free: 12.98 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00023/5.263, allocations: 175 kB / 0.7502 GB, free: 12.77 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.536e-05/5.263, allocations: 8 kB / 0.7502 GB, free: 12.76 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.003e-05/5.263, allocations: 4 kB / 0.7502 GB, free: 12.75 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001235/5.263, allocations: 27.94 kB / 0.7502 GB, free: 12.73 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001407/5.263, allocations: 53.67 kB / 0.7503 GB, free: 12.67 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.009e-05/5.263, allocations: 0 / 0.7503 GB, free: 12.67 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.427e-05/5.263, allocations: 8 kB / 0.7503 GB, free: 12.66 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.36e-06/5.263, allocations: 0 / 0.7503 GB, free: 12.66 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005437/5.264, allocations: 269.3 kB / 0.7505 GB, free: 12.36 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000158/5.264, allocations: 66.59 kB / 0.7506 GB, free: 12.29 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.707e-05/5.264, allocations: 20.86 kB / 0.7506 GB, free: 12.26 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.369e-05/5.264, allocations: 160 / 0.7506 GB, free: 12.26 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001513/5.264, allocations: 75.3 kB / 0.7507 GB, free: 12.18 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=11): time 2.174e-06/5.264, allocations: 0 / 0.7507 GB, free: 12.18 MB / 0.6355 GB Notification: Performance of matching and sorting (n=11): time 0.0002801/5.265, allocations: 93.45 kB / 0.7508 GB, free: 12.08 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.178e-05/5.265, allocations: 55.34 kB / 0.7508 GB, free: 12.01 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.588e-05/5.265, allocations: 109 kB / 0.7509 GB, free: 11.9 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 3.038e-05/5.265, allocations: 29.7 kB / 0.7509 GB, free: 11.86 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 3.99e-05/5.265, allocations: 80.14 kB / 0.751 GB, free: 11.78 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 4.49e-05/5.265, allocations: 27.59 kB / 0.7511 GB, free: 11.75 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.998e-06/5.265, allocations: 4 kB / 0.7511 GB, free: 11.75 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001268/5.265, allocations: 322.7 kB / 0.7514 GB, free: 11.43 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.01e-05/5.265, allocations: 20 kB / 0.7514 GB, free: 11.41 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.618e-05/5.265, allocations: 50.56 kB / 0.7514 GB, free: 11.35 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.724e-05/5.266, allocations: 24 kB / 0.7515 GB, free: 11.32 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.215e-06/5.266, allocations: 0 / 0.7515 GB, free: 11.32 MB / 0.6355 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0002334/5.266, allocations: 97.52 kB / 0.7515 GB, free: 11.22 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.421e-05/5.266, allocations: 4 kB / 0.7515 GB, free: 11.22 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.981e-06/5.266, allocations: 0 / 0.7515 GB, free: 11.22 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.557e-05/5.266, allocations: 0 / 0.7515 GB, free: 11.22 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001296/5.266, allocations: 12 kB / 0.7516 GB, free: 11.21 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.215e-05/5.266, allocations: 8 kB / 0.7516 GB, free: 11.2 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001625/5.266, allocations: 19.89 kB / 0.7516 GB, free: 11.18 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.413e-05/5.266, allocations: 4 kB / 0.7516 GB, free: 11.18 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 14 ($PRE.resetTimer.yAcc,resetTimer.yAcc,$whenCondition1,$whenCondition3,$whenCondition2,$PRE.booPul.pulseStart,booPul.pulseStart,$PRE.resetTimer.entryTime,resetTimer.entryTime,accuTimer.u,$PRE.accuTimer.entryTime,accuTimer.entryTime,$PRE.accuTimer.yAcc,accuTimer.yAcc) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (16): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001017/5.266, allocations: 105 kB / 0.7517 GB, free: 11.07 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.085e-05/5.266, allocations: 11.84 kB / 0.7517 GB, free: 11.05 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.383e-05/5.266, allocations: 12.36 kB / 0.7517 GB, free: 11.04 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.589e-06/5.266, allocations: 7.984 kB / 0.7517 GB, free: 11.03 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.244e-06/5.266, allocations: 4 kB / 0.7517 GB, free: 11.03 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.759e-06/5.266, allocations: 0 / 0.7517 GB, free: 11.03 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006098/5.267, allocations: 346.9 kB / 0.7521 GB, free: 10.64 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.038e-06/5.267, allocations: 0 / 0.7521 GB, free: 10.64 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.784e-05/5.267, allocations: 8 kB / 0.7521 GB, free: 10.64 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.667e-06/5.267, allocations: 0 / 0.7521 GB, free: 10.64 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.277e-05/5.267, allocations: 0 / 0.7521 GB, free: 10.64 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.334e-06/5.267, allocations: 256 / 0.7521 GB, free: 10.64 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.445e-06/5.267, allocations: 0 / 0.7521 GB, free: 10.64 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002352/5.267, allocations: 195.2 kB / 0.7523 GB, free: 10.43 MB / 0.6355 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0004/5.268, allocations: 0.5428 MB / 0.7528 GB, free: 9.867 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 5.12e-05/5.268, allocations: 89.02 kB / 0.7529 GB, free: 9.762 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.057e-05/5.268, allocations: 7.922 kB / 0.7529 GB, free: 9.754 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001514/5.268, allocations: 8 kB / 0.7529 GB, free: 9.746 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.164e-05/5.268, allocations: 7.984 kB / 0.7529 GB, free: 9.738 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.001e-05/5.268, allocations: 0 / 0.7529 GB, free: 9.738 MB / 0.6355 GB Notification: Performance of sort global known variables: time 5.812e-05/5.268, allocations: 91.28 kB / 0.753 GB, free: 9.648 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.001122/5.269, allocations: 15.98 kB / 0.753 GB, free: 9.633 MB / 0.6355 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 9 (accuTimer.u,$whenCondition3,$whenCondition2,$whenCondition1,booPul.pulseStart,resetTimer.entryTime,resetTimer.yAcc,accuTimer.entryTime,accuTimer.yAcc) * Number of discrete states: 2 (resetTimer.y,accuTimer.y) * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001783/5.27, allocations: 102.9 kB / 0.7531 GB, free: 9.527 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0002227/5.27, allocations: 63.94 kB / 0.7531 GB, free: 9.465 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/5.27, allocations: 4 kB / 0.7532 GB, free: 9.461 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0001002/5.27, allocations: 31.94 kB / 0.7532 GB, free: 9.43 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000299/5.27, allocations: 23.95 kB / 0.7532 GB, free: 9.406 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004765/5.271, allocations: 103.6 kB / 0.7533 GB, free: 9.281 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003585/5.271, allocations: 0.7036 MB / 0.754 GB, free: 8.551 MB / 0.6355 GB Notification: Performance of SimCode: time 7.01e-07/5.271, allocations: 0 / 0.754 GB, free: 8.551 MB / 0.6355 GB