Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/../OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Controls.Continuous.Examples.OffTimer.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.Examples.OffTimer,fileNamePrefix="Buildings_6_0_0_Buildings_Controls_Continuous_Examples_OffTimer",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.482/4.482, allocations: 433 MB / 440.3 MB, free: 10.81 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.274/4.756, allocations: 104.3 MB / 0.5319 GB, free: 2.367 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5505/5.307, allocations: 98.69 MB / 0.6283 GB, free: 116 kB / 0.4949 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2585/5.565, allocations: 124.4 MB / 0.7498 GB, free: 3.508 MB / 0.6199 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004127/5.566, allocations: 71.95 kB / 0.7499 GB, free: 3.438 MB / 0.6199 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.007095/5.573, allocations: 1.102 MB / 0.7509 GB, free: 2.293 MB / 0.6199 GB Notification: Performance of prepare preOptimizeDAE: time 5.917e-05/5.573, allocations: 12 kB / 0.7509 GB, free: 2.281 MB / 0.6199 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.555e-05/5.573, allocations: 3.906 kB / 0.7509 GB, free: 2.277 MB / 0.6199 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002213/5.573, allocations: 167.1 kB / 0.7511 GB, free: 2.074 MB / 0.6199 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.521e-05/5.573, allocations: 0 / 0.7511 GB, free: 2.074 MB / 0.6199 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.782e-05/5.574, allocations: 11.91 kB / 0.7511 GB, free: 2.062 MB / 0.6199 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001563/5.574, allocations: 27.94 kB / 0.7511 GB, free: 2.035 MB / 0.6199 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000191/5.574, allocations: 53.66 kB / 0.7512 GB, free: 1.977 MB / 0.6199 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.201e-05/5.574, allocations: 3.938 kB / 0.7512 GB, free: 1.973 MB / 0.6199 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.617e-05/5.574, allocations: 0 / 0.7512 GB, free: 1.973 MB / 0.6199 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.845e-06/5.574, allocations: 0 / 0.7512 GB, free: 1.973 MB / 0.6199 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007851/5.575, allocations: 277.2 kB / 0.7515 GB, free: 1.664 MB / 0.6199 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002226/5.575, allocations: 46.56 kB / 0.7515 GB, free: 1.609 MB / 0.6199 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001041/5.575, allocations: 25.08 kB / 0.7515 GB, free: 1.582 MB / 0.6199 GB Notification: Performance of preOpt evalFunc (simulation): time 1.302e-05/5.575, allocations: 0 / 0.7515 GB, free: 1.582 MB / 0.6199 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001916/5.575, allocations: 75.28 kB / 0.7516 GB, free: 1.496 MB / 0.6199 GB Notification: Performance of pre-optimization done (n=9): time 5.651e-06/5.575, allocations: 0 / 0.7516 GB, free: 1.496 MB / 0.6199 GB Notification: Performance of matching and sorting (n=9): time 0.0003229/5.576, allocations: 65.69 kB / 0.7517 GB, free: 1.426 MB / 0.6199 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.511e-05/5.576, allocations: 55.39 kB / 0.7517 GB, free: 1.359 MB / 0.6199 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001421/5.576, allocations: 100.9 kB / 0.7518 GB, free: 1.254 MB / 0.6199 GB Notification: Performance of collectPreVariables (initialization): time 3.25e-05/5.576, allocations: 25.7 kB / 0.7518 GB, free: 1.223 MB / 0.6199 GB Notification: Performance of collectInitialEqns (initialization): time 6.959e-05/5.576, allocations: 88.12 kB / 0.7519 GB, free: 1.133 MB / 0.6199 GB Notification: Performance of collectInitialBindings (initialization): time 5.12e-05/5.576, allocations: 19.7 kB / 0.7519 GB, free: 1.113 MB / 0.6199 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.679e-06/5.576, allocations: 4 kB / 0.7519 GB, free: 1.109 MB / 0.6199 GB Notification: Performance of setup shared object (initialization): time 0.0001679/5.577, allocations: 318.8 kB / 0.7523 GB, free: 0.7891 MB / 0.6199 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.719e-05/5.577, allocations: 15.94 kB / 0.7523 GB, free: 0.7734 MB / 0.6199 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001194/5.577, allocations: 43.42 kB / 0.7523 GB, free: 0.7188 MB / 0.6199 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.516e-05/5.577, allocations: 19.98 kB / 0.7523 GB, free: 0.6992 MB / 0.6199 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.448e-06/5.577, allocations: 0 / 0.7523 GB, free: 0.6992 MB / 0.6199 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0003094/5.577, allocations: 85.53 kB / 0.7524 GB, free: 0.6094 MB / 0.6199 GB Notification: Performance of prepare postOptimizeDAE: time 2.315e-05/5.577, allocations: 8 kB / 0.7524 GB, free: 0.6016 MB / 0.6199 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.826e-06/5.577, allocations: 0 / 0.7524 GB, free: 0.6016 MB / 0.6199 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.049e-05/5.577, allocations: 0 / 0.7524 GB, free: 0.6016 MB / 0.6199 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001696/5.578, allocations: 15.92 kB / 0.7524 GB, free: 0.5859 MB / 0.6199 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.684e-05/5.578, allocations: 4 kB / 0.7524 GB, free: 0.582 MB / 0.6199 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001858/5.578, allocations: 7.906 kB / 0.7524 GB, free: 0.5742 MB / 0.6199 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.52e-05/5.578, allocations: 4 kB / 0.7524 GB, free: 0.5703 MB / 0.6199 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 0.0001279/5.578, allocations: 113 kB / 0.7526 GB, free: 464 kB / 0.6199 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.873e-05/5.578, allocations: 11.89 kB / 0.7526 GB, free: 452 kB / 0.6199 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.307e-05/5.578, allocations: 12 kB / 0.7526 GB, free: 432 kB / 0.6199 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.69e-06/5.578, allocations: 288 / 0.7526 GB, free: 432 kB / 0.6199 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.394e-06/5.578, allocations: 0 / 0.7526 GB, free: 432 kB / 0.6199 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.107e-06/5.578, allocations: 3.984 kB / 0.7526 GB, free: 428 kB / 0.6199 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008599/5.579, allocations: 326.9 kB / 0.7529 GB, free: 56 kB / 0.6199 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.329e-06/5.579, allocations: 0 / 0.7529 GB, free: 56 kB / 0.6199 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.063e-05/5.579, allocations: 4.188 kB / 0.7529 GB, free: 52 kB / 0.6199 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.645e-06/5.579, allocations: 3.938 kB / 0.7529 GB, free: 48 kB / 0.6199 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.196e-05/5.579, allocations: 7.938 kB / 0.7529 GB, free: 40 kB / 0.6199 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.378e-06/5.579, allocations: 0 / 0.7529 GB, free: 40 kB / 0.6199 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.559e-06/5.579, allocations: 0 / 0.7529 GB, free: 40 kB / 0.6199 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003604/5.58, allocations: 171.4 kB / 0.7531 GB, free: 15.86 MB / 0.6355 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0004692/5.58, allocations: 0.5311 MB / 0.7536 GB, free: 15.3 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 7.121e-05/5.58, allocations: 81.02 kB / 0.7537 GB, free: 15.21 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.445e-05/5.58, allocations: 7.984 kB / 0.7537 GB, free: 15.2 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002486/5.581, allocations: 8 kB / 0.7537 GB, free: 15.19 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.096e-05/5.581, allocations: 7.984 kB / 0.7537 GB, free: 15.18 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.983e-05/5.581, allocations: 4 kB / 0.7537 GB, free: 15.18 MB / 0.6355 GB Notification: Performance of sort global known variables: time 8.199e-05/5.581, allocations: 79.28 kB / 0.7538 GB, free: 15.1 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.001936/5.583, allocations: 23.83 kB / 0.7538 GB, free: 15.08 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.0002144/5.583, allocations: 99.19 kB / 0.7539 GB, free: 14.97 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0003002/5.583, allocations: 51.94 kB / 0.7539 GB, free: 14.92 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 4.658e-06/5.583, allocations: 0 / 0.7539 GB, free: 14.92 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0001546/5.584, allocations: 24 kB / 0.754 GB, free: 14.9 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00044/5.584, allocations: 8.172 kB / 0.754 GB, free: 14.89 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008395/5.585, allocations: 126.2 kB / 0.7541 GB, free: 14.75 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005124/5.585, allocations: 0.6997 MB / 0.7548 GB, free: 14.02 MB / 0.6355 GB Notification: Performance of SimCode: time 2.114e-06/5.585, allocations: 0 / 0.7548 GB, free: 14.02 MB / 0.6355 GB