Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter.conf.json Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: "" <> buildModelFMU(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter,fileNamePrefix="Buildings_7_0_0_Buildings_Examples_ChillerPlant_BaseClasses_Controls_Examples_RequestCounter",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 loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.284/2.284, allocations: 248.6 MB / 255.9 MB, free: 7.102 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001752/0.001752, allocations: 188 kB / 315.1 MB, free: 4.273 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.127/2.127, allocations: 205.1 MB / 0.5658 GB, free: 376 kB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001351/0.001351, allocations: 97.02 kB / 0.67 GB, free: 5.57 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.5521/0.5535, allocations: 112.4 MB / 0.7797 GB, free: 103.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2551/0.8086, allocations: 106.3 MB / 0.8835 GB, free: 13.34 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8056/1.614, allocations: 133.3 MB / 1.014 GB, free: 6.922 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003221/1.615, allocations: 90.94 kB / 1.014 GB, free: 6.867 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.008257/1.623, allocations: 1.64 MB / 1.015 GB, free: 5.379 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.953e-05/1.623, allocations: 13.12 kB / 1.015 GB, free: 5.367 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.24e-05/1.623, allocations: 18.69 kB / 1.015 GB, free: 5.352 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002795/1.623, allocations: 186.7 kB / 1.016 GB, free: 5.133 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.347e-05/1.623, allocations: 7.906 kB / 1.016 GB, free: 5.125 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.891e-05/1.623, allocations: 4 kB / 1.016 GB, free: 5.121 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001804/1.624, allocations: 33.56 kB / 1.016 GB, free: 5.102 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001901/1.624, allocations: 72.28 kB / 1.016 GB, free: 5.035 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.378e-06/1.624, allocations: 0 / 1.016 GB, free: 5.035 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.118e-05/1.624, allocations: 7.938 kB / 1.016 GB, free: 5.027 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.492e-06/1.624, allocations: 0 / 1.016 GB, free: 5.027 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008756/1.625, allocations: 313.9 kB / 1.016 GB, free: 4.699 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001865/1.625, allocations: 55.03 kB / 1.016 GB, free: 4.648 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001452/1.625, allocations: 31.92 kB / 1.016 GB, free: 4.621 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 3.304e-05/1.625, allocations: 3.062 kB / 1.016 GB, free: 4.621 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002586/1.626, allocations: 76.59 kB / 1.016 GB, free: 4.543 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=7): time 4.609e-06/1.626, allocations: 4 kB / 1.016 GB, free: 4.539 MB / 0.6355 GB Notification: Performance of matching and sorting (n=7): time 0.0005023/1.626, allocations: 86.19 kB / 1.016 GB, free: 4.461 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000117/1.626, allocations: 81.11 kB / 1.016 GB, free: 4.363 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002139/1.627, allocations: 116.3 kB / 1.016 GB, free: 4.25 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 4.643e-05/1.627, allocations: 25.7 kB / 1.016 GB, free: 4.219 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001353/1.627, allocations: 95.47 kB / 1.017 GB, free: 4.125 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 5.617e-05/1.627, allocations: 23.12 kB / 1.017 GB, free: 4.105 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.728e-05/1.627, allocations: 0 / 1.017 GB, free: 4.105 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0002148/1.627, allocations: 322.2 kB / 1.017 GB, free: 3.785 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001448/1.627, allocations: 30.25 kB / 1.017 GB, free: 3.766 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001295/1.627, allocations: 31.05 kB / 1.017 GB, free: 3.746 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000122/1.628, allocations: 15.12 kB / 1.017 GB, free: 3.734 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.917e-06/1.628, allocations: 0 / 1.017 GB, free: 3.734 MB / 0.6355 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0004221/1.628, allocations: 101.6 kB / 1.017 GB, free: 3.645 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.675e-05/1.628, allocations: 7.125 kB / 1.017 GB, free: 3.641 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.112e-05/1.628, allocations: 0 / 1.017 GB, free: 3.641 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.676e-05/1.628, allocations: 0 / 1.017 GB, free: 3.641 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000352/1.628, allocations: 31.91 kB / 1.017 GB, free: 3.609 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.12e-05/1.628, allocations: 0 / 1.017 GB, free: 3.609 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000346/1.629, allocations: 23.64 kB / 1.017 GB, free: 3.59 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.298e-05/1.629, allocations: 4 kB / 1.017 GB, free: 3.586 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,reqCou.nInc,$PRE.act1.T_start,act1.T_start,$PRE.act1.count,act1.count) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 2 * 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.0002126/1.629, allocations: 141.2 kB / 1.017 GB, free: 3.438 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.984e-05/1.629, allocations: 11.84 kB / 1.017 GB, free: 3.426 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.307e-05/1.629, allocations: 11.11 kB / 1.017 GB, free: 3.418 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.206e-06/1.629, allocations: 4 kB / 1.017 GB, free: 3.414 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.492e-06/1.629, allocations: 0 / 1.017 GB, free: 3.414 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.501e-06/1.629, allocations: 0 / 1.017 GB, free: 3.414 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000692/1.63, allocations: 327.6 kB / 1.018 GB, free: 3.074 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.043e-06/1.63, allocations: 0.875 kB / 1.018 GB, free: 3.074 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002816/1.63, allocations: 19.98 kB / 1.018 GB, free: 3.055 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.498e-06/1.63, allocations: 0 / 1.018 GB, free: 3.055 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.316e-05/1.63, allocations: 4 kB / 1.018 GB, free: 3.051 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.268e-06/1.63, allocations: 0 / 1.018 GB, free: 3.051 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.08e-06/1.63, allocations: 0 / 1.018 GB, free: 3.051 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0004455/1.631, allocations: 196.8 kB / 1.018 GB, free: 2.863 MB / 0.6355 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0006572/1.632, allocations: 0.5484 MB / 1.018 GB, free: 2.309 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 8.847e-05/1.632, allocations: 81.02 kB / 1.018 GB, free: 2.211 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.637e-05/1.632, allocations: 11.48 kB / 1.018 GB, free: 2.203 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005413/1.632, allocations: 19.98 kB / 1.018 GB, free: 2.184 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001891/1.633, allocations: 23.59 kB / 1.018 GB, free: 2.164 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.915e-05/1.633, allocations: 0 / 1.018 GB, free: 2.164 MB / 0.6355 GB Notification: Performance of sort global known variables: time 0.0001012/1.633, allocations: 98.39 kB / 1.019 GB, free: 2.074 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.001178/1.634, allocations: 23.84 kB / 1.019 GB, free: 2.051 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: 4 ($whenCondition1,reqCou.nInc,act1.T_start,act1.count) * Number of discrete states: 2 (act1.count,reqCou.nInc) * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 2 * 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.0002134/1.634, allocations: 107.2 kB / 1.019 GB, free: 1.934 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0003418/1.635, allocations: 128.1 kB / 1.019 GB, free: 1.816 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/1.635, allocations: 0 / 1.019 GB, free: 1.816 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0001526/1.635, allocations: 64.19 kB / 1.019 GB, free: 1.758 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003063/1.635, allocations: 7.75 kB / 1.019 GB, free: 1.754 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006049/1.636, allocations: 130.1 kB / 1.019 GB, free: 1.613 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000496/1.636, allocations: 0.7124 MB / 1.02 GB, free: 0.8789 MB / 0.6355 GB Notification: Performance of SimCode: time 9.02e-07/1.636, allocations: 0 / 1.02 GB, free: 0.8789 MB / 0.6355 GB