Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff.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.Tutorial.CDL.Controls.Validation.EquipmentOnOff,fileNamePrefix="Buildings_7_0_0_Buildings_Examples_Tutorial_CDL_Controls_Validation_EquipmentOnOff",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.002/2.002, allocations: 248.6 MB / 255.9 MB, free: 7.152 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.001709/0.00171, allocations: 183.8 kB / 315.1 MB, free: 4.211 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.813/1.813, allocations: 205.1 MB / 0.5658 GB, free: 340 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.001304/0.001304, allocations: 91.31 kB / 0.67 GB, free: 5.547 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.4661/0.4674, allocations: 112.4 MB / 0.7797 GB, free: 103.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2077/0.6751, allocations: 106.2 MB / 0.8835 GB, free: 13.33 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6246/1.3, allocations: 132.6 MB / 1.013 GB, free: 7.48 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002978/1.3, allocations: 83.31 kB / 1.013 GB, free: 7.43 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: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.006713/1.307, allocations: 1.39 MB / 1.014 GB, free: 6.148 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 6.572e-05/1.307, allocations: 16 kB / 1.014 GB, free: 6.133 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.111e-05/1.307, allocations: 11.81 kB / 1.014 GB, free: 6.121 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002561/1.307, allocations: 178.4 kB / 1.015 GB, free: 5.91 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.786e-05/1.307, allocations: 3.984 kB / 1.015 GB, free: 5.906 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.925e-05/1.307, allocations: 8 kB / 1.015 GB, free: 5.898 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002617/1.308, allocations: 34.59 kB / 1.015 GB, free: 5.875 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002962/1.308, allocations: 60.42 kB / 1.015 GB, free: 5.82 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.351e-05/1.308, allocations: 4 kB / 1.015 GB, free: 5.816 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.514e-05/1.308, allocations: 0 / 1.015 GB, free: 5.816 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.895e-06/1.308, allocations: 0 / 1.015 GB, free: 5.816 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001263/1.309, allocations: 336.1 kB / 1.015 GB, free: 5.48 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002088/1.31, allocations: 39.89 kB / 1.015 GB, free: 5.441 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.954e-05/1.31, allocations: 16.61 kB / 1.015 GB, free: 5.426 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.534e-05/1.31, allocations: 6.344 kB / 1.015 GB, free: 5.422 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001868/1.31, allocations: 61.03 kB / 1.015 GB, free: 5.359 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=6): time 3.407e-06/1.31, allocations: 4 kB / 1.015 GB, free: 5.355 MB / 0.6355 GB Notification: Performance of matching and sorting (n=6): time 0.0003129/1.31, allocations: 60.97 kB / 1.015 GB, free: 5.297 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.264e-05/1.31, allocations: 54.97 kB / 1.015 GB, free: 5.234 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001586/1.311, allocations: 111.7 kB / 1.015 GB, free: 5.125 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 4.216e-05/1.311, allocations: 29.7 kB / 1.015 GB, free: 5.09 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 7.684e-05/1.311, allocations: 95.89 kB / 1.016 GB, free: 4.996 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 4.111e-05/1.311, allocations: 11.81 kB / 1.016 GB, free: 4.984 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.172e-05/1.311, allocations: 0 / 1.016 GB, free: 4.984 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001851/1.311, allocations: 321.9 kB / 1.016 GB, free: 4.664 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.192e-05/1.311, allocations: 18.94 kB / 1.016 GB, free: 4.652 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001193/1.311, allocations: 41.02 kB / 1.016 GB, free: 4.613 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.529e-05/1.311, allocations: 10.86 kB / 1.016 GB, free: 4.609 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.715e-06/1.311, allocations: 0 / 1.016 GB, free: 4.609 MB / 0.6355 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002689/1.312, allocations: 68.66 kB / 1.016 GB, free: 4.543 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.004e-05/1.312, allocations: 5.031 kB / 1.016 GB, free: 4.539 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.685e-06/1.312, allocations: 240 / 1.016 GB, free: 4.539 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.835e-05/1.312, allocations: 4.062 kB / 1.016 GB, free: 4.535 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002554/1.312, allocations: 27.48 kB / 1.016 GB, free: 4.512 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.733e-05/1.312, allocations: 7.891 kB / 1.016 GB, free: 4.504 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003279/1.312, allocations: 31.97 kB / 1.016 GB, free: 4.473 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.464e-05/1.312, allocations: 0 / 1.016 GB, free: 4.473 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,conEquSta.onSys,conEquSta.onBoi,$PRE.conEquSta.hys.y,conEquSta.hys.y,$PRE.onSys.pulseStart,onSys.pulseStart) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (8): * Single equations (assignments): 8 * 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.0001335/1.313, allocations: 105 kB / 1.016 GB, free: 4.363 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.707e-05/1.313, allocations: 7.906 kB / 1.016 GB, free: 4.355 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.324e-05/1.313, allocations: 7 kB / 1.016 GB, free: 4.348 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.009e-05/1.313, allocations: 2.375 kB / 1.016 GB, free: 4.348 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.605e-06/1.313, allocations: 7.938 kB / 1.016 GB, free: 4.34 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.262e-06/1.313, allocations: 0 / 1.016 GB, free: 4.34 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003602/1.313, allocations: 172.6 kB / 1.016 GB, free: 4.145 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.008e-06/1.313, allocations: 0 / 1.016 GB, free: 4.145 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001695/1.313, allocations: 15.67 kB / 1.016 GB, free: 4.133 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.119e-06/1.313, allocations: 0 / 1.016 GB, free: 4.133 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.658e-05/1.313, allocations: 0 / 1.016 GB, free: 4.133 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.256e-06/1.314, allocations: 0 / 1.016 GB, free: 4.133 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.783e-06/1.314, allocations: 7.938 kB / 1.016 GB, free: 4.125 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002864/1.314, allocations: 87.03 kB / 1.016 GB, free: 4.031 MB / 0.6355 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0004687/1.314, allocations: 468 kB / 1.017 GB, free: 3.566 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 8.783e-05/1.314, allocations: 84.95 kB / 1.017 GB, free: 3.465 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.813e-05/1.314, allocations: 3.984 kB / 1.017 GB, free: 3.461 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003113/1.315, allocations: 23.98 kB / 1.017 GB, free: 3.438 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001102/1.315, allocations: 23.45 kB / 1.017 GB, free: 3.418 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.845e-05/1.315, allocations: 192 / 1.017 GB, free: 3.418 MB / 0.6355 GB Notification: Performance of sort global known variables: time 0.0001154/1.315, allocations: 95.12 kB / 1.017 GB, free: 3.328 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.002522/1.318, allocations: 12 kB / 1.017 GB, free: 3.316 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: 5 ($whenCondition1,conEquSta.onSys,conEquSta.onBoi,conEquSta.hys.y,onSys.pulseStart) * Number of discrete states: 1 (conEquSta.hys.y) * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0002801/1.318, allocations: 107.8 kB / 1.017 GB, free: 3.207 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0003801/1.318, allocations: 45.94 kB / 1.017 GB, free: 3.176 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 4.719e-06/1.318, allocations: 0 / 1.017 GB, free: 3.176 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0001741/1.319, allocations: 19.88 kB / 1.017 GB, free: 3.16 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000531/1.319, allocations: 17.73 kB / 1.017 GB, free: 3.148 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007809/1.32, allocations: 110.2 kB / 1.017 GB, free: 3.023 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006309/1.321, allocations: 0.7074 MB / 1.018 GB, free: 2.293 MB / 0.6355 GB Notification: Performance of SimCode: time 2.205e-06/1.321, allocations: 0 / 1.018 GB, free: 2.293 MB / 0.6355 GB