Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Controls.OBC.Utilities.Validation.OptimalStartHeatingCooling.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.Utilities.Validation.OptimalStartHeatingCooling,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Controls_OBC_Utilities_Validation_OptimalStartHeatingCooling",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.Utilities.Validation.OptimalStartHeatingCooling,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Controls_OBC_Utilities_Validation_OptimalStartHeatingCooling",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.319/1.319, allocations: 285.5 MB / 292.8 MB, free: 10.48 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.0009742/0.0009742, allocations: 185.3 kB / 361.1 MB, free: 7.113 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.022/1.022, allocations: 205.1 MB / 0.6195 GB, free: 10.34 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.0007475/0.0007476, allocations: 86.06 kB / 0.7325 GB, free: 44.26 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.1787/0.1795, allocations: 121.4 MB / 0.8511 GB, free: 2.91 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4225/0.602, allocations: 115.3 MB / 0.9638 GB, free: 77.91 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1381/0.7401, allocations: 146.1 MB / 1.106 GB, free: 9.938 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001816/0.7403, allocations: 68.91 kB / 1.106 GB, free: 9.871 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: 466 * Number of variables: 466 Notification: Performance of Generate backend data structure: time 0.07672/0.8171, allocations: 35.38 MB / 1.141 GB, free: 6.539 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.262e-05/0.8171, allocations: 12 kB / 1.141 GB, free: 6.527 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005846/0.8177, allocations: 238.2 kB / 1.141 GB, free: 6.293 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001873/0.8196, allocations: 1.107 MB / 1.142 GB, free: 5.145 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001142/0.8197, allocations: 79.98 kB / 1.142 GB, free: 5.066 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003205/0.8201, allocations: 148 kB / 1.143 GB, free: 4.922 MB / 0.7448 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002426/0.8225, allocations: 1.23 MB / 1.144 GB, free: 3.691 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002989/0.8255, allocations: 1.726 MB / 1.145 GB, free: 1.895 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.023e-05/0.8255, allocations: 4.781 kB / 1.145 GB, free: 1.891 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001457/0.8257, allocations: 19.97 kB / 1.145 GB, free: 1.871 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.373e-05/0.8257, allocations: 44.69 kB / 1.146 GB, free: 1.828 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008054/0.8338, allocations: 6.458 MB / 1.152 GB, free: 11.27 MB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003366/0.8372, allocations: 1.935 MB / 1.154 GB, free: 9.289 MB / 0.7605 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009608/0.8382, allocations: 0.6601 MB / 1.154 GB, free: 8.633 MB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 7.366e-05/0.8382, allocations: 25.3 kB / 1.154 GB, free: 8.609 MB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001341/0.8396, allocations: 0.8615 MB / 1.155 GB, free: 7.73 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=194): time 4.248e-06/0.8396, allocations: 0 / 1.155 GB, free: 7.73 MB / 0.7605 GB Notification: Performance of matching and sorting (n=194): time 0.002378/0.842, allocations: 1.378 MB / 1.157 GB, free: 6.344 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.912e-05/0.8421, allocations: 152.7 kB / 1.157 GB, free: 6.172 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009771/0.8431, allocations: 0.7331 MB / 1.157 GB, free: 5.418 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 0.0002435/0.8433, allocations: 97.67 kB / 1.158 GB, free: 5.316 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004382/0.8438, allocations: 0.544 MB / 1.158 GB, free: 4.762 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004099/0.8442, allocations: 489.4 kB / 1.159 GB, free: 4.277 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.416e-05/0.8443, allocations: 0.8438 kB / 1.159 GB, free: 4.277 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 0.0001449/0.8444, allocations: 398.4 kB / 1.159 GB, free: 3.883 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001042/0.8455, allocations: 0.6059 MB / 1.159 GB, free: 3.273 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001273/0.8468, allocations: 1.053 MB / 1.161 GB, free: 2.043 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001401/0.8482, allocations: 0.7006 MB / 1.161 GB, free: 1.348 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.785e-06/0.8482, allocations: 4 kB / 1.161 GB, free: 1.344 MB / 0.7605 GB Notification: Performance of matching and sorting (n=290) (initialization): time 0.003006/0.8512, allocations: 1.796 MB / 1.163 GB, free: 15.54 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 0.001001/0.8522, allocations: 3.751 MB / 1.167 GB, free: 11.49 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.761e-05/0.8523, allocations: 15.98 kB / 1.167 GB, free: 11.48 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.384e-05/0.8523, allocations: 21.03 kB / 1.167 GB, free: 11.46 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001041/0.8533, allocations: 303.4 kB / 1.167 GB, free: 11.16 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.484e-05/0.8534, allocations: 27.92 kB / 1.167 GB, free: 11.13 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001065/0.8544, allocations: 218.8 kB / 1.167 GB, free: 10.92 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000163/0.8546, allocations: 87.98 kB / 1.167 GB, free: 10.83 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 7.093e-06/0.8546, allocations: 4 kB / 1.167 GB, free: 10.83 MB / 0.7761 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002736/0.8574, allocations: 1.603 MB / 1.169 GB, free: 9.227 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.163e-05/0.8574, allocations: 11.98 kB / 1.169 GB, free: 9.215 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.194e-05/0.8574, allocations: 24 kB / 1.169 GB, free: 9.191 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009492/0.8584, allocations: 283.4 kB / 1.169 GB, free: 8.914 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.95e-05/0.8584, allocations: 28.41 kB / 1.169 GB, free: 8.887 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001074/0.8595, allocations: 200.5 kB / 1.169 GB, free: 8.691 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001872/0.8597, allocations: 87.97 kB / 1.169 GB, free: 8.605 MB / 0.7761 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 43 * Number of states: 0 () * Number of discrete variables: 195 ($PRE.optSta.optHea.truHol.onDelay.u,$PRE.optSta.optHea.truHol.toOutputTrue.enableFire,$PRE.optSta.optHea.truHol.toInitial.enableFire,$PRE.optSta.optHea.lat.y,$PRE.optSta.optCoo.truHol.onDelay.u,$PRE.optSta.optCoo.truHol.toOutputTrue.enableFire,$PRE.optSta.optCoo.truHol.toInitial.enableFire,$PRE.optSta.optCoo.lat.y,$PRE.optSta.optCoo.tim.passed,optSta.optCoo.tim.passed,$PRE.optSta.optHea.tim.passed,optSta.optHea.tim.passed,$whenCondition30,$whenCondition29,$whenCondition27,$whenCondition28,$whenCondition16,$PRE.optSta.optCoo.truHol.onDelay.t_next,$whenCondition4,$PRE.optSta.optHea.truHol.onDelay.t_next,optSta.optCoo.truHol.onDelay.t_next,$whenCondition14,optSta.optCoo.samTri.y,optSta.optCoo.samTemSloAve.trigger,optSta.optCoo.samTemSloAve.y,$PRE.optSta.optCoo.samTemSloAve.iSample,optSta.optCoo.samTemSloAve.iSample,$PRE.optSta.optCoo.samTemSloAve.counter,optSta.optCoo.samTemSloAve.counter,optSta.optCoo.samTemSloAve.index,$PRE.optSta.optCoo.samTemSloAve.ySample[1],optSta.optCoo.samTemSloAve.ySample[1],$PRE.optSta.optCoo.samTemSloAve.ySample[2],optSta.optCoo.samTemSloAve.ySample[2],$PRE.optSta.optCoo.samTemSloAve.ySample[3],optSta.optCoo.samTemSloAve.ySample[3],$PRE.optSta.optCoo.dTCalOn.y,optSta.optCoo.dTCalOn.y,$PRE.optSta.optCoo.dTHVACOn.y,optSta.optCoo.dTHVACOn.y,$PRE.optSta.optCoo.triSam.y,optSta.optCoo.triSam.y,$PRE.optSta.optCoo.triSam1.y,optSta.optCoo.triSam1.y,optSta.optCoo.dTUse.u2,$whenCondition26,$whenCondition25,$whenCondition21,$whenCondition22,$whenCondition23,$whenCondition24,$whenCondition20,$whenCondition19,$whenCondition17,$whenCondition18,$whenCondition15,$whenCondition13,$whenCondition9,$whenCondition10,$whenCondition11,$whenCondition12,$whenCondition8,$whenCondition7,$whenCondition5,$whenCondition6,$whenCondition3,$whenCondition2,$PRE.optSta.hysSta.greHys.y,optSta.hysSta.greHys.y,$PRE.optSta.falEdg.not_u,optSta.falEdg.not_u,$PRE.optSta.optHea.edg.u,optSta.optHea.edg.u,optSta.optHea.edg.y,optSta.optHea.falEdg.y,$PRE.optSta.optHea.falEdg.not_u,optSta.optHea.falEdg.not_u,$PRE.optSta.optHea.hys.y,optSta.optHea.hys.y,$PRE.optSta.optHea.hysOpt.y,optSta.optHea.hysOpt.y,optSta.optHea.truHol.stateGraphRoot.activeSteps,optSta.optHea.truHol.onDelay.u,optSta.optHea.truHol.onDelay.y,$PRE.optSta.optHea.truHol.initialStep.localActive,optSta.optHea.truHol.initialStep.localActive,$PRE.optSta.optHea.truHol.initialStep.newActive,optSta.optHea.truHol.initialStep.newActive,$PRE.optSta.optHea.truHol.initialStep.oldActive,optSta.optHea.truHol.initialStep.oldActive,optSta.optHea.truHol.initialStep.active,$PRE.optSta.optHea.truHol.outputTrue.localActive,optSta.optHea.truHol.outputTrue.localActive,$PRE.optSta.optHea.truHol.outputTrue.newActive,optSta.optHea.truHol.outputTrue.newActive,$PRE.optSta.optHea.truHol.outputTrue.oldActive,optSta.optHea.truHol.outputTrue.oldActive,optSta.optHea.truHol.outputTrue.active,optSta.optHea.truHol.toOutputTrue.enableFire,optSta.optHea.truHol.toInitial.enableFire,$PRE.optSta.optHea.pre.u,optSta.optHea.pre.u,$PRE.optSta.optHea.lat.u,optSta.optHea.lat.u,$PRE.optSta.optHea.lat.clr,optSta.optHea.lat.clr,optSta.optHea.lat.y,$PRE.optSta.optHea.tim.entryTime,optSta.optHea.tim.entryTime,$PRE.optSta.optHea.samTimOpt.y,optSta.optHea.samTimOpt.y,optSta.optHea.and2.u1,optSta.optCoo.staCal,$PRE.optSta.optCoo.edg.u,optSta.optCoo.edg.u,optSta.optCoo.edg.y,optSta.optCoo.falEdg.y,$PRE.optSta.optCoo.falEdg.not_u,optSta.optCoo.falEdg.not_u,$PRE.optSta.optCoo.hys.y,optSta.optCoo.hys.y,$PRE.optSta.optCoo.hysOpt.y,optSta.optCoo.hysOpt.y,optSta.optCoo.truHol.stateGraphRoot.activeSteps,optSta.optCoo.truHol.onDelay.u,optSta.optCoo.truHol.onDelay.y,$PRE.optSta.optCoo.truHol.initialStep.localActive,optSta.optCoo.truHol.initialStep.localActive,$PRE.optSta.optCoo.truHol.initialStep.newActive,optSta.optCoo.truHol.initialStep.newActive,$PRE.optSta.optCoo.truHol.initialStep.oldActive,optSta.optCoo.truHol.initialStep.oldActive,optSta.optCoo.truHol.initialStep.active,$PRE.optSta.optCoo.truHol.outputTrue.localActive,optSta.optCoo.truHol.outputTrue.localActive,$PRE.optSta.optCoo.truHol.outputTrue.newActive,optSta.optCoo.truHol.outputTrue.newActive,$PRE.optSta.optCoo.truHol.outputTrue.oldActive,optSta.optCoo.truHol.outputTrue.oldActive,optSta.optCoo.truHol.outputTrue.active,optSta.optCoo.truHol.toOutputTrue.enableFire,optSta.optCoo.truHol.toInitial.enableFire,$PRE.optSta.optCoo.pre.u,optSta.optCoo.pre.u,$PRE.optSta.optCoo.lat.u,optSta.optCoo.lat.u,$PRE.optSta.optCoo.lat.clr,optSta.optCoo.lat.clr,optSta.optCoo.lat.y,$PRE.optSta.optCoo.tim.entryTime,optSta.optCoo.tim.entryTime,$PRE.optSta.optCoo.samTimOpt.y,optSta.optCoo.samTimOpt.y,optSta.optCoo.and2.u1,booToRea1.u,$PRE.occSch.occupied,occSch.occupied,$PRE.occSch.tOcc,occSch.tOcc,$PRE.occSch.tNonOcc,occSch.tNonOcc,$PRE.occSch.tNext,occSch.tNext,$PRE.pul.booPul.y,pul.booPul.y,optSta.optHea.truHol.onDelay.t_next,$whenCondition1,optSta.optHea.samTri.y,optSta.optHea.samTemSloAve.trigger,optSta.optHea.samTemSloAve.y,$PRE.optSta.optHea.samTemSloAve.iSample,optSta.optHea.samTemSloAve.iSample,$PRE.optSta.optHea.samTemSloAve.counter,optSta.optHea.samTemSloAve.counter,optSta.optHea.samTemSloAve.index,$PRE.optSta.optHea.samTemSloAve.ySample[1],optSta.optHea.samTemSloAve.ySample[1],$PRE.optSta.optHea.samTemSloAve.ySample[2],optSta.optHea.samTemSloAve.ySample[2],$PRE.optSta.optHea.samTemSloAve.ySample[3],optSta.optHea.samTemSloAve.ySample[3],$PRE.optSta.optHea.dTCalOn.y,optSta.optHea.dTCalOn.y,$PRE.optSta.optHea.dTHVACOn.y,optSta.optHea.dTHVACOn.y,$PRE.optSta.optHea.triSam.y,optSta.optHea.triSam.y,$PRE.optSta.optHea.triSam1.y,optSta.optHea.triSam1.y,optSta.optHea.dTUse.u2,optSta.optHea.truHol.stateGraphRoot.resume,optSta.optHea.truHol.stateGraphRoot.suspend,optSta.optCoo.truHol.stateGraphRoot.resume,optSta.optCoo.truHol.stateGraphRoot.suspend,TRoo.local_reset) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (285): * Single equations (assignments): 283 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 1 * 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.0004716/0.8602, allocations: 294.9 kB / 1.17 GB, free: 8.309 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000271/0.8605, allocations: 150.2 kB / 1.17 GB, free: 8.16 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002509/0.863, allocations: 1.462 MB / 1.171 GB, free: 6.691 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.71e-05/0.863, allocations: 19.91 kB / 1.171 GB, free: 6.672 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.362e-06/0.863, allocations: 0 / 1.171 GB, free: 6.672 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.614e-05/0.863, allocations: 11.95 kB / 1.171 GB, free: 6.66 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005058/0.8681, allocations: 3.572 MB / 1.175 GB, free: 3.02 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.869e-06/0.8681, allocations: 0 / 1.175 GB, free: 3.02 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006683/0.8688, allocations: 167.7 kB / 1.175 GB, free: 2.855 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.692e-05/0.8688, allocations: 15.91 kB / 1.175 GB, free: 2.84 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001074/0.8689, allocations: 27.95 kB / 1.175 GB, free: 2.812 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.646e-06/0.869, allocations: 9.422 kB / 1.175 GB, free: 2.805 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.975e-06/0.869, allocations: 4 kB / 1.175 GB, free: 2.801 MB / 0.7761 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.00336/0.8723, allocations: 2.365 MB / 1.177 GB, free: 432 kB / 0.7761 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.004511/0.8769, allocations: 3.617 MB / 1.181 GB, free: 12.79 MB / 0.7917 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000506/0.8774, allocations: 380.8 kB / 1.181 GB, free: 12.39 MB / 0.7917 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002782/0.8777, allocations: 59.88 kB / 1.181 GB, free: 12.34 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007042/0.8784, allocations: 95.89 kB / 1.181 GB, free: 12.24 MB / 0.7917 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003412/0.8787, allocations: 189.7 kB / 1.182 GB, free: 12.06 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001434/0.8789, allocations: 83.94 kB / 1.182 GB, free: 11.98 MB / 0.7917 GB Notification: Performance of sort global known variables: time 0.0006133/0.8795, allocations: 488.6 kB / 1.182 GB, free: 11.49 MB / 0.7917 GB Notification: Performance of remove unused functions: time 0.002879/0.8824, allocations: 0.6348 MB / 1.183 GB, free: 10.85 MB / 0.7917 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (TRoo.y,conPID1.I.y,conPID.I.y) * Number of discrete variables: 127 (optSta.optHea.samTemSloAve.trigger,optSta.optHea.falEdg.y,optSta.optHea.edg.y,optSta.optCoo.samTemSloAve.trigger,optSta.optCoo.falEdg.y,optSta.optCoo.edg.y,optSta.optCoo.staCal,optSta.optCoo.truHol.onDelay.u,optSta.optCoo.truHol.outputTrue.localActive,optSta.optCoo.truHol.outputTrue.active,optSta.optCoo.truHol.initialStep.active,optSta.optHea.truHol.onDelay.u,optSta.optHea.truHol.outputTrue.localActive,optSta.optHea.truHol.outputTrue.active,optSta.optHea.truHol.initialStep.active,$cse1,$cse2,$cse3,$cse4,$whenCondition30,$whenCondition29,$whenCondition27,$whenCondition28,$whenCondition26,$whenCondition25,$whenCondition21,$whenCondition22,$whenCondition23,$whenCondition24,$whenCondition20,$whenCondition19,$whenCondition16,$whenCondition17,$whenCondition18,$whenCondition15,$whenCondition14,$whenCondition13,$whenCondition9,$whenCondition10,$whenCondition11,$whenCondition12,$whenCondition8,$whenCondition7,$whenCondition4,$whenCondition5,$whenCondition6,$whenCondition3,$whenCondition2,$whenCondition1,optSta.hysSta.greHys.y,optSta.falEdg.not_u,optSta.optHea.samTri.y,optSta.optHea.samTemSloAve.y,optSta.optHea.samTemSloAve.iSample,optSta.optHea.samTemSloAve.counter,optSta.optHea.samTemSloAve.index,optSta.optHea.samTemSloAve.ySample[1],optSta.optHea.samTemSloAve.ySample[2],optSta.optHea.samTemSloAve.ySample[3],optSta.optHea.dTCalOn.y,optSta.optHea.dTHVACOn.y,optSta.optHea.edg.u,optSta.optHea.falEdg.not_u,optSta.optHea.hys.y,optSta.optHea.hysOpt.y,optSta.optHea.truHol.stateGraphRoot.activeSteps,optSta.optHea.truHol.onDelay.y,optSta.optHea.truHol.onDelay.t_next,optSta.optHea.truHol.initialStep.localActive,optSta.optHea.truHol.initialStep.newActive,optSta.optHea.truHol.initialStep.oldActive,optSta.optHea.truHol.outputTrue.newActive,optSta.optHea.truHol.outputTrue.oldActive,optSta.optHea.truHol.toOutputTrue.enableFire,optSta.optHea.truHol.toInitial.enableFire,optSta.optHea.pre.u,optSta.optHea.triSam.y,optSta.optHea.triSam1.y,optSta.optHea.lat.u,optSta.optHea.lat.clr,optSta.optHea.lat.y,optSta.optHea.tim.passed,optSta.optHea.tim.entryTime,optSta.optHea.samTimOpt.y,optSta.optHea.and2.u1,optSta.optHea.dTUse.u2,optSta.optCoo.samTri.y,optSta.optCoo.samTemSloAve.y,optSta.optCoo.samTemSloAve.iSample,optSta.optCoo.samTemSloAve.counter,optSta.optCoo.samTemSloAve.index,optSta.optCoo.samTemSloAve.ySample[1],optSta.optCoo.samTemSloAve.ySample[2],optSta.optCoo.samTemSloAve.ySample[3],optSta.optCoo.dTCalOn.y,optSta.optCoo.dTHVACOn.y,optSta.optCoo.edg.u,optSta.optCoo.falEdg.not_u,optSta.optCoo.hys.y,optSta.optCoo.hysOpt.y,optSta.optCoo.truHol.stateGraphRoot.activeSteps,optSta.optCoo.truHol.onDelay.y,optSta.optCoo.truHol.onDelay.t_next,optSta.optCoo.truHol.initialStep.localActive,optSta.optCoo.truHol.initialStep.newActive,optSta.optCoo.truHol.initialStep.oldActive,optSta.optCoo.truHol.outputTrue.newActive,optSta.optCoo.truHol.outputTrue.oldActive,optSta.optCoo.truHol.toOutputTrue.enableFire,optSta.optCoo.truHol.toInitial.enableFire,optSta.optCoo.pre.u,optSta.optCoo.triSam.y,optSta.optCoo.triSam1.y,optSta.optCoo.lat.u,optSta.optCoo.lat.clr,optSta.optCoo.lat.y,optSta.optCoo.tim.passed,optSta.optCoo.tim.entryTime,optSta.optCoo.samTimOpt.y,optSta.optCoo.and2.u1,optSta.optCoo.dTUse.u2,booToRea1.u,occSch.occupied,occSch.tOcc,occSch.tNonOcc,occSch.tNext,pul.booPul.y) * Number of discrete states: 37 (occSch.tNext,optSta.optCoo.truHol.onDelay.t_next,optSta.optHea.truHol.onDelay.t_next,optSta.optHea.truHol.initialStep.newActive,optSta.optHea.truHol.outputTrue.newActive,optSta.optHea.tim.entryTime,optSta.optHea.pre.u,optSta.optCoo.truHol.initialStep.newActive,optSta.optCoo.truHol.outputTrue.newActive,optSta.optCoo.tim.entryTime,optSta.optCoo.pre.u,optSta.optHea.hys.y,optSta.optHea.lat.u,optSta.optHea.lat.clr,optSta.optCoo.hys.y,optSta.optCoo.lat.u,optSta.optCoo.lat.clr,optSta.hysSta.greHys.y,optSta.falEdg.not_u,optSta.optCoo.lat.y,optSta.optCoo.edg.u,optSta.optCoo.falEdg.not_u,optSta.optCoo.samTemSloAve.iSample,optSta.optCoo.samTemSloAve.ySample[1],optSta.optCoo.samTemSloAve.ySample[2],optSta.optCoo.samTemSloAve.ySample[3],optSta.optCoo.samTemSloAve.counter,optSta.optCoo.hysOpt.y,optSta.optHea.lat.y,optSta.optHea.edg.u,optSta.optHea.falEdg.not_u,optSta.optHea.samTemSloAve.iSample,optSta.optHea.samTemSloAve.ySample[1],optSta.optHea.samTemSloAve.ySample[2],optSta.optHea.samTemSloAve.ySample[3],optSta.optHea.samTemSloAve.counter,optSta.optHea.hysOpt.y) * Top-level inputs: 0 Notification: Strong component statistics for simulation (195): * Single equations (assignments): 155 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 40 * 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.0004658/0.8828, allocations: 326.3 kB / 1.183 GB, free: 10.53 MB / 0.7917 GB Notification: Performance of simCode: created initialization part: time 0.00392/0.8868, allocations: 2.736 MB / 1.186 GB, free: 7.777 MB / 0.7917 GB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.8868, allocations: 4.125 kB / 1.186 GB, free: 7.773 MB / 0.7917 GB Notification: Performance of simCode: created simulation system equations: time 0.001124/0.8879, allocations: 0.8509 MB / 1.187 GB, free: 6.926 MB / 0.7917 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007941/0.8887, allocations: 160.2 kB / 1.187 GB, free: 6.777 MB / 0.7917 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004487/0.8932, allocations: 2.268 MB / 1.189 GB, free: 4.457 MB / 0.7917 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001331/0.8946, allocations: 1.51 MB / 1.19 GB, free: 2.91 MB / 0.7917 GB Notification: Performance of SimCode: time 7.11e-07/0.8946, allocations: 0 / 1.19 GB, free: 2.91 MB / 0.7917 GB Error: Error building simulator. Build log: make: Entering directory '/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_maint.8.0.x_Buildings.Controls.OBC.Utilities.Validation.OptimalStartHeatingCooling/Buildings_maint_8_0_x_Buildings_Controls_OBC_Utilities_Validation_OptimalStartHeatingCooling.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_Utilities_Validation_OptimalStartHeatingCooling -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o Buildings_maint_8_0_x_Buildings_Controls_OBC_Utilities_Validation_OptimalStartHeatingCooling_FMU.o Buildings_maint_8_0_x_Buildings_Controls_OBC_Utilities_Validation_OptimalStartHeatingCooling_FMU.c In file included from Buildings_maint_8_0_x_Buildings_Controls_OBC_Utilities_Validation_OptimalStartHeatingCooling_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_Utilities_Validation_OptimalStartHeatingCooling_FMU.c:288:6: error: unknown type name 'should' should be greater than uLow" ^ Buildings_maint_8_0_x_Buildings_Controls_OBC_Utilities_Validation_OptimalStartHeatingCooling_FMU.c:288:15: error: expected ';' after top level declarator should be greater than uLow" ^ ; Buildings_maint_8_0_x_Buildings_Controls_OBC_Utilities_Validation_OptimalStartHeatingCooling_FMU.c:288:33: warning: missing terminating '"' character [-Winvalid-pp-token] should be greater than uLow" ^ Buildings_maint_8_0_x_Buildings_Controls_OBC_Utilities_Validation_OptimalStartHeatingCooling_FMU.c:290:37: warning: missing terminating '"' character [-Winvalid-pp-token] should be a non-negative number" ^ Buildings_maint_8_0_x_Buildings_Controls_OBC_Utilities_Validation_OptimalStartHeatingCooling_FMU.c:326:33: warning: missing terminating '"' character [-Winvalid-pp-token] should be greater than uLow" ^ Buildings_maint_8_0_x_Buildings_Controls_OBC_Utilities_Validation_OptimalStartHeatingCooling_FMU.c:328:37: warning: missing terminating '"' character [-Winvalid-pp-token] should be a non-negative number" ^ Buildings_maint_8_0_x_Buildings_Controls_OBC_Utilities_Validation_OptimalStartHeatingCooling_FMU.c:332:31: warning: missing terminating '"' character [-Winvalid-pp-token] must be greater than uLow" ^ Buildings_maint_8_0_x_Buildings_Controls_OBC_Utilities_Validation_OptimalStartHeatingCooling_FMU.c:334:35: warning: missing terminating '"' character [-Winvalid-pp-token] must be a non-negative number" ^ In file included from Buildings_maint_8_0_x_Buildings_Controls_OBC_Utilities_Validation_OptimalStartHeatingCooling_FMU.c:809: include/fmi2/fmu2_model_interface.c:382:3: warning: implicit declaration of function 'Buildings_maint_8_0_x_Buildings_Controls_OBC_Utilities_Validation_OptimalStartHeatingCooling_setupDataStruc' is invalid in C99 [-Wimplicit-function-declaration] fmu2_model_interface_setupDataStruc(comp->fmuData); ^ Buildings_maint_8_0_x_Buildings_Controls_OBC_Utilities_Validation_OptimalStartHeatingCooling_FMU.c:808:45: note: expanded from macro 'fmu2_model_interface_setupDataStruc' #define fmu2_model_interface_setupDataStruc Buildings_maint_8_0_x_Buildings_Controls_OBC_Utilities_Validation_OptimalStartHeatingCooling_setupDataStruc ^ In file included from Buildings_maint_8_0_x_Buildings_Controls_OBC_Utilities_Validation_OptimalStartHeatingCooling_FMU.c:809: include/fmi2/fmu2_model_interface.c:580:5: warning: implicit declaration of function 'Buildings_maint_8_0_x_Buildings_Controls_OBC_Utilities_Validation_OptimalStartHeatingCooling_setupDataStruc' is invalid in C99 [-Wimplicit-function-declaration] fmu2_model_interface_setupDataStruc(comp->fmuData); ^ Buildings_maint_8_0_x_Buildings_Controls_OBC_Utilities_Validation_OptimalStartHeatingCooling_FMU.c:808:45: note: expanded from macro 'fmu2_model_interface_setupDataStruc' #define fmu2_model_interface_setupDataStruc Buildings_maint_8_0_x_Buildings_Controls_OBC_Utilities_Validation_OptimalStartHeatingCooling_setupDataStruc ^ 10 warnings and 2 errors generated. make: *** [: Buildings_maint_8_0_x_Buildings_Controls_OBC_Utilities_Validation_OptimalStartHeatingCooling_FMU.o] Error 1 make: Leaving directory '/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_maint.8.0.x_Buildings.Controls.OBC.Utilities.Validation.OptimalStartHeatingCooling/Buildings_maint_8_0_x_Buildings_Controls_OBC_Utilities_Validation_OptimalStartHeatingCooling.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_Utilities_Validation_OptimalStartHeatingCooling.def Buildings_maint_8_0_x_Buildings_Controls_OBC_Utilities_Validation_OptimalStartHeatingCooling.o Buildings_maint_8_0_x_Buildings_Controls_OBC_Utilities_Validation_OptimalStartHeatingCooling.a Buildings_maint_8_0_x_Buildings_Controls_OBC_Utilities_Validation_OptimalStartHeatingCooling.so Buildings_maint_8_0_x_Buildings_Controls_OBC_Utilities_Validation_OptimalStartHeatingCooling_FMU.o Buildings_maint_8_0_x_Buildings_Controls_OBC_Utilities_Validation_OptimalStartHeatingCooling.o Buildings_maint_8_0_x_Buildings_Controls_OBC_Utilities_Validation_OptimalStartHeatingCooling_functions.o Buildings_maint_8_0_x_Buildings_Controls_OBC_Utilities_Validation_OptimalStartHeatingCooling_records.o Buildings_maint_8_0_x_Buildings_Controls_OBC_Utilities_Validation_OptimalStartHeatingCooling_01exo.o Buildings_maint_8_0_x_Buildings_Controls_OBC_Utilities_Validation_OptimalStartHeatingCooling_02nls.o Buildings_maint_8_0_x_Buildings_Controls_OBC_Utilities_Validation_OptimalStartHeatingCooling_03lsy.o Buildings_maint_8_0_x_Buildings_Controls_OBC_Utilities_Validation_OptimalStartHeatingCooling_04set.o Buildings_maint_8_0_x_Buildings_Controls_OBC_Utilities_Validation_OptimalStartHeatingCooling_05evt.o Buildings_maint_8_0_x_Buildings_Controls_OBC_Utilities_Validation_OptimalStartHeatingCooling_06inz.o Buildings_maint_8_0_x_Buildings_Controls_OBC_Utilities_Validation_OptimalStartHeatingCooling_07dly.o Buildings_maint_8_0_x_Buildings_Controls_OBC_Utilities_Validation_OptimalStartHeatingCooling_08bnd.o Buildings_maint_8_0_x_Buildings_Controls_OBC_Utilities_Validation_OptimalStartHeatingCooling_09alg.o Buildings_maint_8_0_x_Buildings_Controls_OBC_Utilities_Validation_OptimalStartHeatingCooling_10asr.o Buildings_maint_8_0_x_Buildings_Controls_OBC_Utilities_Validation_OptimalStartHeatingCooling_11mix.o Buildings_maint_8_0_x_Buildings_Controls_OBC_Utilities_Validation_OptimalStartHeatingCooling_12jac.o Buildings_maint_8_0_x_Buildings_Controls_OBC_Utilities_Validation_OptimalStartHeatingCooling_13opt.o Buildings_maint_8_0_x_Buildings_Controls_OBC_Utilities_Validation_OptimalStartHeatingCooling_14lnz.o Buildings_maint_8_0_x_Buildings_Controls_OBC_Utilities_Validation_OptimalStartHeatingCooling_15syn.o Buildings_maint_8_0_x_Buildings_Controls_OBC_Utilities_Validation_OptimalStartHeatingCooling_16dae.o Buildings_maint_8_0_x_Buildings_Controls_OBC_Utilities_Validation_OptimalStartHeatingCooling_17inl.o Buildings_maint_8_0_x_Buildings_Controls_OBC_Utilities_Validation_OptimalStartHeatingCooling_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