Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.Utilities.Validation.OptimalStartHeatingCooling.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.Utilities.Validation.OptimalStartHeatingCooling,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_Utilities_Validation_OptimalStartHeatingCooling",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.Utilities.Validation.OptimalStartHeatingCooling,fileNamePrefix="Buildings_8_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.1.4-maint.8.1.x/package.mo): time 1.381/1.381, allocations: 289.8 MB / 297 MB, free: 12.66 MB / 242.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001/0.001, allocations: 186.1 kB / 366.3 MB, free: 12 MB / 290.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.066/1.066, allocations: 205.1 MB / 0.6256 GB, free: 2.133 MB / 466.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008026/0.0008029, allocations: 93.66 kB / 0.7395 GB, free: 46.95 MB / 0.5184 GB Notification: Performance of FrontEnd - loaded program: time 0.2034/0.2042, allocations: 122.4 MB / 0.8591 GB, free: 7.152 MB / 0.5965 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5069/0.7111, allocations: 116.3 MB / 0.9726 GB, free: 81.55 MB / 0.6746 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1553/0.8665, allocations: 147.1 MB / 1.116 GB, free: 12.93 MB / 0.7215 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001795/0.8667, allocations: 73.64 kB / 1.116 GB, free: 12.86 MB / 0.7215 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.07638/0.9431, allocations: 35.37 MB / 1.151 GB, free: 9.48 MB / 0.7527 GB Notification: Performance of prepare preOptimizeDAE: time 3.775e-05/0.9431, allocations: 8 kB / 1.151 GB, free: 9.473 MB / 0.7527 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003762/0.9435, allocations: 237.4 kB / 1.151 GB, free: 9.238 MB / 0.7527 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001717/0.9452, allocations: 1.116 MB / 1.152 GB, free: 8.082 MB / 0.7527 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001054/0.9454, allocations: 83.97 kB / 1.152 GB, free: 8 MB / 0.7527 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002526/0.9456, allocations: 144 kB / 1.152 GB, free: 7.859 MB / 0.7527 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002265/0.9479, allocations: 1.226 MB / 1.154 GB, free: 6.633 MB / 0.7527 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00288/0.9508, allocations: 1.726 MB / 1.155 GB, free: 4.836 MB / 0.7527 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.697e-05/0.9508, allocations: 11.88 kB / 1.155 GB, free: 4.824 MB / 0.7527 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001447/0.951, allocations: 23.95 kB / 1.155 GB, free: 4.801 MB / 0.7527 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.349e-05/0.951, allocations: 44 kB / 1.155 GB, free: 4.758 MB / 0.7527 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007529/0.9586, allocations: 6.446 MB / 1.162 GB, free: 14.2 MB / 0.7684 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003288/0.9619, allocations: 1.932 MB / 1.164 GB, free: 12.23 MB / 0.7684 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009287/0.9628, allocations: 0.6679 MB / 1.164 GB, free: 11.56 MB / 0.7684 GB Notification: Performance of preOpt evalFunc (simulation): time 7.374e-05/0.9629, allocations: 25.28 kB / 1.164 GB, free: 11.54 MB / 0.7684 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001322/0.9642, allocations: 0.8654 MB / 1.165 GB, free: 10.66 MB / 0.7684 GB Notification: Performance of pre-optimization done (n=194): time 3.356e-06/0.9642, allocations: 0 / 1.165 GB, free: 10.66 MB / 0.7684 GB Notification: Performance of matching and sorting (n=194): time 0.002231/0.9665, allocations: 1.374 MB / 1.166 GB, free: 9.277 MB / 0.7684 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.131e-05/0.9666, allocations: 144.8 kB / 1.167 GB, free: 9.113 MB / 0.7684 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000842/0.9674, allocations: 0.737 MB / 1.167 GB, free: 8.355 MB / 0.7684 GB Notification: Performance of collectPreVariables (initialization): time 0.0002144/0.9676, allocations: 97.67 kB / 1.167 GB, free: 8.254 MB / 0.7684 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003646/0.968, allocations: 0.5479 MB / 1.168 GB, free: 7.695 MB / 0.7684 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003778/0.9684, allocations: 489.4 kB / 1.168 GB, free: 7.211 MB / 0.7684 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.146e-05/0.9685, allocations: 8 kB / 1.168 GB, free: 7.203 MB / 0.7684 GB Notification: Performance of setup shared object (initialization): time 0.000161/0.9687, allocations: 394.5 kB / 1.169 GB, free: 6.812 MB / 0.7684 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001064/0.9697, allocations: 0.6059 MB / 1.169 GB, free: 6.203 MB / 0.7684 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001328/0.9711, allocations: 1.057 MB / 1.17 GB, free: 4.969 MB / 0.7684 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001363/0.9724, allocations: 0.7018 MB / 1.171 GB, free: 4.27 MB / 0.7684 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.021e-06/0.9725, allocations: 0 / 1.171 GB, free: 4.27 MB / 0.7684 GB Notification: Performance of matching and sorting (n=290) (initialization): time 0.003006/0.9755, allocations: 1.797 MB / 1.173 GB, free: 2.465 MB / 0.7684 GB Notification: Performance of prepare postOptimizeDAE: time 0.001198/0.9767, allocations: 3.755 MB / 1.176 GB, free: 14.42 MB / 0.784 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.633e-05/0.9767, allocations: 12 kB / 1.176 GB, free: 14.41 MB / 0.784 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.405e-05/0.9768, allocations: 20 kB / 1.176 GB, free: 14.39 MB / 0.784 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001057/0.9778, allocations: 299.3 kB / 1.177 GB, free: 14.1 MB / 0.784 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.491e-05/0.9779, allocations: 27.92 kB / 1.177 GB, free: 14.07 MB / 0.784 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001046/0.9789, allocations: 226.8 kB / 1.177 GB, free: 13.85 MB / 0.784 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001645/0.9791, allocations: 87.98 kB / 1.177 GB, free: 13.76 MB / 0.784 GB Notification: Performance of prepare postOptimizeDAE: time 5.861e-06/0.9791, allocations: 4 kB / 1.177 GB, free: 13.76 MB / 0.784 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002726/0.9818, allocations: 1.593 MB / 1.179 GB, free: 12.16 MB / 0.784 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.114e-05/0.9819, allocations: 18.33 kB / 1.179 GB, free: 12.15 MB / 0.784 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.17e-05/0.9819, allocations: 20 kB / 1.179 GB, free: 12.13 MB / 0.784 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009638/0.9829, allocations: 288 kB / 1.179 GB, free: 11.85 MB / 0.784 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.242e-05/0.9829, allocations: 31.83 kB / 1.179 GB, free: 11.82 MB / 0.784 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009269/0.9838, allocations: 195 kB / 1.179 GB, free: 11.62 MB / 0.784 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001487/0.984, allocations: 83.98 kB / 1.179 GB, free: 11.54 MB / 0.784 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.0004203/0.9844, allocations: 304.6 kB / 1.18 GB, free: 11.23 MB / 0.784 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001993/0.9846, allocations: 154.2 kB / 1.18 GB, free: 11.08 MB / 0.784 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002391/0.987, allocations: 1.451 MB / 1.181 GB, free: 9.613 MB / 0.784 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.692e-05/0.9871, allocations: 23.91 kB / 1.181 GB, free: 9.59 MB / 0.784 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.506e-06/0.9871, allocations: 0 / 1.181 GB, free: 9.59 MB / 0.784 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.551e-05/0.9871, allocations: 11.91 kB / 1.181 GB, free: 9.578 MB / 0.784 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004871/0.992, allocations: 3.57 MB / 1.185 GB, free: 5.938 MB / 0.784 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.707e-06/0.992, allocations: 0 / 1.185 GB, free: 5.938 MB / 0.784 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006864/0.9927, allocations: 163.7 kB / 1.185 GB, free: 5.777 MB / 0.784 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.28e-05/0.9927, allocations: 15.91 kB / 1.185 GB, free: 5.762 MB / 0.784 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001135/0.9928, allocations: 31.94 kB / 1.185 GB, free: 5.73 MB / 0.784 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.534e-06/0.9928, allocations: 8 kB / 1.185 GB, free: 5.723 MB / 0.784 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.993e-06/0.9928, allocations: 0 / 1.185 GB, free: 5.723 MB / 0.784 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.003326/0.9962, allocations: 2.361 MB / 1.187 GB, free: 3.344 MB / 0.784 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.004601/1.001, allocations: 3.617 MB / 1.191 GB, free: 15.71 MB / 0.7996 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005058/1.001, allocations: 387 kB / 1.191 GB, free: 15.31 MB / 0.7996 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000273/1.002, allocations: 63.88 kB / 1.191 GB, free: 15.25 MB / 0.7996 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006791/1.002, allocations: 91.91 kB / 1.191 GB, free: 15.16 MB / 0.7996 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003313/1.003, allocations: 193.7 kB / 1.191 GB, free: 14.97 MB / 0.7996 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001277/1.003, allocations: 76.98 kB / 1.191 GB, free: 14.89 MB / 0.7996 GB Notification: Performance of sort global known variables: time 0.0005806/1.003, allocations: 0.4889 MB / 1.192 GB, free: 14.39 MB / 0.7996 GB Notification: Performance of remove unused functions: time 0.002814/1.006, allocations: 0.6347 MB / 1.193 GB, free: 13.76 MB / 0.7996 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.0004486/1.007, allocations: 322.8 kB / 1.193 GB, free: 13.43 MB / 0.7996 GB Notification: Performance of simCode: created initialization part: time 0.003806/1.01, allocations: 2.745 MB / 1.196 GB, free: 10.67 MB / 0.7996 GB Notification: Performance of simCode: created event and clocks part: time 2.325e-06/1.01, allocations: 0 / 1.196 GB, free: 10.67 MB / 0.7996 GB Notification: Performance of simCode: created simulation system equations: time 0.001104/1.012, allocations: 0.8354 MB / 1.196 GB, free: 9.836 MB / 0.7996 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008307/1.012, allocations: 169.2 kB / 1.197 GB, free: 9.676 MB / 0.7996 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004155/1.017, allocations: 2.269 MB / 1.199 GB, free: 7.355 MB / 0.7996 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001287/1.018, allocations: 1.51 MB / 1.2 GB, free: 5.812 MB / 0.7996 GB Notification: Performance of SimCode: time 2.91e-07/1.018, allocations: 0 / 1.2 GB, free: 5.812 MB / 0.7996 GB Error: Error building simulator. Build log: make: Entering directory '/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_8_Buildings.Controls.OBC.Utilities.Validation.OptimalStartHeatingCooling/Buildings_8_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_8_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_8_Buildings_Controls_OBC_Utilities_Validation_OptimalStartHeatingCooling_FMU.o Buildings_8_Buildings_Controls_OBC_Utilities_Validation_OptimalStartHeatingCooling_FMU.c In file included from Buildings_8_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_8_Buildings_Controls_OBC_Utilities_Validation_OptimalStartHeatingCooling_FMU.c:288:6: error: unknown type name 'should' should be greater than uLow" ^ Buildings_8_Buildings_Controls_OBC_Utilities_Validation_OptimalStartHeatingCooling_FMU.c:288:15: error: expected ';' after top level declarator should be greater than uLow" ^ ; Buildings_8_Buildings_Controls_OBC_Utilities_Validation_OptimalStartHeatingCooling_FMU.c:288:33: warning: missing terminating '"' character [-Winvalid-pp-token] should be greater than uLow" ^ Buildings_8_Buildings_Controls_OBC_Utilities_Validation_OptimalStartHeatingCooling_FMU.c:290:37: warning: missing terminating '"' character [-Winvalid-pp-token] should be a non-negative number" ^ Buildings_8_Buildings_Controls_OBC_Utilities_Validation_OptimalStartHeatingCooling_FMU.c:326:33: warning: missing terminating '"' character [-Winvalid-pp-token] should be greater than uLow" ^ Buildings_8_Buildings_Controls_OBC_Utilities_Validation_OptimalStartHeatingCooling_FMU.c:328:37: warning: missing terminating '"' character [-Winvalid-pp-token] should be a non-negative number" ^ Buildings_8_Buildings_Controls_OBC_Utilities_Validation_OptimalStartHeatingCooling_FMU.c:332:31: warning: missing terminating '"' character [-Winvalid-pp-token] must be greater than uLow" ^ Buildings_8_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_8_Buildings_Controls_OBC_Utilities_Validation_OptimalStartHeatingCooling_FMU.c:809: include/fmi2/fmu2_model_interface.c:382:3: warning: implicit declaration of function 'Buildings_8_Buildings_Controls_OBC_Utilities_Validation_OptimalStartHeatingCooling_setupDataStruc' is invalid in C99 [-Wimplicit-function-declaration] fmu2_model_interface_setupDataStruc(comp->fmuData); ^ Buildings_8_Buildings_Controls_OBC_Utilities_Validation_OptimalStartHeatingCooling_FMU.c:808:45: note: expanded from macro 'fmu2_model_interface_setupDataStruc' #define fmu2_model_interface_setupDataStruc Buildings_8_Buildings_Controls_OBC_Utilities_Validation_OptimalStartHeatingCooling_setupDataStruc ^ In file included from Buildings_8_Buildings_Controls_OBC_Utilities_Validation_OptimalStartHeatingCooling_FMU.c:809: include/fmi2/fmu2_model_interface.c:580:5: warning: implicit declaration of function 'Buildings_8_Buildings_Controls_OBC_Utilities_Validation_OptimalStartHeatingCooling_setupDataStruc' is invalid in C99 [-Wimplicit-function-declaration] fmu2_model_interface_setupDataStruc(comp->fmuData); ^ Buildings_8_Buildings_Controls_OBC_Utilities_Validation_OptimalStartHeatingCooling_FMU.c:808:45: note: expanded from macro 'fmu2_model_interface_setupDataStruc' #define fmu2_model_interface_setupDataStruc Buildings_8_Buildings_Controls_OBC_Utilities_Validation_OptimalStartHeatingCooling_setupDataStruc ^ 10 warnings and 2 errors generated. make: *** [: Buildings_8_Buildings_Controls_OBC_Utilities_Validation_OptimalStartHeatingCooling_FMU.o] Error 1 make: Leaving directory '/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_8_Buildings.Controls.OBC.Utilities.Validation.OptimalStartHeatingCooling/Buildings_8_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_8_Buildings_Controls_OBC_Utilities_Validation_OptimalStartHeatingCooling.def Buildings_8_Buildings_Controls_OBC_Utilities_Validation_OptimalStartHeatingCooling.o Buildings_8_Buildings_Controls_OBC_Utilities_Validation_OptimalStartHeatingCooling.a Buildings_8_Buildings_Controls_OBC_Utilities_Validation_OptimalStartHeatingCooling.so Buildings_8_Buildings_Controls_OBC_Utilities_Validation_OptimalStartHeatingCooling_FMU.o Buildings_8_Buildings_Controls_OBC_Utilities_Validation_OptimalStartHeatingCooling.o Buildings_8_Buildings_Controls_OBC_Utilities_Validation_OptimalStartHeatingCooling_functions.o Buildings_8_Buildings_Controls_OBC_Utilities_Validation_OptimalStartHeatingCooling_records.o Buildings_8_Buildings_Controls_OBC_Utilities_Validation_OptimalStartHeatingCooling_01exo.o Buildings_8_Buildings_Controls_OBC_Utilities_Validation_OptimalStartHeatingCooling_02nls.o Buildings_8_Buildings_Controls_OBC_Utilities_Validation_OptimalStartHeatingCooling_03lsy.o Buildings_8_Buildings_Controls_OBC_Utilities_Validation_OptimalStartHeatingCooling_04set.o Buildings_8_Buildings_Controls_OBC_Utilities_Validation_OptimalStartHeatingCooling_05evt.o Buildings_8_Buildings_Controls_OBC_Utilities_Validation_OptimalStartHeatingCooling_06inz.o Buildings_8_Buildings_Controls_OBC_Utilities_Validation_OptimalStartHeatingCooling_07dly.o Buildings_8_Buildings_Controls_OBC_Utilities_Validation_OptimalStartHeatingCooling_08bnd.o Buildings_8_Buildings_Controls_OBC_Utilities_Validation_OptimalStartHeatingCooling_09alg.o Buildings_8_Buildings_Controls_OBC_Utilities_Validation_OptimalStartHeatingCooling_10asr.o Buildings_8_Buildings_Controls_OBC_Utilities_Validation_OptimalStartHeatingCooling_11mix.o Buildings_8_Buildings_Controls_OBC_Utilities_Validation_OptimalStartHeatingCooling_12jac.o Buildings_8_Buildings_Controls_OBC_Utilities_Validation_OptimalStartHeatingCooling_13opt.o Buildings_8_Buildings_Controls_OBC_Utilities_Validation_OptimalStartHeatingCooling_14lnz.o Buildings_8_Buildings_Controls_OBC_Utilities_Validation_OptimalStartHeatingCooling_15syn.o Buildings_8_Buildings_Controls_OBC_Utilities_Validation_OptimalStartHeatingCooling_16dae.o Buildings_8_Buildings_Controls_OBC_Utilities_Validation_OptimalStartHeatingCooling_17inl.o Buildings_8_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