Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.MultiZone.VAV.Validation.Controller.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) 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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.MultiZone.VAV.Validation.Controller,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Controls_OBC_ASHRAE_G36_PR1_AHUs_MultiZone_VAV_Validation_Controller",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.MultiZone.VAV.Validation.Controller,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Controls_OBC_ASHRAE_G36_PR1_AHUs_MultiZone_VAV_Validation_Controller",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 8.0.1-maint.8.0.x/package.mo): time 1.312/1.312, allocations: 285.5 MB / 292.8 MB, free: 10.42 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001041/0.001041, allocations: 185.3 kB / 361.1 MB, free: 7.086 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.026/1.026, allocations: 205.1 MB / 0.6195 GB, free: 10.4 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007573/0.0007575, allocations: 96.19 kB / 0.7326 GB, free: 44.24 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.1792/0.18, allocations: 121.5 MB / 0.8512 GB, free: 2.836 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4102/0.5902, allocations: 115.3 MB / 0.9638 GB, free: 78.19 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1514/0.7416, allocations: 154.7 MB / 1.115 GB, free: 1.23 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000221/0.7419, allocations: 80.92 kB / 1.115 GB, free: 1.152 MB / 0.7136 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 943 * Number of variables: 943 Notification: Performance of Generate backend data structure: time 0.1549/0.8967, allocations: 75.25 MB / 1.188 GB, free: 6.102 MB / 0.7917 GB Notification: Performance of prepare preOptimizeDAE: time 3.77e-05/0.8968, allocations: 9.906 kB / 1.188 GB, free: 6.094 MB / 0.7917 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001261/0.8981, allocations: 486.3 kB / 1.189 GB, free: 5.613 MB / 0.7917 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004339/0.9024, allocations: 2.342 MB / 1.191 GB, free: 3.199 MB / 0.7917 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002437/0.9027, allocations: 217 kB / 1.191 GB, free: 2.98 MB / 0.7917 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006765/0.9034, allocations: 248 kB / 1.192 GB, free: 2.738 MB / 0.7917 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.006179/0.9095, allocations: 2.737 MB / 1.194 GB, free: 0 / 0.7917 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006917/0.9165, allocations: 3.328 MB / 1.198 GB, free: 12.6 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.702e-05/0.9166, allocations: 0 / 1.198 GB, free: 12.6 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003053/0.9169, allocations: 23.97 kB / 1.198 GB, free: 12.58 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.837e-05/0.9169, allocations: 92 kB / 1.198 GB, free: 12.49 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01958/0.9365, allocations: 12.88 MB / 1.21 GB, free: 15.48 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005288/0.9419, allocations: 2.998 MB / 1.213 GB, free: 12.44 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001801/0.9437, allocations: 1.124 MB / 1.214 GB, free: 11.32 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001277/0.9438, allocations: 45.95 kB / 1.214 GB, free: 11.28 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002442/0.9463, allocations: 1.47 MB / 1.216 GB, free: 9.734 MB / 0.823 GB Notification: Performance of pre-optimization done (n=275): time 4.749e-06/0.9463, allocations: 0 / 1.216 GB, free: 9.734 MB / 0.823 GB Notification: Performance of matching and sorting (n=275): time 0.004213/0.9505, allocations: 2.267 MB / 1.218 GB, free: 7.422 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002228/0.9508, allocations: 491 kB / 1.218 GB, free: 6.836 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003056/0.9538, allocations: 1.765 MB / 1.22 GB, free: 5.047 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 0.000339/0.9542, allocations: 76.44 kB / 1.22 GB, free: 4.969 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 0.00111/0.9553, allocations: 1.149 MB / 1.221 GB, free: 3.801 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006864/0.956, allocations: 0.7393 MB / 1.222 GB, free: 3.051 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001872/0.9562, allocations: 4 kB / 1.222 GB, free: 3.047 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 0.0002037/0.9564, allocations: 420.2 kB / 1.222 GB, free: 2.629 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001793/0.9582, allocations: 0.9706 MB / 1.223 GB, free: 1.656 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002219/0.9604, allocations: 1.581 MB / 1.225 GB, free: 15.83 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00237/0.9628, allocations: 1.127 MB / 1.226 GB, free: 14.69 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.039e-05/0.9628, allocations: 4 kB / 1.226 GB, free: 14.68 MB / 0.8386 GB Notification: Performance of matching and sorting (n=378) (initialization): time 0.005148/0.968, allocations: 2.79 MB / 1.229 GB, free: 11.85 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 0.001602/0.9696, allocations: 5.479 MB / 1.234 GB, free: 5.828 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.407e-05/0.9696, allocations: 16 kB / 1.234 GB, free: 5.812 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.271e-05/0.9697, allocations: 28 kB / 1.234 GB, free: 5.785 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002105/0.9718, allocations: 0.5264 MB / 1.235 GB, free: 5.258 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.936e-05/0.9719, allocations: 39.92 kB / 1.235 GB, free: 5.219 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002638/0.9745, allocations: 446 kB / 1.235 GB, free: 4.781 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003711/0.9749, allocations: 124 kB / 1.235 GB, free: 4.66 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.111e-05/0.9749, allocations: 4 kB / 1.235 GB, free: 4.656 MB / 0.8386 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004918/0.9798, allocations: 2.437 MB / 1.238 GB, free: 2.188 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.661e-05/0.9799, allocations: 12 kB / 1.238 GB, free: 2.176 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.082e-05/0.9799, allocations: 28 kB / 1.238 GB, free: 2.148 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001906/0.9818, allocations: 0.4913 MB / 1.238 GB, free: 1.656 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.624e-05/0.9819, allocations: 35.92 kB / 1.238 GB, free: 1.621 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002271/0.9842, allocations: 378.3 kB / 1.239 GB, free: 1.25 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002328/0.9844, allocations: 120 kB / 1.239 GB, free: 1.133 MB / 0.8386 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 59 * Number of states: 0 () * Number of discrete variables: 167 ($PRE.conAHU.supFan.staPreSetRes.tim.u,$PRE.conAHU.supTemSetPoi.maxSupTemRes.tim.u,$PRE.conAHU.eco.enaDis.truFalHol.onDel1.u,$PRE.conAHU.eco.enaDis.truFalHol.onDel2.u,$PRE.conAHU.eco.enaDis.truFalHol.toTrue.enableFire,$PRE.conAHU.eco.enaDis.truFalHol.toFalse.enableFire,$PRE.conAHU.eco.enaDis.truFalHol.toTrue1.enableFire,$PRE.conAHU.eco.enaDis.truFalHol.toFalse1.enableFire,$PRE.conAHU.eco.enaDis.delOutDamOsc.u,$PRE.conAHU.eco.enaDis.delRetDam.u,$PRE.conAHU.supTemSetPoi.maxSupTemRes.sampler.firstTrigger,conAHU.supTemSetPoi.maxSupTemRes.sampler.firstTrigger,$PRE.conAHU.supFan.firOrdHol.firstTrigger,conAHU.supFan.firOrdHol.firstTrigger,$PRE.conAHU.supFan.staPreSetRes.sampler.firstTrigger,conAHU.supFan.staPreSetRes.sampler.firstTrigger,$whenCondition29,$whenCondition27,$whenCondition28,$whenCondition25,$whenCondition26,$whenCondition21,$PRE.conAHU.eco.enaDis.delRetDam.t_next,$whenCondition18,$PRE.conAHU.eco.enaDis.delOutDamOsc.t_next,$whenCondition15,$PRE.conAHU.eco.enaDis.truFalHol.onDel2.t_next,$whenCondition12,$PRE.conAHU.eco.enaDis.truFalHol.onDel1.t_next,$whenCondition7,$PRE.conAHU.supTemSetPoi.maxSupTemRes.tim.t_next,$whenCondition1,$PRE.conAHU.supFan.staPreSetRes.tim.t_next,$whenCondition4,conAHU.supFan.staPreSetRes.uniDel.sampleTrigger,$whenCondition5,conAHU.supFan.staPreSetRes.sampler.sampleTrigger,$whenCondition6,conAHU.supFan.firOrdHol.sampleTrigger,$whenCondition10,conAHU.supTemSetPoi.maxSupTemRes.uniDel.sampleTrigger,$whenCondition11,conAHU.supTemSetPoi.maxSupTemRes.sampler.sampleTrigger,conAHU.eco.enaDis.delRetDam.t_next,conAHU.eco.enaDis.delOutDamOsc.t_next,conAHU.eco.enaDis.truFalHol.onDel2.t_next,conAHU.eco.enaDis.truFalHol.onDel1.t_next,conAHU.supTemSetPoi.maxSupTemRes.tim.t_next,conAHU.supFan.staPreSetRes.tim.t_next,conAHU.eco.enaDis.truFalHol.stateGraphRoot.resume,conAHU.eco.enaDis.truFalHol.stateGraphRoot.suspend,conAHU.supFan.staPreSetRes.lesThr1.y,conAHU.supFan.staPreSetRes.greThr2.y,conAHU.supTemSetPoi.maxSupTemRes.lesThr1.y,conAHU.supTemSetPoi.maxSupTemRes.greThr2.y,$whenCondition24,$whenCondition22,$whenCondition23,$whenCondition19,$whenCondition20,$whenCondition16,$whenCondition17,$whenCondition13,$whenCondition14,$whenCondition8,$whenCondition9,$whenCondition2,$whenCondition3,conAHU.uZonTemResReq,conAHU.uZonPreResReq,conAHU.yReqOutAir,conAHU.supFan.staPreSetRes.tim.u,conAHU.supFan.staPreSetRes.tim.y,conAHU.supFan.staPreSetRes.greThr.y,conAHU.supFan.staPreSetRes.netRes.u2,$PRE.conAHU.supFan.staPreSetRes.uniDel.y,conAHU.supFan.staPreSetRes.uniDel.y,conAHU.supFan.staPreSetRes.sampler.y,conAHU.supFan.or1.u1,conAHU.supFan.or1.u2,$PRE.conAHU.supFan.firOrdHol.tSample,conAHU.supFan.firOrdHol.tSample,$PRE.conAHU.supFan.firOrdHol.uSample,conAHU.supFan.firOrdHol.uSample,$PRE.conAHU.supFan.firOrdHol.pre_uSample,conAHU.supFan.firOrdHol.pre_uSample,$PRE.conAHU.supFan.firOrdHol.c,conAHU.supFan.firOrdHol.c,conAHU.supTemSetPoi.maxSupTemRes.tim.u,conAHU.supTemSetPoi.maxSupTemRes.tim.y,conAHU.supTemSetPoi.maxSupTemRes.greThr.y,conAHU.supTemSetPoi.maxSupTemRes.netRes.u2,$PRE.conAHU.supTemSetPoi.maxSupTemRes.uniDel.y,conAHU.supTemSetPoi.maxSupTemRes.uniDel.y,conAHU.supTemSetPoi.maxSupTemRes.sampler.y,conAHU.supTemSetPoi.and2.y,conAHU.supTemSetPoi.and1.y,$PRE.conAHU.sysOutAirSet.hys1.y,conAHU.sysOutAirSet.hys1.y,conAHU.eco.enaDis.truFalHol.u,conAHU.eco.enaDis.truFalHol.onDel1.u,conAHU.eco.enaDis.truFalHol.onDel1.y,conAHU.eco.enaDis.truFalHol.onDel2.u,conAHU.eco.enaDis.truFalHol.onDel2.y,conAHU.eco.enaDis.truFalHol.stateGraphRoot.activeSteps,$PRE.conAHU.eco.enaDis.truFalHol.outputFalse.localActive,conAHU.eco.enaDis.truFalHol.outputFalse.localActive,conAHU.eco.enaDis.truFalHol.outputFalse.inPort[2].occupied,$PRE.conAHU.eco.enaDis.truFalHol.outputFalse.newActive,conAHU.eco.enaDis.truFalHol.outputFalse.newActive,$PRE.conAHU.eco.enaDis.truFalHol.outputFalse.oldActive,conAHU.eco.enaDis.truFalHol.outputFalse.oldActive,conAHU.eco.enaDis.truFalHol.outputFalse.active,conAHU.eco.enaDis.truFalHol.toTrue.enableFire,$PRE.conAHU.eco.enaDis.truFalHol.outputTrue.localActive,conAHU.eco.enaDis.truFalHol.outputTrue.localActive,conAHU.eco.enaDis.truFalHol.outputTrue.inPort[2].occupied,$PRE.conAHU.eco.enaDis.truFalHol.outputTrue.newActive,conAHU.eco.enaDis.truFalHol.outputTrue.newActive,$PRE.conAHU.eco.enaDis.truFalHol.outputTrue.oldActive,conAHU.eco.enaDis.truFalHol.outputTrue.oldActive,conAHU.eco.enaDis.truFalHol.outputTrue.active,conAHU.eco.enaDis.truFalHol.toFalse.enableFire,conAHU.eco.enaDis.truFalHol.and2.y,conAHU.eco.enaDis.truFalHol.and1.y,$PRE.conAHU.eco.enaDis.truFalHol.initialStep.localActive,conAHU.eco.enaDis.truFalHol.initialStep.localActive,conAHU.eco.enaDis.truFalHol.initialStep.outPort[2].available,$PRE.conAHU.eco.enaDis.truFalHol.initialStep.newActive,conAHU.eco.enaDis.truFalHol.initialStep.newActive,$PRE.conAHU.eco.enaDis.truFalHol.initialStep.oldActive,conAHU.eco.enaDis.truFalHol.initialStep.oldActive,conAHU.eco.enaDis.truFalHol.initialStep.active,conAHU.eco.enaDis.truFalHol.toTrue1.enableFire,conAHU.eco.enaDis.truFalHol.toFalse1.enableFire,conAHU.eco.enaDis.andEnaDis.u1,$PRE.conAHU.eco.enaDis.hysOutTem.y,conAHU.eco.enaDis.hysOutTem.y,conAHU.eco.enaDis.and2.y,conAHU.eco.enaDis.and3.y,conAHU.eco.enaDis.delOutDamOsc.u,conAHU.eco.enaDis.delOutDamOsc.y,conAHU.eco.enaDis.delRetDam.u,conAHU.eco.enaDis.delRetDam.y,conAHU.eco.damLim.and2.y,conAHU.eco.damLim.and3.y,$PRE.conAHU.eco.movAve.mode,conAHU.eco.movAve.mode,$PRE.uncOutAir.booPul.y,uncOutAir.booPul.y,$PRE.uOutAirFra_max.booPul.y,uOutAirFra_max.booPul.y,conAHU.eco.damLim.and3.u2,conAHU.eco.damLim.and2.u2,conAHU.eco.enaDis.andEnaDis.u2,conAHU.sysOutAirSet.and1.u2,conAHU.supTemSetPoi.and1.u2,conAHU.supTemSetPoi.and1.u1,conAHU.supTemSetPoi.and2.u2,conAHU.supTemSetPoi.and2.u1,conAHU.supTemSetPoi.maxSupTemRes.greThr1.y,conAHU.supFan.intEqu4.y,conAHU.supFan.intEqu3.y,conAHU.supFan.intEqu2.y,conAHU.supFan.intEqu1.y,conAHU.supFan.intEqu.y,conAHU.supFan.staPreSetRes.greThr1.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (374): * Single equations (assignments): 372 * 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.000671/0.9851, allocations: 311.4 kB / 1.239 GB, free: 0.8125 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006675/0.9857, allocations: 280.5 kB / 1.239 GB, free: 0.5352 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004676/0.9904, allocations: 2.417 MB / 1.242 GB, free: 14.07 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.501e-05/0.9905, allocations: 28 kB / 1.242 GB, free: 14.04 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.233e-05/0.9905, allocations: 11.91 kB / 1.242 GB, free: 14.03 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.525e-05/0.9905, allocations: 13.45 kB / 1.242 GB, free: 14.02 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01157/1.002, allocations: 7.577 MB / 1.249 GB, free: 6.211 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.306e-05/1.002, allocations: 8 kB / 1.249 GB, free: 6.203 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001754/1.004, allocations: 423.9 kB / 1.249 GB, free: 5.789 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.893e-05/1.004, allocations: 16 kB / 1.249 GB, free: 5.773 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001808/1.004, allocations: 43.95 kB / 1.25 GB, free: 5.73 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.615e-05/1.004, allocations: 19.94 kB / 1.25 GB, free: 5.711 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.207e-06/1.004, allocations: 7.984 kB / 1.25 GB, free: 5.703 MB / 0.8542 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.006516/1.011, allocations: 4.678 MB / 1.254 GB, free: 0.6211 MB / 0.8542 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.3113/1.322, allocations: 6.583 MB / 1.261 GB, free: 166.3 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006108/1.323, allocations: 396.2 kB / 1.261 GB, free: 166.2 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004073/1.323, allocations: 43.48 kB / 1.261 GB, free: 166.2 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001572/1.325, allocations: 234.5 kB / 1.261 GB, free: 166.2 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004369/1.325, allocations: 274.6 kB / 1.261 GB, free: 166.2 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001765/1.325, allocations: 110.8 kB / 1.262 GB, free: 166.2 MB / 0.8542 GB Notification: Performance of sort global known variables: time 0.001561/1.327, allocations: 1.205 MB / 1.263 GB, free: 166.1 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.003656/1.331, allocations: 1.236 MB / 1.264 GB, free: 166.1 MB / 0.8542 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 28 * Number of states: 5 (conAHU.supFan.conSpe.I.y,conAHU.eco.damLim.damLimCon.I.y,conAHU.eco.movAve.mu,conAHU.eco.freProTMix.con.I.y,conAHU.val.conTSup.I.y) * Number of discrete variables: 116 (conAHU.eco.enaDis.delRetDam.u,conAHU.eco.enaDis.delOutDamOsc.u,conAHU.eco.enaDis.truFalHol.initialStep.active,conAHU.eco.enaDis.truFalHol.onDel2.u,conAHU.eco.enaDis.truFalHol.outputTrue.localActive,conAHU.eco.enaDis.truFalHol.outputTrue.active,conAHU.eco.enaDis.truFalHol.onDel1.u,conAHU.eco.enaDis.truFalHol.outputFalse.localActive,conAHU.eco.enaDis.truFalHol.outputFalse.active,conAHU.supTemSetPoi.maxSupTemRes.sampler.sampleTrigger,conAHU.supTemSetPoi.maxSupTemRes.uniDel.sampleTrigger,conAHU.supFan.firOrdHol.sampleTrigger,conAHU.supFan.staPreSetRes.sampler.sampleTrigger,conAHU.supFan.staPreSetRes.uniDel.sampleTrigger,$cse5,$cse6,$cse7,$cse8,$cse9,$whenCondition29,$whenCondition27,$whenCondition28,$whenCondition25,$whenCondition26,$whenCondition24,$whenCondition21,$whenCondition22,$whenCondition23,$whenCondition18,$whenCondition19,$whenCondition20,$whenCondition15,$whenCondition16,$whenCondition17,$whenCondition12,$whenCondition13,$whenCondition14,$whenCondition11,$whenCondition10,$whenCondition7,$whenCondition8,$whenCondition9,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition1,$whenCondition2,$whenCondition3,conAHU.uZonTemResReq,conAHU.uZonPreResReq,conAHU.supFan.staPreSetRes.tim.y,conAHU.supFan.staPreSetRes.tim.t_next,conAHU.supFan.staPreSetRes.greThr.y,conAHU.supFan.staPreSetRes.netRes.u2,conAHU.supFan.staPreSetRes.uniDel.y,conAHU.supFan.staPreSetRes.sampler.y,conAHU.supFan.staPreSetRes.sampler.firstTrigger,conAHU.supFan.firOrdHol.firstTrigger,conAHU.supFan.firOrdHol.tSample,conAHU.supFan.firOrdHol.uSample,conAHU.supFan.firOrdHol.pre_uSample,conAHU.supFan.firOrdHol.c,conAHU.supTemSetPoi.maxSupTemRes.tim.y,conAHU.supTemSetPoi.maxSupTemRes.tim.t_next,conAHU.supTemSetPoi.maxSupTemRes.greThr.y,conAHU.supTemSetPoi.maxSupTemRes.netRes.u2,conAHU.supTemSetPoi.maxSupTemRes.uniDel.y,conAHU.supTemSetPoi.maxSupTemRes.sampler.y,conAHU.supTemSetPoi.maxSupTemRes.sampler.firstTrigger,conAHU.sysOutAirSet.hys1.y,conAHU.eco.enaDis.truFalHol.u,conAHU.eco.enaDis.truFalHol.onDel1.y,conAHU.eco.enaDis.truFalHol.onDel1.t_next,conAHU.eco.enaDis.truFalHol.onDel2.y,conAHU.eco.enaDis.truFalHol.onDel2.t_next,conAHU.eco.enaDis.truFalHol.stateGraphRoot.activeSteps,conAHU.eco.enaDis.truFalHol.outputFalse.inPort[2].occupied,conAHU.eco.enaDis.truFalHol.outputFalse.newActive,conAHU.eco.enaDis.truFalHol.outputFalse.oldActive,conAHU.eco.enaDis.truFalHol.toTrue.enableFire,conAHU.eco.enaDis.truFalHol.outputTrue.inPort[2].occupied,conAHU.eco.enaDis.truFalHol.outputTrue.newActive,conAHU.eco.enaDis.truFalHol.outputTrue.oldActive,conAHU.eco.enaDis.truFalHol.toFalse.enableFire,conAHU.eco.enaDis.truFalHol.and2.y,conAHU.eco.enaDis.truFalHol.and1.y,conAHU.eco.enaDis.truFalHol.initialStep.localActive,conAHU.eco.enaDis.truFalHol.initialStep.outPort[2].available,conAHU.eco.enaDis.truFalHol.initialStep.newActive,conAHU.eco.enaDis.truFalHol.initialStep.oldActive,conAHU.eco.enaDis.truFalHol.toTrue1.enableFire,conAHU.eco.enaDis.truFalHol.toFalse1.enableFire,conAHU.eco.enaDis.andEnaDis.u1,conAHU.eco.enaDis.hysOutTem.y,conAHU.eco.enaDis.and2.y,conAHU.eco.enaDis.and3.y,conAHU.eco.enaDis.delOutDamOsc.y,conAHU.eco.enaDis.delOutDamOsc.t_next,conAHU.eco.enaDis.delRetDam.y,conAHU.eco.enaDis.delRetDam.t_next,conAHU.eco.movAve.mode,uncOutAir.booPul.y,uOutAirFra_max.booPul.y,conAHU.supFan.staPreSetRes.tim.u,conAHU.eco.damLim.and3.y,conAHU.eco.damLim.and2.y,conAHU.yReqOutAir,conAHU.supTemSetPoi.and1.y,conAHU.supTemSetPoi.and2.y,conAHU.supTemSetPoi.maxSupTemRes.tim.u,conAHU.supFan.or1.u2,conAHU.supFan.or1.u1,conAHU.supFan.staPreSetRes.lesThr1.y,conAHU.supFan.staPreSetRes.greThr2.y,conAHU.supTemSetPoi.maxSupTemRes.lesThr1.y,conAHU.supTemSetPoi.maxSupTemRes.greThr2.y) * Number of discrete states: 15 (conAHU.eco.enaDis.delRetDam.t_next,conAHU.eco.enaDis.delOutDamOsc.t_next,conAHU.eco.enaDis.truFalHol.onDel2.t_next,conAHU.eco.enaDis.truFalHol.onDel1.t_next,conAHU.supTemSetPoi.maxSupTemRes.tim.t_next,conAHU.supFan.staPreSetRes.tim.t_next,conAHU.eco.enaDis.truFalHol.outputFalse.newActive,conAHU.eco.enaDis.truFalHol.outputTrue.newActive,conAHU.eco.enaDis.truFalHol.initialStep.newActive,conAHU.eco.enaDis.hysOutTem.y,conAHU.sysOutAirSet.hys1.y,conAHU.supTemSetPoi.maxSupTemRes.uniDel.u,conAHU.supFan.firOrdHol.uSample,conAHU.supFan.firOrdHol.c,conAHU.supFan.staPreSetRes.uniDel.u) * Top-level inputs: 0 Notification: Strong component statistics for simulation (285): * Single equations (assignments): 256 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 29 * 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.0004317/1.331, allocations: 281.3 kB / 1.264 GB, free: 165.9 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.00543/1.336, allocations: 4.149 MB / 1.268 GB, free: 165.7 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 5.921e-06/1.336, allocations: 3.766 kB / 1.268 GB, free: 165.7 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.002268/1.339, allocations: 1.636 MB / 1.27 GB, free: 165.7 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002393/1.341, allocations: 0.5598 MB / 1.27 GB, free: 165.7 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008184/1.349, allocations: 4.739 MB / 1.275 GB, free: 164.3 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002019/1.351, allocations: 2.313 MB / 1.277 GB, free: 163.6 MB / 0.8542 GB Notification: Performance of SimCode: time 5.31e-07/1.351, allocations: 0 / 1.277 GB, free: 163.6 MB / 0.8542 GB Error: Error building simulator. Build log: make: Entering directory '/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_maint.8.0.x_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.MultiZone.VAV.Validation.Controller/Buildings_maint_8_0_x_Buildings_Controls_OBC_ASHRAE_G36_PR1_AHUs_MultiZone_VAV_Validation_Controller.fmutmp/sources' clang -fPIC -O0 -falign-functions -march=native -fno-stack-protector -Wno-parentheses-equality -Wno-unused-variable -fPIC -fdollars-in-identifiers -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -Iinclude/ -Iinclude/fmi2 -I. -DOMC_MODEL_PREFIX=Buildings_maint_8_0_x_Buildings_Controls_OBC_ASHRAE_G36_PR1_AHUs_MultiZone_VAV_Validation_Controller -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=1 -DOMC_NVAR_STRING=0 -c -o Buildings_maint_8_0_x_Buildings_Controls_OBC_ASHRAE_G36_PR1_AHUs_MultiZone_VAV_Validation_Controller_FMU.o Buildings_maint_8_0_x_Buildings_Controls_OBC_ASHRAE_G36_PR1_AHUs_MultiZone_VAV_Validation_Controller_FMU.c In file included from Buildings_maint_8_0_x_Buildings_Controls_OBC_ASHRAE_G36_PR1_AHUs_MultiZone_VAV_Validation_Controller_FMU.c:9: In file included from include/openmodelica.h:69: In file included from include/openmodelica_types.h:110: include/gc/omc_gc.h:186:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ include/gc/omc_gc.h:190:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ Buildings_maint_8_0_x_Buildings_Controls_OBC_ASHRAE_G36_PR1_AHUs_MultiZone_VAV_Validation_Controller_FMU.c:369:5: error: unknown type name 'at' at disable to avoid pressure fluctuations" ^ Buildings_maint_8_0_x_Buildings_Controls_OBC_ASHRAE_G36_PR1_AHUs_MultiZone_VAV_Validation_Controller_FMU.c:369:15: error: expected ';' after top level declarator at disable to avoid pressure fluctuations" ^ ; Buildings_maint_8_0_x_Buildings_Controls_OBC_ASHRAE_G36_PR1_AHUs_MultiZone_VAV_Validation_Controller_FMU.c:369:46: warning: missing terminating '"' character [-Winvalid-pp-token] at disable to avoid pressure fluctuations" ^ Buildings_maint_8_0_x_Buildings_Controls_OBC_ASHRAE_G36_PR1_AHUs_MultiZone_VAV_Validation_Controller_FMU.c:454:46: warning: missing terminating '"' character [-Winvalid-pp-token] at disable to avoid pressure fluctuations" ^ Buildings_maint_8_0_x_Buildings_Controls_OBC_ASHRAE_G36_PR1_AHUs_MultiZone_VAV_Validation_Controller_FMU.c:548:75: warning: missing terminating '"' character [-Winvalid-pp-token] in mild and dry climates, 16 degC (60 degF) or lower in humid climates" ^ Buildings_maint_8_0_x_Buildings_Controls_OBC_ASHRAE_G36_PR1_AHUs_MultiZone_VAV_Validation_Controller_FMU.c:866:67: warning: missing terminating '"' character [-Winvalid-pp-token] If the economizer is disabled, this value equals uOutDamPosMin" ^ In file included from Buildings_maint_8_0_x_Buildings_Controls_OBC_ASHRAE_G36_PR1_AHUs_MultiZone_VAV_Validation_Controller_FMU.c:1622: include/fmi2/fmu2_model_interface.c:382:3: warning: implicit declaration of function 'Buildings_maint_8_0_x_Buildings_Controls_OBC_ASHRAE_G36_PR1_AHUs_MultiZone_VAV_Validation_Controller_setupDataStruc' is invalid in C99 [-Wimplicit-function-declaration] fmu2_model_interface_setupDataStruc(comp->fmuData); ^ Buildings_maint_8_0_x_Buildings_Controls_OBC_ASHRAE_G36_PR1_AHUs_MultiZone_VAV_Validation_Controller_FMU.c:1621:45: note: expanded from macro 'fmu2_model_interface_setupDataStruc' #define fmu2_model_interface_setupDataStruc Buildings_maint_8_0_x_Buildings_Controls_OBC_ASHRAE_G36_PR1_AHUs_MultiZone_VAV_Validation_Controller_setupDataStruc ^ In file included from Buildings_maint_8_0_x_Buildings_Controls_OBC_ASHRAE_G36_PR1_AHUs_MultiZone_VAV_Validation_Controller_FMU.c:1622: include/fmi2/fmu2_model_interface.c:580:5: warning: implicit declaration of function 'Buildings_maint_8_0_x_Buildings_Controls_OBC_ASHRAE_G36_PR1_AHUs_MultiZone_VAV_Validation_Controller_setupDataStruc' is invalid in C99 [-Wimplicit-function-declaration] fmu2_model_interface_setupDataStruc(comp->fmuData); ^ Buildings_maint_8_0_x_Buildings_Controls_OBC_ASHRAE_G36_PR1_AHUs_MultiZone_VAV_Validation_Controller_FMU.c:1621:45: note: expanded from macro 'fmu2_model_interface_setupDataStruc' #define fmu2_model_interface_setupDataStruc Buildings_maint_8_0_x_Buildings_Controls_OBC_ASHRAE_G36_PR1_AHUs_MultiZone_VAV_Validation_Controller_setupDataStruc ^ 8 warnings and 2 errors generated. make: *** [: Buildings_maint_8_0_x_Buildings_Controls_OBC_ASHRAE_G36_PR1_AHUs_MultiZone_VAV_Validation_Controller_FMU.o] Error 1 make: Leaving directory '/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_maint.8.0.x_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.MultiZone.VAV.Validation.Controller/Buildings_maint_8_0_x_Buildings_Controls_OBC_ASHRAE_G36_PR1_AHUs_MultiZone_VAV_Validation_Controller.fmutmp/sources' Error: Error building simulator. Build log: checking build system type... x86_64-unknown-linux-gnu checking host system type... x86_64-unknown-linux-gnu checking target system type... x86_64-unknown-linux-gnu build_short: x86_64-linux-gnu host_short: x86_64-linux-gnu checking for gcc... clang checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether clang accepts -g... yes checking for clang option to accept ISO C89... none needed checking how to run the C preprocessor... clang -E checking whether make sets $(MAKE)... yes checking for cross-compilation flags... not cross-compiling checking if -Werror works... ok checking looking for --no-undefined... yes checking looking for dollars in identifiers... CPPFLAGS: -fdollars-in-identifiers checking for grep that handles long lines and -e... /usr/bin/grep checking for egrep... /usr/bin/grep -E checking for ANSI C header files... no checking for an ANSI C-conforming const... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking for size_t... yes checking for vprintf... yes checking for _doprnt... yes checking for strdup... yes checking for strerror... yes checking LAPACK/BLAS flags... not found checking for static pthreads... no checking for pthread_mutex_lock in -lpthread... yes checking for cos in -lm... yes checking for filesystem access... OK configure: creating ./config.status config.status: creating Makefile rm -f Buildings_maint_8_0_x_Buildings_Controls_OBC_ASHRAE_G36_PR1_AHUs_MultiZone_VAV_Validation_Controller.def Buildings_maint_8_0_x_Buildings_Controls_OBC_ASHRAE_G36_PR1_AHUs_MultiZone_VAV_Validation_Controller.o Buildings_maint_8_0_x_Buildings_Controls_OBC_ASHRAE_G36_PR1_AHUs_MultiZone_VAV_Validation_Controller.a Buildings_maint_8_0_x_Buildings_Controls_OBC_ASHRAE_G36_PR1_AHUs_MultiZone_VAV_Validation_Controller.so Buildings_maint_8_0_x_Buildings_Controls_OBC_ASHRAE_G36_PR1_AHUs_MultiZone_VAV_Validation_Controller_FMU.o Buildings_maint_8_0_x_Buildings_Controls_OBC_ASHRAE_G36_PR1_AHUs_MultiZone_VAV_Validation_Controller.o Buildings_maint_8_0_x_Buildings_Controls_OBC_ASHRAE_G36_PR1_AHUs_MultiZone_VAV_Validation_Controller_functions.o Buildings_maint_8_0_x_Buildings_Controls_OBC_ASHRAE_G36_PR1_AHUs_MultiZone_VAV_Validation_Controller_records.o Buildings_maint_8_0_x_Buildings_Controls_OBC_ASHRAE_G36_PR1_AHUs_MultiZone_VAV_Validation_Controller_01exo.o Buildings_maint_8_0_x_Buildings_Controls_OBC_ASHRAE_G36_PR1_AHUs_MultiZone_VAV_Validation_Controller_02nls.o Buildings_maint_8_0_x_Buildings_Controls_OBC_ASHRAE_G36_PR1_AHUs_MultiZone_VAV_Validation_Controller_03lsy.o Buildings_maint_8_0_x_Buildings_Controls_OBC_ASHRAE_G36_PR1_AHUs_MultiZone_VAV_Validation_Controller_04set.o Buildings_maint_8_0_x_Buildings_Controls_OBC_ASHRAE_G36_PR1_AHUs_MultiZone_VAV_Validation_Controller_05evt.o Buildings_maint_8_0_x_Buildings_Controls_OBC_ASHRAE_G36_PR1_AHUs_MultiZone_VAV_Validation_Controller_06inz.o Buildings_maint_8_0_x_Buildings_Controls_OBC_ASHRAE_G36_PR1_AHUs_MultiZone_VAV_Validation_Controller_07dly.o Buildings_maint_8_0_x_Buildings_Controls_OBC_ASHRAE_G36_PR1_AHUs_MultiZone_VAV_Validation_Controller_08bnd.o Buildings_maint_8_0_x_Buildings_Controls_OBC_ASHRAE_G36_PR1_AHUs_MultiZone_VAV_Validation_Controller_09alg.o Buildings_maint_8_0_x_Buildings_Controls_OBC_ASHRAE_G36_PR1_AHUs_MultiZone_VAV_Validation_Controller_10asr.o Buildings_maint_8_0_x_Buildings_Controls_OBC_ASHRAE_G36_PR1_AHUs_MultiZone_VAV_Validation_Controller_11mix.o Buildings_maint_8_0_x_Buildings_Controls_OBC_ASHRAE_G36_PR1_AHUs_MultiZone_VAV_Validation_Controller_12jac.o Buildings_maint_8_0_x_Buildings_Controls_OBC_ASHRAE_G36_PR1_AHUs_MultiZone_VAV_Validation_Controller_13opt.o Buildings_maint_8_0_x_Buildings_Controls_OBC_ASHRAE_G36_PR1_AHUs_MultiZone_VAV_Validation_Controller_14lnz.o Buildings_maint_8_0_x_Buildings_Controls_OBC_ASHRAE_G36_PR1_AHUs_MultiZone_VAV_Validation_Controller_15syn.o Buildings_maint_8_0_x_Buildings_Controls_OBC_ASHRAE_G36_PR1_AHUs_MultiZone_VAV_Validation_Controller_16dae.o Buildings_maint_8_0_x_Buildings_Controls_OBC_ASHRAE_G36_PR1_AHUs_MultiZone_VAV_Validation_Controller_17inl.o Buildings_maint_8_0_x_Buildings_Controls_OBC_ASHRAE_G36_PR1_AHUs_MultiZone_VAV_Validation_Controller_init_fmu.o include/./gc/memory_pool.o include/./util/base_array.o include/./util/boolean_array.o include/./util/omc_error.o include/./util/division.o include/./util/generic_array.o include/./util/index_spec.o include/./util/integer_array.o include/./util/list.o include/./util/modelica_string.o include/./util/real_array.o include/./util/ringbuffer.o include/./util/string_array.o include/./util/utility.o include/./util/varinfo.o include/./util/ModelicaUtilities.o include/./util/omc_msvc.o include/./util/simulation_options.o include/./util/cJSON.o include/./util/rational.o include/./util/modelica_string_lit.o include/./util/omc_init.o include/./util/omc_mmap.o include/./math-support/pivot.o include/./simulation/simulation_info_json.o include/./simulation/options.o include/./simulation/simulation_omc_assert.o include/./simulation/solver/delay.o include/./simulation/solver/omc_math.o include/./simulation/solver/model_help.o include/./simulation/solver/stateset.o include/./simulation/solver/synchronous.o include/./simulation/solver/initialization/initialization.o include/./meta/meta_modelica_catch.o