Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.OBC.Utilities.Validation.OptimalStartHeatingCooling.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.Utilities.Validation.OptimalStartHeatingCooling,fileNamePrefix="Buildings_maint_7_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_7_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 7.0.3-maint.7.0.x/package.mo): time 1.219/1.219, allocations: 249.4 MB / 256.7 MB, free: 6.977 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009519/0.000952, allocations: 196.2 kB / 316 MB, free: 3.562 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.176/1.176, allocations: 205.1 MB / 0.5667 GB, free: 15.64 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008918/0.0008918, allocations: 90.38 kB / 0.671 GB, free: 4.773 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.3604/0.3614, allocations: 112.5 MB / 0.7808 GB, free: 103 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.172/0.5334, allocations: 106.3 MB / 0.8847 GB, free: 12.56 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.5655/1.099, allocations: 143.1 MB / 1.024 GB, free: 11.71 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002584/1.099, allocations: 75.81 kB / 1.024 GB, free: 11.67 MB / 0.6511 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 474 * Number of variables: 474 Notification: Performance of Generate backend data structure: time 0.08103/1.18, allocations: 35.25 MB / 1.059 GB, free: 15.05 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.524e-05/1.18, allocations: 15.94 kB / 1.059 GB, free: 15.03 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004992/1.181, allocations: 237.4 kB / 1.059 GB, free: 14.8 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001855/1.183, allocations: 1.075 MB / 1.06 GB, free: 14 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001255/1.183, allocations: 85.78 kB / 1.06 GB, free: 13.93 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002822/1.183, allocations: 155.6 kB / 1.06 GB, free: 13.78 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002468/1.186, allocations: 1.255 MB / 1.062 GB, free: 13.06 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002945/1.189, allocations: 1.804 MB / 1.063 GB, free: 11.72 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.983e-05/1.189, allocations: 11.94 kB / 1.063 GB, free: 11.71 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001481/1.189, allocations: 19.53 kB / 1.063 GB, free: 11.69 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.117e-05/1.189, allocations: 47.91 kB / 1.064 GB, free: 11.64 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008789/1.198, allocations: 6.848 MB / 1.07 GB, free: 6.438 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002657/1.2, allocations: 1.563 MB / 1.072 GB, free: 5.441 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001109/1.202, allocations: 0.6963 MB / 1.072 GB, free: 5.031 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 8.199e-05/1.202, allocations: 33.78 kB / 1.072 GB, free: 5.004 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001652/1.203, allocations: 1.007 MB / 1.073 GB, free: 4.312 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=205): time 6.723e-06/1.203, allocations: 0 / 1.073 GB, free: 4.312 MB / 0.6823 GB Notification: Performance of matching and sorting (n=205): time 0.002836/1.206, allocations: 1.447 MB / 1.075 GB, free: 3.273 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001135/1.206, allocations: 180.3 kB / 1.075 GB, free: 3.074 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00135/1.208, allocations: 0.7256 MB / 1.076 GB, free: 2.523 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0003338/1.208, allocations: 96.11 kB / 1.076 GB, free: 2.453 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006576/1.209, allocations: 0.5495 MB / 1.076 GB, free: 1.969 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005453/1.209, allocations: 0.509 MB / 1.077 GB, free: 1.535 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000168/1.209, allocations: 4 kB / 1.077 GB, free: 1.531 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001904/1.21, allocations: 402.6 kB / 1.077 GB, free: 1.172 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001323/1.211, allocations: 0.6425 MB / 1.078 GB, free: 0.8125 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001736/1.213, allocations: 1.082 MB / 1.079 GB, free: 15.85 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001375/1.214, allocations: 0.6796 MB / 1.08 GB, free: 15.17 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.25e-05/1.214, allocations: 4 kB / 1.08 GB, free: 15.17 MB / 0.698 GB Notification: Performance of matching and sorting (n=310) (initialization): time 0.00351/1.218, allocations: 1.867 MB / 1.081 GB, free: 13.29 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.001695/1.219, allocations: 3.837 MB / 1.085 GB, free: 9.16 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.503e-05/1.219, allocations: 12 kB / 1.085 GB, free: 9.148 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.159e-05/1.219, allocations: 20 kB / 1.085 GB, free: 9.129 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001313/1.221, allocations: 331.4 kB / 1.085 GB, free: 8.805 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.464e-05/1.221, allocations: 31.92 kB / 1.086 GB, free: 8.773 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001473/1.222, allocations: 226.7 kB / 1.086 GB, free: 8.551 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002659/1.223, allocations: 99.95 kB / 1.086 GB, free: 8.453 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.232e-05/1.223, allocations: 4 kB / 1.086 GB, free: 8.449 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003102/1.226, allocations: 1.653 MB / 1.087 GB, free: 6.797 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.366e-05/1.226, allocations: 8 kB / 1.087 GB, free: 6.789 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.169e-05/1.226, allocations: 28.09 kB / 1.087 GB, free: 6.762 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001109/1.227, allocations: 311.3 kB / 1.088 GB, free: 6.457 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.454e-05/1.227, allocations: 27.92 kB / 1.088 GB, free: 6.43 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001362/1.228, allocations: 210.8 kB / 1.088 GB, free: 6.223 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002148/1.228, allocations: 87.98 kB / 1.088 GB, free: 6.137 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 44 * Number of states: 0 () * Number of discrete variables: 209 ($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.yAcc,optSta.optCoo.tim.yAcc,$PRE.optSta.optHea.tim.yAcc,optSta.optHea.tim.yAcc,$whenCondition17,$PRE.optSta.optCoo.truHol.onDelay.t_next,$whenCondition4,$PRE.optSta.optHea.truHol.onDelay.t_next,$whenCondition1,optSta.optHea.lesEquThr2.y,$whenCondition15,optSta.optCoo.lesEquThr2.y,optSta.optCoo.truHol.onDelay.t_next,optSta.optCoo.triMovMea.y,$PRE.optSta.optCoo.triMovMea.iSample,optSta.optCoo.triMovMea.iSample,$PRE.optSta.optCoo.triMovMea.counter,optSta.optCoo.triMovMea.counter,optSta.optCoo.triMovMea.index,$PRE.optSta.optCoo.triMovMea.ySample[1],optSta.optCoo.triMovMea.ySample[1],$PRE.optSta.optCoo.triMovMea.ySample[2],optSta.optCoo.triMovMea.ySample[2],$PRE.optSta.optCoo.triMovMea.ySample[3],optSta.optCoo.triMovMea.ySample[3],$PRE.optSta.optCoo.triSam2.y,optSta.optCoo.triSam2.y,$PRE.optSta.optCoo.triSam3.y,optSta.optCoo.triSam3.y,optSta.optCoo.lesEquThr.y,optSta.optCoo.lesEquThr1.y,$PRE.optSta.optCoo.triSam.y,optSta.optCoo.triSam.y,$PRE.optSta.optCoo.triSam1.y,optSta.optCoo.triSam1.y,optSta.optHea.truHol.onDelay.t_next,optSta.optHea.triMovMea.y,$PRE.optSta.optHea.triMovMea.iSample,optSta.optHea.triMovMea.iSample,$PRE.optSta.optHea.triMovMea.counter,optSta.optHea.triMovMea.counter,optSta.optHea.triMovMea.index,$PRE.optSta.optHea.triMovMea.ySample[1],optSta.optHea.triMovMea.ySample[1],$PRE.optSta.optHea.triMovMea.ySample[2],optSta.optHea.triMovMea.ySample[2],$PRE.optSta.optHea.triMovMea.ySample[3],optSta.optHea.triMovMea.ySample[3],$PRE.optSta.optHea.triSam2.y,optSta.optHea.triSam2.y,$PRE.optSta.optHea.triSam3.y,optSta.optHea.triSam3.y,optSta.optHea.lesEquThr.y,optSta.optHea.lesEquThr1.y,$PRE.optSta.optHea.triSam.y,optSta.optHea.triSam.y,$PRE.optSta.optHea.triSam1.y,optSta.optHea.triSam1.y,optSta.optHea.truHol.stateGraphRoot.resume,optSta.optHea.truHol.stateGraphRoot.suspend,optSta.optCoo.truHol.stateGraphRoot.resume,optSta.optCoo.truHol.stateGraphRoot.suspend,$whenCondition30,$whenCondition28,$whenCondition29,$whenCondition26,$whenCondition27,$whenCondition22,$whenCondition23,$whenCondition24,$whenCondition25,$whenCondition21,$whenCondition20,$whenCondition18,$whenCondition19,$whenCondition16,$whenCondition13,$whenCondition14,$whenCondition9,$whenCondition10,$whenCondition11,$whenCondition12,$whenCondition8,$whenCondition7,$whenCondition5,$whenCondition6,$whenCondition3,$whenCondition2,$PRE.optSta.hysSta.y,optSta.hysSta.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.triSam4.y,optSta.optHea.triSam4.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.triSam4.y,optSta.optCoo.triSam4.y,optSta.optCoo.and2.u1,booToRea1.u,$PRE.occSch.occupied,occSch.occupied,$PRE.occSch.nexStaInd,occSch.nexStaInd,$PRE.occSch.nexStoInd,occSch.nexStoInd,$PRE.occSch.iPerSta,occSch.iPerSta,$PRE.occSch.iPerSto,occSch.iPerSto,$PRE.occSch.tOcc,occSch.tOcc,$PRE.occSch.tNonOcc,occSch.tNonOcc,$PRE.pul.T_start,pul.T_start,$PRE.pul.count,pul.count,$PRE.optSta.optHea.tim.reset_internal,optSta.optHea.tim.reset_internal,$PRE.optSta.optCoo.tim.reset_internal,optSta.optCoo.tim.reset_internal,conPID.I.trigger_internal,conPID1.I.trigger_internal,TRoo.local_reset) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (304): * Single equations (assignments): 303 * Array equations: 0 * Algorithm blocks: 1 * 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.0006166/1.229, allocations: 319.4 kB / 1.088 GB, free: 5.812 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004612/1.23, allocations: 158.2 kB / 1.089 GB, free: 5.656 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003285/1.233, allocations: 1.525 MB / 1.09 GB, free: 4.117 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.362e-05/1.233, allocations: 20 kB / 1.09 GB, free: 4.098 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.51e-05/1.233, allocations: 4 kB / 1.09 GB, free: 4.094 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.955e-05/1.233, allocations: 11.97 kB / 1.09 GB, free: 4.082 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008039/1.241, allocations: 3.647 MB / 1.094 GB, free: 372 kB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.614e-06/1.241, allocations: 0 / 1.094 GB, free: 372 kB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008357/1.242, allocations: 195.6 kB / 1.094 GB, free: 176 kB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.771e-05/1.242, allocations: 4 kB / 1.094 GB, free: 172 kB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001602/1.242, allocations: 35.94 kB / 1.094 GB, free: 136 kB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.391e-05/1.242, allocations: 8 kB / 1.094 GB, free: 128 kB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.819e-06/1.242, allocations: 0 / 1.094 GB, free: 128 kB / 0.698 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.004441/1.247, allocations: 2.504 MB / 1.096 GB, free: 13.6 MB / 0.7136 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.005616/1.252, allocations: 3.792 MB / 1.1 GB, free: 9.777 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003875/1.253, allocations: 207.3 kB / 1.1 GB, free: 9.555 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004531/1.253, allocations: 71.8 kB / 1.1 GB, free: 9.484 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009875/1.254, allocations: 115.9 kB / 1.1 GB, free: 9.371 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000442/1.255, allocations: 209.7 kB / 1.101 GB, free: 9.168 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001819/1.255, allocations: 83.94 kB / 1.101 GB, free: 9.086 MB / 0.7136 GB Notification: Performance of sort global known variables: time 0.0008331/1.256, allocations: 479.9 kB / 1.101 GB, free: 8.605 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.003914/1.26, allocations: 0.627 MB / 1.102 GB, free: 7.977 MB / 0.7136 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 3 (TRoo.y,conPID1.I.y,conPID.I.y) * Number of discrete variables: 131 (optSta.optHea.falEdg.y,optSta.optHea.edg.y,optSta.optCoo.falEdg.y,optSta.optCoo.edg.y,optSta.optCoo.staCal,optSta.optCoo.lesEquThr2.y,optSta.optCoo.truHol.onDelay.u,optSta.optCoo.truHol.outputTrue.localActive,optSta.optCoo.truHol.outputTrue.active,optSta.optCoo.truHol.initialStep.active,optSta.optHea.lesEquThr2.y,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,$whenCondition28,$whenCondition29,$whenCondition26,$whenCondition27,$whenCondition22,$whenCondition23,$whenCondition24,$whenCondition25,$whenCondition21,$whenCondition20,$whenCondition17,$whenCondition18,$whenCondition19,$whenCondition16,$whenCondition15,$whenCondition13,$whenCondition14,$whenCondition9,$whenCondition10,$whenCondition11,$whenCondition12,$whenCondition8,$whenCondition7,$whenCondition4,$whenCondition5,$whenCondition6,$whenCondition3,$whenCondition2,$whenCondition1,optSta.hysSta.y,optSta.falEdg.not_u,optSta.optHea.triMovMea.y,optSta.optHea.triMovMea.iSample,optSta.optHea.triMovMea.counter,optSta.optHea.triMovMea.index,optSta.optHea.triMovMea.ySample[1],optSta.optHea.triMovMea.ySample[2],optSta.optHea.triMovMea.ySample[3],optSta.optHea.triSam2.y,optSta.optHea.triSam3.y,optSta.optHea.edg.u,optSta.optHea.falEdg.not_u,optSta.optHea.hys.y,optSta.optHea.hysOpt.y,optSta.optHea.lesEquThr.y,optSta.optHea.lesEquThr1.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.entryTime,optSta.optHea.tim.yAcc,optSta.optHea.triSam4.y,optSta.optHea.and2.u1,optSta.optCoo.triMovMea.y,optSta.optCoo.triMovMea.iSample,optSta.optCoo.triMovMea.counter,optSta.optCoo.triMovMea.index,optSta.optCoo.triMovMea.ySample[1],optSta.optCoo.triMovMea.ySample[2],optSta.optCoo.triMovMea.ySample[3],optSta.optCoo.triSam2.y,optSta.optCoo.triSam3.y,optSta.optCoo.edg.u,optSta.optCoo.falEdg.not_u,optSta.optCoo.hys.y,optSta.optCoo.hysOpt.y,optSta.optCoo.lesEquThr.y,optSta.optCoo.lesEquThr1.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.entryTime,optSta.optCoo.tim.yAcc,optSta.optCoo.triSam4.y,optSta.optCoo.and2.u1,booToRea1.u,occSch.occupied,occSch.nexStaInd,occSch.nexStoInd,occSch.iPerSta,occSch.iPerSto,occSch.tOcc,occSch.tNonOcc,pul.T_start,pul.count) * Number of discrete states: 44 (pul.count,occSch.tNonOcc,occSch.tOcc,optSta.optCoo.truHol.onDelay.t_next,optSta.optHea.truHol.onDelay.t_next,optSta.optHea.truHol.initialStep.newActive,optSta.optHea.truHol.outputTrue.newActive,optSta.optHea.pre.u,optSta.optCoo.truHol.initialStep.newActive,optSta.optCoo.truHol.outputTrue.newActive,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,occSch.iPerSto,occSch.nexStoInd,occSch.occupied,occSch.nexStaInd,occSch.iPerSta,optSta.hysSta.y,optSta.falEdg.not_u,optSta.optCoo.tim.y,optSta.optCoo.lat.y,optSta.optCoo.edg.u,optSta.optCoo.falEdg.not_u,optSta.optCoo.triMovMea.iSample,optSta.optCoo.triMovMea.ySample[1],optSta.optCoo.triMovMea.ySample[2],optSta.optCoo.triMovMea.ySample[3],optSta.optCoo.triMovMea.counter,optSta.optCoo.hysOpt.y,optSta.optHea.tim.y,optSta.optHea.lat.y,optSta.optHea.edg.u,optSta.optHea.falEdg.not_u,optSta.optHea.triMovMea.iSample,optSta.optHea.triMovMea.ySample[1],optSta.optHea.triMovMea.ySample[2],optSta.optHea.triMovMea.ySample[3],optSta.optHea.triMovMea.counter,optSta.optHea.hysOpt.y) * Top-level inputs: 0 Notification: Strong component statistics for simulation (209): * Single equations (assignments): 162 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 47 * 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.000579/1.26, allocations: 305 kB / 1.102 GB, free: 7.664 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.005582/1.266, allocations: 2.911 MB / 1.105 GB, free: 4.742 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 4.909e-06/1.266, allocations: 0 / 1.105 GB, free: 4.742 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.001508/1.267, allocations: 0.8978 MB / 1.106 GB, free: 3.848 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001297/1.269, allocations: 183.4 kB / 1.106 GB, free: 3.672 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006217/1.275, allocations: 2.328 MB / 1.108 GB, free: 1.297 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001919/1.277, allocations: 1.511 MB / 1.11 GB, free: 15.75 MB / 0.7292 GB Notification: Performance of SimCode: time 1.122e-06/1.277, allocations: 0 / 1.11 GB, free: 15.75 MB / 0.7292 GB Error: Error building simulator. Build log: make: Entering directory '/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_maint.7.0.x_Buildings.Controls.OBC.Utilities.Validation.OptimalStartHeatingCooling/Buildings_maint_7_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_7_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_7_0_x_Buildings_Controls_OBC_Utilities_Validation_OptimalStartHeatingCooling_FMU.o Buildings_maint_7_0_x_Buildings_Controls_OBC_Utilities_Validation_OptimalStartHeatingCooling_FMU.c In file included from Buildings_maint_7_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_7_0_x_Buildings_Controls_OBC_Utilities_Validation_OptimalStartHeatingCooling_FMU.c:300:6: error: unknown type name 'should' should be greater than uLow" ^ Buildings_maint_7_0_x_Buildings_Controls_OBC_Utilities_Validation_OptimalStartHeatingCooling_FMU.c:300:15: error: expected ';' after top level declarator should be greater than uLow" ^ ; Buildings_maint_7_0_x_Buildings_Controls_OBC_Utilities_Validation_OptimalStartHeatingCooling_FMU.c:300:33: warning: missing terminating '"' character [-Winvalid-pp-token] should be greater than uLow" ^ Buildings_maint_7_0_x_Buildings_Controls_OBC_Utilities_Validation_OptimalStartHeatingCooling_FMU.c:302:37: warning: missing terminating '"' character [-Winvalid-pp-token] should be a non-negative number" ^ Buildings_maint_7_0_x_Buildings_Controls_OBC_Utilities_Validation_OptimalStartHeatingCooling_FMU.c:336:33: warning: missing terminating '"' character [-Winvalid-pp-token] should be greater than uLow" ^ Buildings_maint_7_0_x_Buildings_Controls_OBC_Utilities_Validation_OptimalStartHeatingCooling_FMU.c:338:37: warning: missing terminating '"' character [-Winvalid-pp-token] should be a non-negative number" ^ Buildings_maint_7_0_x_Buildings_Controls_OBC_Utilities_Validation_OptimalStartHeatingCooling_FMU.c:343:31: warning: missing terminating '"' character [-Winvalid-pp-token] must be greater than uLow" ^ Buildings_maint_7_0_x_Buildings_Controls_OBC_Utilities_Validation_OptimalStartHeatingCooling_FMU.c:345:35: warning: missing terminating '"' character [-Winvalid-pp-token] must be a non-negative number" ^ In file included from Buildings_maint_7_0_x_Buildings_Controls_OBC_Utilities_Validation_OptimalStartHeatingCooling_FMU.c:808: include/fmi2/fmu2_model_interface.c:382:3: warning: implicit declaration of function 'Buildings_maint_7_0_x_Buildings_Controls_OBC_Utilities_Validation_OptimalStartHeatingCooling_setupDataStruc' is invalid in C99 [-Wimplicit-function-declaration] fmu2_model_interface_setupDataStruc(comp->fmuData); ^ Buildings_maint_7_0_x_Buildings_Controls_OBC_Utilities_Validation_OptimalStartHeatingCooling_FMU.c:807:45: note: expanded from macro 'fmu2_model_interface_setupDataStruc' #define fmu2_model_interface_setupDataStruc Buildings_maint_7_0_x_Buildings_Controls_OBC_Utilities_Validation_OptimalStartHeatingCooling_setupDataStruc ^ In file included from Buildings_maint_7_0_x_Buildings_Controls_OBC_Utilities_Validation_OptimalStartHeatingCooling_FMU.c:808: include/fmi2/fmu2_model_interface.c:580:5: warning: implicit declaration of function 'Buildings_maint_7_0_x_Buildings_Controls_OBC_Utilities_Validation_OptimalStartHeatingCooling_setupDataStruc' is invalid in C99 [-Wimplicit-function-declaration] fmu2_model_interface_setupDataStruc(comp->fmuData); ^ Buildings_maint_7_0_x_Buildings_Controls_OBC_Utilities_Validation_OptimalStartHeatingCooling_FMU.c:807:45: note: expanded from macro 'fmu2_model_interface_setupDataStruc' #define fmu2_model_interface_setupDataStruc Buildings_maint_7_0_x_Buildings_Controls_OBC_Utilities_Validation_OptimalStartHeatingCooling_setupDataStruc ^ 10 warnings and 2 errors generated. make: *** [: Buildings_maint_7_0_x_Buildings_Controls_OBC_Utilities_Validation_OptimalStartHeatingCooling_FMU.o] Error 1 make: Leaving directory '/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_maint.7.0.x_Buildings.Controls.OBC.Utilities.Validation.OptimalStartHeatingCooling/Buildings_maint_7_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_7_0_x_Buildings_Controls_OBC_Utilities_Validation_OptimalStartHeatingCooling.def Buildings_maint_7_0_x_Buildings_Controls_OBC_Utilities_Validation_OptimalStartHeatingCooling.o Buildings_maint_7_0_x_Buildings_Controls_OBC_Utilities_Validation_OptimalStartHeatingCooling.a Buildings_maint_7_0_x_Buildings_Controls_OBC_Utilities_Validation_OptimalStartHeatingCooling.so Buildings_maint_7_0_x_Buildings_Controls_OBC_Utilities_Validation_OptimalStartHeatingCooling_FMU.o Buildings_maint_7_0_x_Buildings_Controls_OBC_Utilities_Validation_OptimalStartHeatingCooling.o Buildings_maint_7_0_x_Buildings_Controls_OBC_Utilities_Validation_OptimalStartHeatingCooling_functions.o Buildings_maint_7_0_x_Buildings_Controls_OBC_Utilities_Validation_OptimalStartHeatingCooling_records.o Buildings_maint_7_0_x_Buildings_Controls_OBC_Utilities_Validation_OptimalStartHeatingCooling_01exo.o Buildings_maint_7_0_x_Buildings_Controls_OBC_Utilities_Validation_OptimalStartHeatingCooling_02nls.o Buildings_maint_7_0_x_Buildings_Controls_OBC_Utilities_Validation_OptimalStartHeatingCooling_03lsy.o Buildings_maint_7_0_x_Buildings_Controls_OBC_Utilities_Validation_OptimalStartHeatingCooling_04set.o Buildings_maint_7_0_x_Buildings_Controls_OBC_Utilities_Validation_OptimalStartHeatingCooling_05evt.o Buildings_maint_7_0_x_Buildings_Controls_OBC_Utilities_Validation_OptimalStartHeatingCooling_06inz.o Buildings_maint_7_0_x_Buildings_Controls_OBC_Utilities_Validation_OptimalStartHeatingCooling_07dly.o Buildings_maint_7_0_x_Buildings_Controls_OBC_Utilities_Validation_OptimalStartHeatingCooling_08bnd.o Buildings_maint_7_0_x_Buildings_Controls_OBC_Utilities_Validation_OptimalStartHeatingCooling_09alg.o Buildings_maint_7_0_x_Buildings_Controls_OBC_Utilities_Validation_OptimalStartHeatingCooling_10asr.o Buildings_maint_7_0_x_Buildings_Controls_OBC_Utilities_Validation_OptimalStartHeatingCooling_11mix.o Buildings_maint_7_0_x_Buildings_Controls_OBC_Utilities_Validation_OptimalStartHeatingCooling_12jac.o Buildings_maint_7_0_x_Buildings_Controls_OBC_Utilities_Validation_OptimalStartHeatingCooling_13opt.o Buildings_maint_7_0_x_Buildings_Controls_OBC_Utilities_Validation_OptimalStartHeatingCooling_14lnz.o Buildings_maint_7_0_x_Buildings_Controls_OBC_Utilities_Validation_OptimalStartHeatingCooling_15syn.o Buildings_maint_7_0_x_Buildings_Controls_OBC_Utilities_Validation_OptimalStartHeatingCooling_16dae.o Buildings_maint_7_0_x_Buildings_Controls_OBC_Utilities_Validation_OptimalStartHeatingCooling_17inl.o Buildings_maint_7_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