Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Controls.OBC.ASHRAE.G36_PR1.TerminalUnits.SetPoints.Validation.ZoneTemperatures.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.TerminalUnits.SetPoints.Validation.ZoneTemperatures,fileNamePrefix="Buildings_7_0_0_Buildings_Controls_OBC_ASHRAE_G36_PR1_TerminalUnits_SetPoints_Validation_ZoneTemperatures",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.279/2.279, allocations: 248.6 MB / 255.9 MB, free: 7.105 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.001662/0.001662, allocations: 184 kB / 315.1 MB, free: 4.254 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.008/2.008, allocations: 205.1 MB / 0.5658 GB, free: 284 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.001308/0.001307, allocations: 91.25 kB / 0.67 GB, free: 5.492 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.493/0.4943, allocations: 112.4 MB / 0.7798 GB, free: 103.6 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2416/0.736, allocations: 106.2 MB / 0.8835 GB, free: 13.3 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7/1.436, allocations: 140.5 MB / 1.021 GB, free: 15.91 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002806/1.436, allocations: 76.27 kB / 1.021 GB, free: 15.88 MB / 0.6511 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 400 * Number of variables: 400 Notification: Performance of Generate backend data structure: time 0.08539/1.522, allocations: 21.81 MB / 1.042 GB, free: 13.53 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 5.197e-05/1.522, allocations: 15.98 kB / 1.042 GB, free: 13.52 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006931/1.523, allocations: 169.9 kB / 1.042 GB, free: 13.35 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00179/1.524, allocations: 0.6643 MB / 1.043 GB, free: 12.79 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001428/1.525, allocations: 67.17 kB / 1.043 GB, free: 12.73 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000336/1.525, allocations: 96 kB / 1.043 GB, free: 12.64 MB / 0.6667 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003472/1.528, allocations: 0.9536 MB / 1.044 GB, free: 12.07 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00385/1.532, allocations: 1.213 MB / 1.045 GB, free: 11.18 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.109e-05/1.532, allocations: 0 / 1.045 GB, free: 11.18 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001663/1.533, allocations: 7.984 kB / 1.045 GB, free: 11.17 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.646e-05/1.533, allocations: 36 kB / 1.045 GB, free: 11.14 MB / 0.6667 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01191/1.545, allocations: 4.437 MB / 1.05 GB, free: 7.727 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002394/1.547, allocations: 0.7448 MB / 1.05 GB, free: 7.246 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000937/1.548, allocations: 331.3 kB / 1.051 GB, free: 7.059 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 7.778e-05/1.548, allocations: 8.781 kB / 1.051 GB, free: 7.047 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001144/1.549, allocations: 429.1 kB / 1.051 GB, free: 6.75 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=106): time 3.597e-06/1.549, allocations: 0 / 1.051 GB, free: 6.75 MB / 0.6667 GB Notification: Performance of matching and sorting (n=106): time 0.002105/1.551, allocations: 0.6985 MB / 1.052 GB, free: 6.238 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.564e-05/1.552, allocations: 79.62 kB / 1.052 GB, free: 6.152 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001228/1.553, allocations: 0.5743 MB / 1.052 GB, free: 5.727 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 0.0002365/1.553, allocations: 37.39 kB / 1.052 GB, free: 5.688 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005932/1.554, allocations: 0.5137 MB / 1.053 GB, free: 5.227 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004162/1.554, allocations: 278.3 kB / 1.053 GB, free: 4.992 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.722e-05/1.554, allocations: 4 kB / 1.053 GB, free: 4.988 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.0002238/1.554, allocations: 396.5 kB / 1.053 GB, free: 4.629 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009877/1.555, allocations: 312.5 kB / 1.054 GB, free: 4.457 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00116/1.557, allocations: 0.5009 MB / 1.054 GB, free: 4.047 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001053/1.558, allocations: 323.4 kB / 1.055 GB, free: 3.844 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.122e-05/1.558, allocations: 4 kB / 1.055 GB, free: 3.84 MB / 0.6667 GB Notification: Performance of matching and sorting (n=159) (initialization): time 0.002653/1.56, allocations: 0.9047 MB / 1.055 GB, free: 3.164 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 0.0007887/1.561, allocations: 1.916 MB / 1.057 GB, free: 1.133 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.24e-05/1.561, allocations: 4 kB / 1.057 GB, free: 1.129 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.07e-05/1.561, allocations: 15.91 kB / 1.057 GB, free: 1.113 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001618/1.563, allocations: 189.8 kB / 1.058 GB, free: 0.9375 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.627e-05/1.563, allocations: 19.92 kB / 1.058 GB, free: 0.918 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00125/1.564, allocations: 127.3 kB / 1.058 GB, free: 0.793 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001303/1.564, allocations: 42.5 kB / 1.058 GB, free: 0.7617 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 1.318e-05/1.564, allocations: 4 kB / 1.058 GB, free: 0.7578 MB / 0.6667 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002298/1.567, allocations: 0.7754 MB / 1.058 GB, free: 216 kB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.598e-05/1.567, allocations: 4 kB / 1.058 GB, free: 212 kB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.466e-05/1.567, allocations: 12 kB / 1.059 GB, free: 200 kB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001389/1.568, allocations: 182.8 kB / 1.059 GB, free: 28 kB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.932e-05/1.568, allocations: 12 kB / 1.059 GB, free: 16 kB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001276/1.57, allocations: 99.38 kB / 1.059 GB, free: 15.92 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001862/1.57, allocations: 42.44 kB / 1.059 GB, free: 15.89 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * Number of states: 0 () * Number of discrete variables: 90 ($PRE.TZonSet.truHol.onDelay.u,$PRE.TZonSet.truHol.toOutputTrue.enableFire,$PRE.TZonSet.truHol.toInitial.enableFire,$PRE.TZonSet.tim.yAcc,TZonSet.tim.yAcc,$whenCondition4,$PRE.TZonSet.truHol.onDelay.t_next,$whenCondition2,$whenCondition1,TZonSet.truHol.onDelay.t_next,TZonSet.truHol.stateGraphRoot.resume,TZonSet.truHol.stateGraphRoot.suspend,TZonSet.winSenCon.y,TZonSet.have_occSenCon.y,TZonSet.heaSetAdjCon.y,TZonSet.cooSetAdjCon.y,$whenCondition10,$whenCondition9,$whenCondition7,$whenCondition8,$whenCondition5,$whenCondition6,$whenCondition3,TZonSet.uOpeMod,TZonSet.yAla,$PRE.TZonSet.cooSetFre.y,TZonSet.cooSetFre.y,TZonSet.cooSetFre.trigger,TZonSet.or5.y,$PRE.TZonSet.heaSetFre.y,TZonSet.heaSetFre.y,TZonSet.tim.u,$PRE.TZonSet.tim.entryTime,TZonSet.tim.entryTime,TZonSet.truHol.stateGraphRoot.activeSteps,TZonSet.truHol.onDelay.u,TZonSet.truHol.onDelay.y,$PRE.TZonSet.truHol.initialStep.localActive,TZonSet.truHol.initialStep.localActive,$PRE.TZonSet.truHol.initialStep.newActive,TZonSet.truHol.initialStep.newActive,$PRE.TZonSet.truHol.initialStep.oldActive,TZonSet.truHol.initialStep.oldActive,TZonSet.truHol.initialStep.active,$PRE.TZonSet.truHol.outputTrue.localActive,TZonSet.truHol.outputTrue.localActive,$PRE.TZonSet.truHol.outputTrue.newActive,TZonSet.truHol.outputTrue.newActive,$PRE.TZonSet.truHol.outputTrue.oldActive,TZonSet.truHol.outputTrue.oldActive,TZonSet.truHol.outputTrue.active,TZonSet.truHol.toOutputTrue.enableFire,TZonSet.truHol.toInitial.enableFire,$PRE.TZonSet.edg1.u,TZonSet.edg1.u,$PRE.TZonSet.cooSetSam.y,TZonSet.cooSetSam.y,TZonSet.cooSetSam.trigger,$PRE.TZonSet.heaSetSam.y,TZonSet.heaSetSam.y,TZonSet.greThr.y,TZonSet.intEqu.y,TZonSet.intEqu1.y,TZonSet.or3.y,TZonSet.and11.u1,TZonSet.and11.y,TZonSet.lesEqu.y,TZonSet.greEqu1.y,TZonSet.greEqu2.y,TZonSet.uOccSen,TZonSet.uWinSta,booToInt.u,$PRE.winSta.pulseStart,winSta.pulseStart,$PRE.occSta.pulseStart,occSta.pulseStart,$PRE.TZonSet.edg.u,TZonSet.edg.u,TZonSet.not1.y,TZonSet.not2.y,TZonSet.or1.u3,TZonSet.or1.u2,TZonSet.or1.u1,TZonSet.or2.u2,TZonSet.or2.u1,TZonSet.or4.u1,TZonSet.or4.u3,TZonSet.or4.u2,$PRE.TZonSet.tim.reset_internal,TZonSet.tim.reset_internal) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (159): * Single equations (assignments): 159 * 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.0004558/1.57, allocations: 184.1 kB / 1.059 GB, free: 15.7 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002658/1.571, allocations: 86.88 kB / 1.059 GB, free: 15.61 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002654/1.573, allocations: 0.7539 MB / 1.06 GB, free: 15.1 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.797e-05/1.573, allocations: 15.94 kB / 1.06 GB, free: 15.08 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.118e-06/1.573, allocations: 0 / 1.06 GB, free: 15.08 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.763e-05/1.573, allocations: 3.984 kB / 1.06 GB, free: 15.08 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005427/1.579, allocations: 1.97 MB / 1.062 GB, free: 13.66 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.859e-06/1.579, allocations: 0 / 1.062 GB, free: 13.66 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001172/1.58, allocations: 142.8 kB / 1.062 GB, free: 13.53 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.98e-05/1.58, allocations: 4 kB / 1.062 GB, free: 13.53 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.738e-05/1.58, allocations: 7.984 kB / 1.062 GB, free: 13.52 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.035e-05/1.58, allocations: 4 kB / 1.062 GB, free: 13.52 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.503e-06/1.58, allocations: 4 kB / 1.062 GB, free: 13.51 MB / 0.6823 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.00235/1.582, allocations: 0.8954 MB / 1.063 GB, free: 12.79 MB / 0.6823 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.002368/1.585, allocations: 1.269 MB / 1.064 GB, free: 11.68 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000294/1.585, allocations: 167.1 kB / 1.064 GB, free: 11.51 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002985/1.586, allocations: 18.86 kB / 1.064 GB, free: 11.49 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001494/1.587, allocations: 67.94 kB / 1.064 GB, free: 11.43 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004482/1.588, allocations: 101.2 kB / 1.064 GB, free: 11.35 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001313/1.588, allocations: 35.05 kB / 1.064 GB, free: 11.32 MB / 0.6823 GB Notification: Performance of sort global known variables: time 0.0009603/1.589, allocations: 367.8 kB / 1.065 GB, free: 11.06 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.003918/1.593, allocations: 437.5 kB / 1.065 GB, free: 10.63 MB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 53 (TZonSet.cooSetFre.trigger,TZonSet.truHol.initialStep.localActive,TZonSet.truHol.outputTrue.active,TZonSet.truHol.onDelay.u,TZonSet.cooSetSam.trigger,TZonSet.truHol.outputTrue.localActive,TZonSet.tim.u,$cse1,$cse2,$whenCondition10,$whenCondition9,$whenCondition7,$whenCondition8,$whenCondition4,$whenCondition5,$whenCondition6,$whenCondition3,$whenCondition2,$whenCondition1,TZonSet.uOpeMod,TZonSet.yAla,TZonSet.cooSetFre.y,TZonSet.heaSetFre.y,TZonSet.tim.entryTime,TZonSet.tim.yAcc,TZonSet.truHol.stateGraphRoot.activeSteps,TZonSet.truHol.onDelay.y,TZonSet.truHol.onDelay.t_next,TZonSet.truHol.initialStep.newActive,TZonSet.truHol.initialStep.oldActive,TZonSet.truHol.initialStep.active,TZonSet.truHol.outputTrue.newActive,TZonSet.truHol.outputTrue.oldActive,TZonSet.truHol.toOutputTrue.enableFire,TZonSet.truHol.toInitial.enableFire,TZonSet.edg1.u,TZonSet.cooSetSam.y,TZonSet.heaSetSam.y,TZonSet.greThr.y,TZonSet.intEqu.y,TZonSet.intEqu1.y,TZonSet.or3.y,TZonSet.and11.u1,TZonSet.and11.y,TZonSet.lesEqu.y,TZonSet.greEqu1.y,TZonSet.greEqu2.y,TZonSet.uOccSen,TZonSet.uWinSta,booToInt.u,winSta.pulseStart,occSta.pulseStart,TZonSet.or5.y) * Number of discrete states: 5 (TZonSet.truHol.onDelay.t_next,TZonSet.tim.y,TZonSet.truHol.outputTrue.newActive,TZonSet.edg1.u,TZonSet.truHol.initialStep.newActive) * Top-level inputs: 0 Notification: Strong component statistics for simulation (108): * Single equations (assignments): 96 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 12 * 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.0005072/1.593, allocations: 159.5 kB / 1.065 GB, free: 10.47 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.004206/1.597, allocations: 1.349 MB / 1.067 GB, free: 9.574 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 7.424e-06/1.597, allocations: 0.5625 kB / 1.067 GB, free: 9.574 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.001364/1.599, allocations: 464.1 kB / 1.067 GB, free: 9.266 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007703/1.6, allocations: 57.81 kB / 1.067 GB, free: 9.234 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005746/1.605, allocations: 1.451 MB / 1.069 GB, free: 7.945 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001753/1.607, allocations: 1.231 MB / 1.07 GB, free: 6.688 MB / 0.6823 GB Notification: Performance of SimCode: time 1.432e-06/1.607, allocations: 0 / 1.07 GB, free: 6.688 MB / 0.6823 GB