Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Controls.OBC.ASHRAE.G36_PR1.Generic.SetPoints.Validation.ZoneStatus.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.Controls.OBC.ASHRAE.G36_PR1.Generic.SetPoints.Validation.ZoneStatus,fileNamePrefix="Buildings_7_0_0_Buildings_Controls_OBC_ASHRAE_G36_PR1_Generic_SetPoints_Validation_ZoneStatus",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.29/2.29, 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.001978/0.001978, allocations: 186.7 kB / 315.1 MB, free: 4.289 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.004/2.004, allocations: 205.1 MB / 0.5658 GB, free: 324 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.001859/0.001858, allocations: 95.08 kB / 0.67 GB, free: 5.523 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.4845/0.4864, allocations: 112.4 MB / 0.7798 GB, free: 103.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2292/0.7156, allocations: 106.2 MB / 0.8835 GB, free: 13.32 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7015/1.417, allocations: 134 MB / 1.014 GB, free: 6.23 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002689/1.418, allocations: 70.58 kB / 1.014 GB, free: 6.191 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: 155 * Number of variables: 155 Notification: Performance of Generate backend data structure: time 0.04808/1.466, allocations: 9.428 MB / 1.024 GB, free: 14.02 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 6.532e-05/1.466, allocations: 12 kB / 1.024 GB, free: 14 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005176/1.466, allocations: 79.06 kB / 1.024 GB, free: 13.93 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001211/1.467, allocations: 384.2 kB / 1.024 GB, free: 13.57 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.563e-05/1.468, allocations: 28 kB / 1.024 GB, free: 13.54 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002104/1.468, allocations: 40 kB / 1.024 GB, free: 13.5 MB / 0.6511 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001969/1.47, allocations: 368.8 kB / 1.025 GB, free: 13.29 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002013/1.472, allocations: 424.9 kB / 1.025 GB, free: 12.98 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.733e-05/1.472, allocations: 0 / 1.025 GB, free: 12.98 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000107/1.472, allocations: 3.938 kB / 1.025 GB, free: 12.98 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.953e-05/1.472, allocations: 16 kB / 1.025 GB, free: 12.96 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007787/1.48, allocations: 1.524 MB / 1.026 GB, free: 11.73 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001923/1.482, allocations: 363.2 kB / 1.027 GB, free: 11.48 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006795/1.483, allocations: 125.1 kB / 1.027 GB, free: 11.41 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 9.252e-05/1.483, allocations: 8 kB / 1.027 GB, free: 11.4 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001076/1.484, allocations: 265.7 kB / 1.027 GB, free: 11.18 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=45): time 7.715e-06/1.484, allocations: 0 / 1.027 GB, free: 11.18 MB / 0.6511 GB Notification: Performance of matching and sorting (n=45): time 0.00171/1.486, allocations: 323.6 kB / 1.027 GB, free: 10.94 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001337/1.486, allocations: 162.4 kB / 1.028 GB, free: 10.74 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000812/1.487, allocations: 289.4 kB / 1.028 GB, free: 10.51 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 0.0002757/1.487, allocations: 40.89 kB / 1.028 GB, free: 10.47 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004605/1.488, allocations: 256 kB / 1.028 GB, free: 10.24 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003243/1.488, allocations: 139.2 kB / 1.028 GB, free: 10.12 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.906e-05/1.488, allocations: 0 / 1.028 GB, free: 10.12 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0002636/1.488, allocations: 352.4 kB / 1.029 GB, free: 9.789 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007722/1.489, allocations: 146.8 kB / 1.029 GB, free: 9.711 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009707/1.49, allocations: 270.6 kB / 1.029 GB, free: 9.469 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005913/1.491, allocations: 116.9 kB / 1.029 GB, free: 9.398 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.873e-06/1.491, allocations: 4 kB / 1.029 GB, free: 9.395 MB / 0.6511 GB Notification: Performance of matching and sorting (n=59) (initialization): time 0.00188/1.493, allocations: 390.6 kB / 1.03 GB, free: 9.105 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 2.974e-05/1.493, allocations: 4 kB / 1.03 GB, free: 9.102 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.508e-05/1.493, allocations: 4 kB / 1.03 GB, free: 9.098 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.274e-05/1.493, allocations: 4 kB / 1.03 GB, free: 9.094 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001284/1.494, allocations: 91.09 kB / 1.03 GB, free: 9.008 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.691e-05/1.494, allocations: 4 kB / 1.03 GB, free: 9.004 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001982/1.496, allocations: 171.6 kB / 1.03 GB, free: 8.836 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001494/1.496, allocations: 14.94 kB / 1.03 GB, free: 8.828 MB / 0.6511 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 28 ($PRE.noWinZonSta.hys1.y,noWinZonSta.hys1.y,$PRE.noWinZonSta.hys4.y,noWinZonSta.hys4.y,$PRE.witWinZonSta.hys1.y,witWinZonSta.hys1.y,$PRE.witWinZonSta.hys4.y,witWinZonSta.hys4.y,$PRE.noWinZonSta.hys.y,noWinZonSta.hys.y,$PRE.noWinZonSta.hys3.y,noWinZonSta.hys3.y,$PRE.witWinZonSta.hys.y,witWinZonSta.hys.y,$PRE.witWinZonSta.hys3.y,witWinZonSta.hys3.y,$whenCondition1,$PRE.noWinZonSta.hys2.y,noWinZonSta.hys2.y,$PRE.noWinZonSta.hys5.y,noWinZonSta.hys5.y,$PRE.witWinZonSta.hys2.y,witWinZonSta.hys2.y,$PRE.witWinZonSta.hys5.y,witWinZonSta.hys5.y,uWinSta.y,$PRE.uWinSta.pulseStart,uWinSta.pulseStart) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (59): * Single equations (assignments): 59 * 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.0003409/1.497, allocations: 127.5 kB / 1.03 GB, free: 8.699 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002257/1.497, allocations: 43.44 kB / 1.03 GB, free: 8.656 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001722/1.499, allocations: 356.5 kB / 1.03 GB, free: 8.41 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.073e-05/1.499, allocations: 7.984 kB / 1.03 GB, free: 8.402 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.547e-05/1.499, allocations: 4 kB / 1.03 GB, free: 8.398 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.232e-05/1.499, allocations: 0 / 1.03 GB, free: 8.398 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001808/1.501, allocations: 0.7129 MB / 1.031 GB, free: 7.762 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.471e-05/1.501, allocations: 4 kB / 1.031 GB, free: 7.758 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00123/1.502, allocations: 79.58 kB / 1.031 GB, free: 7.684 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.658e-05/1.502, allocations: 4 kB / 1.031 GB, free: 7.68 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001044/1.502, allocations: 7.984 kB / 1.031 GB, free: 7.672 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.412e-05/1.502, allocations: 11.91 kB / 1.031 GB, free: 7.66 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.851e-06/1.502, allocations: 0 / 1.031 GB, free: 7.66 MB / 0.6511 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001551/1.504, allocations: 427.6 kB / 1.032 GB, free: 7.277 MB / 0.6511 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001694/1.505, allocations: 0.7959 MB / 1.032 GB, free: 6.512 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002282/1.506, allocations: 124 kB / 1.032 GB, free: 6.375 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002527/1.506, allocations: 18.62 kB / 1.032 GB, free: 6.363 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001704/1.508, allocations: 99.92 kB / 1.033 GB, free: 6.266 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006654/1.508, allocations: 113.7 kB / 1.033 GB, free: 6.168 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001054/1.509, allocations: 19.48 kB / 1.033 GB, free: 6.152 MB / 0.6511 GB Notification: Performance of sort global known variables: time 0.0005668/1.509, allocations: 214 kB / 1.033 GB, free: 5.992 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.002433/1.512, allocations: 115.5 kB / 1.033 GB, free: 5.879 MB / 0.6511 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 15 ($whenCondition1,noWinZonSta.hys2.y,noWinZonSta.hys5.y,witWinZonSta.hys2.y,witWinZonSta.hys5.y,uWinSta.y,uWinSta.pulseStart,noWinZonSta.hys.y,noWinZonSta.hys3.y,witWinZonSta.hys.y,witWinZonSta.hys3.y,noWinZonSta.hys1.y,noWinZonSta.hys4.y,witWinZonSta.hys1.y,witWinZonSta.hys4.y) * Number of discrete states: 12 (witWinZonSta.hys4.y,witWinZonSta.hys1.y,noWinZonSta.hys4.y,noWinZonSta.hys1.y,witWinZonSta.hys3.y,witWinZonSta.hys.y,noWinZonSta.hys3.y,noWinZonSta.hys.y,witWinZonSta.hys5.y,witWinZonSta.hys2.y,noWinZonSta.hys5.y,noWinZonSta.hys2.y) * Top-level inputs: 0 Notification: Strong component statistics for simulation (45): * Single equations (assignments): 44 * 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.0004492/1.512, allocations: 119 kB / 1.033 GB, free: 5.758 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.001737/1.514, allocations: 341.6 kB / 1.033 GB, free: 5.543 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 8.406e-06/1.514, allocations: 0 / 1.033 GB, free: 5.543 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.001248/1.515, allocations: 229.4 kB / 1.034 GB, free: 5.402 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009216/1.516, allocations: 45.89 kB / 1.034 GB, free: 5.371 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003693/1.52, allocations: 0.6376 MB / 1.034 GB, free: 4.75 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001511/1.522, allocations: 0.936 MB / 1.035 GB, free: 3.785 MB / 0.6511 GB Notification: Performance of SimCode: time 2.885e-06/1.522, allocations: 0 / 1.035 GB, free: 3.785 MB / 0.6511 GB