Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/../OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart.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.Continuous.Validation.OffTimerNonZeroStart,fileNamePrefix="Buildings_6_0_0_Buildings_Controls_Continuous_Validation_OffTimerNonZeroStart",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.278/4.278, allocations: 433 MB / 440.3 MB, free: 4.816 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.5795/4.857, allocations: 104.3 MB / 0.5319 GB, free: 12.97 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2881/5.146, allocations: 98.72 MB / 0.6283 GB, free: 9.805 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2971/5.443, allocations: 124.5 MB / 0.7499 GB, free: 13.11 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002768/5.443, allocations: 79.59 kB / 0.75 GB, free: 13.04 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.006401/5.449, allocations: 1.373 MB / 0.7513 GB, free: 11.62 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.708e-05/5.45, allocations: 12 kB / 0.7513 GB, free: 11.61 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.254e-05/5.45, allocations: 3.906 kB / 0.7513 GB, free: 11.6 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001838/5.45, allocations: 178.9 kB / 0.7515 GB, free: 11.39 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.121e-05/5.45, allocations: 3.906 kB / 0.7515 GB, free: 11.38 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.548e-05/5.45, allocations: 4 kB / 0.7515 GB, free: 11.38 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001032/5.45, allocations: 24 kB / 0.7515 GB, free: 11.36 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001219/5.45, allocations: 49.67 kB / 0.7516 GB, free: 11.3 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.433e-05/5.45, allocations: 7.922 kB / 0.7516 GB, free: 11.29 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.228e-05/5.45, allocations: 0 / 0.7516 GB, free: 11.29 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.35e-06/5.45, allocations: 4 kB / 0.7516 GB, free: 11.29 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005757/5.451, allocations: 265.4 kB / 0.7518 GB, free: 10.99 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001422/5.451, allocations: 50.56 kB / 0.7519 GB, free: 10.93 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.39e-05/5.451, allocations: 25.08 kB / 0.7519 GB, free: 10.91 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.54e-05/5.451, allocations: 96 / 0.7519 GB, free: 10.91 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001242/5.451, allocations: 63.25 kB / 0.752 GB, free: 10.83 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=9): time 1.854e-06/5.451, allocations: 3.938 kB / 0.752 GB, free: 10.83 MB / 0.6355 GB Notification: Performance of matching and sorting (n=9): time 0.0002321/5.451, allocations: 69.62 kB / 0.752 GB, free: 10.75 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.919e-05/5.451, allocations: 63.39 kB / 0.7521 GB, free: 10.68 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001006/5.452, allocations: 100.9 kB / 0.7522 GB, free: 10.57 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.463e-05/5.452, allocations: 25.7 kB / 0.7522 GB, free: 10.54 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 5.113e-05/5.452, allocations: 80.14 kB / 0.7523 GB, free: 10.46 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 3.745e-05/5.452, allocations: 27.64 kB / 0.7523 GB, free: 10.43 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.482e-06/5.452, allocations: 0 / 0.7523 GB, free: 10.43 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001372/5.452, allocations: 318.8 kB / 0.7526 GB, free: 10.11 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.048e-05/5.452, allocations: 12 kB / 0.7526 GB, free: 10.1 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001018/5.452, allocations: 51.36 kB / 0.7527 GB, free: 10.04 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.4e-05/5.452, allocations: 15.98 kB / 0.7527 GB, free: 10.02 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.265e-06/5.452, allocations: 0 / 0.7527 GB, free: 10.02 MB / 0.6355 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002061/5.452, allocations: 81.53 kB / 0.7528 GB, free: 9.938 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.81e-05/5.452, allocations: 8 kB / 0.7528 GB, free: 9.93 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.412e-06/5.452, allocations: 3.938 kB / 0.7528 GB, free: 9.926 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.381e-05/5.452, allocations: 64 / 0.7528 GB, free: 9.926 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001107/5.453, allocations: 15.98 kB / 0.7528 GB, free: 9.91 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.194e-05/5.453, allocations: 8.031 kB / 0.7528 GB, free: 9.902 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001188/5.453, allocations: 11.84 kB / 0.7528 GB, free: 9.891 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.232e-05/5.453, allocations: 4 kB / 0.7528 GB, free: 9.887 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition1,$whenCondition3,$whenCondition2,$PRE.booleanPulse.pulsStart,booleanPulse.pulsStart,not1.y,$PRE.offTim1.entryTime,offTim1.entryTime,$PRE.offTim2.entryTime,offTim2.entryTime) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (12): * Single equations (assignments): 12 * 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 9.875e-05/5.453, allocations: 116.6 kB / 0.7529 GB, free: 9.77 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.291e-05/5.453, allocations: 11.89 kB / 0.7529 GB, free: 9.758 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.202e-05/5.453, allocations: 4.344 kB / 0.7529 GB, free: 9.75 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.096e-06/5.453, allocations: 4 kB / 0.7529 GB, free: 9.746 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.5e-06/5.453, allocations: 0 / 0.7529 GB, free: 9.746 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.374e-06/5.453, allocations: 3.984 kB / 0.753 GB, free: 9.742 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005536/5.454, allocations: 327 kB / 0.7533 GB, free: 9.379 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.094e-06/5.454, allocations: 0 / 0.7533 GB, free: 9.379 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.212e-05/5.454, allocations: 8 kB / 0.7533 GB, free: 9.371 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.527e-06/5.454, allocations: 192 / 0.7533 GB, free: 9.371 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.258e-05/5.454, allocations: 4 kB / 0.7533 GB, free: 9.367 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.124e-06/5.454, allocations: 3.938 kB / 0.7533 GB, free: 9.363 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.086e-06/5.454, allocations: 0 / 0.7533 GB, free: 9.363 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002037/5.454, allocations: 167.4 kB / 0.7534 GB, free: 9.184 MB / 0.6355 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0003938/5.454, allocations: 0.5388 MB / 0.754 GB, free: 8.625 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 5.533e-05/5.454, allocations: 81.02 kB / 0.754 GB, free: 8.527 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.657e-05/5.454, allocations: 11.92 kB / 0.7541 GB, free: 8.516 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001417/5.455, allocations: 4 kB / 0.7541 GB, free: 8.512 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.811e-05/5.455, allocations: 7.984 kB / 0.7541 GB, free: 8.504 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.878e-06/5.455, allocations: 4 kB / 0.7541 GB, free: 8.5 MB / 0.6355 GB Notification: Performance of sort global known variables: time 4.924e-05/5.455, allocations: 83.28 kB / 0.7541 GB, free: 8.418 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.001118/5.456, allocations: 15.91 kB / 0.7542 GB, free: 8.402 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: 7 (not1.y,$whenCondition3,$whenCondition2,$whenCondition1,booleanPulse.pulsStart,offTim1.entryTime,offTim2.entryTime) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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.0001504/5.456, allocations: 103.2 kB / 0.7543 GB, free: 8.293 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0002144/5.456, allocations: 44.66 kB / 0.7543 GB, free: 8.25 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.414e-06/5.456, allocations: 4 kB / 0.7543 GB, free: 8.246 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 8.06e-05/5.456, allocations: 23.94 kB / 0.7543 GB, free: 8.223 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002794/5.457, allocations: 7.984 kB / 0.7543 GB, free: 8.215 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003341/5.457, allocations: 87.7 kB / 0.7544 GB, free: 8.105 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003675/5.457, allocations: 0.7001 MB / 0.7551 GB, free: 7.379 MB / 0.6355 GB Notification: Performance of SimCode: time 8.22e-07/5.457, allocations: 0 / 0.7551 GB, free: 7.379 MB / 0.6355 GB