Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.OBC.ASHRAE.G36_PR1.Generic.SetPoints.Validation.OperationMode.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.ASHRAE.G36_PR1.Generic.SetPoints.Validation.OperationMode,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Controls_OBC_ASHRAE_G36_PR1_Generic_SetPoints_Validation_OperationMode",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.ASHRAE.G36_PR1.Generic.SetPoints.Validation.OperationMode,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Controls_OBC_ASHRAE_G36_PR1_Generic_SetPoints_Validation_OperationMode",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.22/1.22, allocations: 249.4 MB / 256.7 MB, free: 7.012 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.001055/0.001055, allocations: 200.4 kB / 316 MB, free: 3.551 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.157/1.157, 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.0008781/0.0008783, allocations: 97.84 kB / 0.671 GB, free: 4.77 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.346/0.3469, allocations: 112.5 MB / 0.7808 GB, free: 103 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.162/0.5089, allocations: 106.4 MB / 0.8847 GB, free: 12.53 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.4638/0.9727, allocations: 141 MB / 1.022 GB, free: 13.7 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002139/0.973, allocations: 82.58 kB / 1.022 GB, free: 13.65 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: 248 * Number of variables: 248 Notification: Performance of Generate backend data structure: time 0.04442/1.017, allocations: 18.43 MB / 1.04 GB, free: 14.04 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 3.786e-05/1.017, allocations: 8 kB / 1.04 GB, free: 14.03 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002001/1.018, allocations: 134.4 kB / 1.041 GB, free: 13.89 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007892/1.018, allocations: 0.5712 MB / 1.041 GB, free: 13.38 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.489e-05/1.019, allocations: 42.5 kB / 1.041 GB, free: 13.35 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001137/1.019, allocations: 71.98 kB / 1.041 GB, free: 13.28 MB / 0.6667 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001033/1.02, allocations: 0.617 MB / 1.042 GB, free: 12.9 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001189/1.021, allocations: 0.7125 MB / 1.043 GB, free: 12.39 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.92e-05/1.021, allocations: 4 kB / 1.043 GB, free: 12.39 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.392e-05/1.021, allocations: 19.31 kB / 1.043 GB, free: 12.37 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.1e-05/1.021, allocations: 24 kB / 1.043 GB, free: 12.35 MB / 0.6667 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003711/1.025, allocations: 2.325 MB / 1.045 GB, free: 10.59 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001284/1.026, allocations: 0.7688 MB / 1.046 GB, free: 10.09 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004624/1.027, allocations: 318 kB / 1.046 GB, free: 9.91 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 5.402e-05/1.027, allocations: 8.781 kB / 1.046 GB, free: 9.902 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007955/1.027, allocations: 0.5038 MB / 1.046 GB, free: 9.543 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=105): time 2.945e-06/1.027, allocations: 4 kB / 1.046 GB, free: 9.539 MB / 0.6667 GB Notification: Performance of matching and sorting (n=105): time 0.001307/1.029, allocations: 0.7098 MB / 1.047 GB, free: 9.02 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.45e-05/1.029, allocations: 60.41 kB / 1.047 GB, free: 8.949 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006546/1.029, allocations: 0.5091 MB / 1.048 GB, free: 8.559 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 0.0001181/1.03, allocations: 56.38 kB / 1.048 GB, free: 8.512 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003413/1.03, allocations: 336.7 kB / 1.048 GB, free: 8.219 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 0.000233/1.03, allocations: 240.7 kB / 1.048 GB, free: 8.02 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.61e-05/1.03, allocations: 0 / 1.048 GB, free: 8.02 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.0002274/1.03, allocations: 399 kB / 1.049 GB, free: 7.656 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005338/1.031, allocations: 326.5 kB / 1.049 GB, free: 7.477 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006285/1.032, allocations: 470.2 kB / 1.049 GB, free: 7.141 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004217/1.032, allocations: 260 kB / 1.05 GB, free: 6.977 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.296e-06/1.032, allocations: 0 / 1.05 GB, free: 6.977 MB / 0.6667 GB Notification: Performance of matching and sorting (n=141) (initialization): time 0.001297/1.033, allocations: 0.8293 MB / 1.05 GB, free: 6.363 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 1.825e-05/1.033, allocations: 6.5 kB / 1.051 GB, free: 6.359 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.135e-05/1.033, allocations: 7.938 kB / 1.051 GB, free: 6.352 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.373e-05/1.033, allocations: 11.84 kB / 1.051 GB, free: 6.34 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006262/1.034, allocations: 135.9 kB / 1.051 GB, free: 6.215 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.013e-05/1.034, allocations: 4 kB / 1.051 GB, free: 6.211 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005927/1.035, allocations: 111.8 kB / 1.051 GB, free: 6.102 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.802e-05/1.035, allocations: 42.67 kB / 1.051 GB, free: 6.07 MB / 0.6667 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 100 ($PRE.opeModSel.lat.y,$PRE.opeModSel.lat1.y,$PRE.opeModSel.lat2.y,$PRE.opeModSel.lat3.y,$PRE.opeModSel.lat4.y,$whenCondition1,$PRE.occTim.tab.nextTimeEvent,$whenCondition18,$whenCondition19,$whenCondition20,$whenCondition21,$whenCondition14,$whenCondition15,$whenCondition16,$whenCondition17,$whenCondition10,$whenCondition11,$whenCondition12,$whenCondition13,$whenCondition6,$whenCondition7,$whenCondition8,$whenCondition9,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5,occTim.tab.nextTimeEvent,$PRE.occTim.tab.nextTimeEventScaled,occTim.tab.nextTimeEventScaled,lesEqu.y,lesEqu1.y,occ.y,opeModSel.yOpeMod,opeModSel.intGreThr.y,opeModSel.intGreThr1.y,$PRE.opeModSel.falEdg.not_u,opeModSel.falEdg.not_u,$PRE.opeModSel.lat.u,opeModSel.lat.u,$PRE.opeModSel.lat.clr,opeModSel.lat.clr,opeModSel.lat.y,$PRE.opeModSel.lat1.u,opeModSel.lat1.u,$PRE.opeModSel.lat1.clr,opeModSel.lat1.clr,opeModSel.lat1.y,$PRE.opeModSel.lat2.u,opeModSel.lat2.u,$PRE.opeModSel.lat2.clr,opeModSel.lat2.clr,opeModSel.lat2.y,$PRE.opeModSel.falEdg1.not_u,opeModSel.falEdg1.not_u,$PRE.opeModSel.hys2.y,opeModSel.hys2.y,$PRE.opeModSel.hys3.y,opeModSel.hys3.y,$PRE.opeModSel.hys4.y,opeModSel.hys4.y,$PRE.opeModSel.hys5.y,opeModSel.hys5.y,$PRE.opeModSel.hys9.y,opeModSel.hys9.y,$PRE.opeModSel.hys10.y,opeModSel.hys10.y,$PRE.opeModSel.lat3.u,opeModSel.lat3.u,$PRE.opeModSel.lat3.clr,opeModSel.lat3.clr,opeModSel.lat3.y,$PRE.opeModSel.lat4.u,opeModSel.lat4.u,$PRE.opeModSel.lat4.clr,opeModSel.lat4.clr,opeModSel.lat4.y,opeModSel.intGreThr2.y,opeModSel.intGreThr3.y,opeModSel.addInt.u1,opeModSel.addInt.u2,opeModSel.addInt.y,opeModSel.addInt1.u1,opeModSel.addInt1.y,opeModSel.addInt2.u1,opeModSel.addInt2.u2,opeModSel.addInt2.y,opeModSel.addInt3.u2,opeModSel.addInt3.y,opeModSel.addInt4.u2,opeModSel.addInt4.y,opeModSel.booToInt3.u,opeModSel.and1.y,opeModSel.and2.y,opeModSel.or3.y,opeModSel.or5.y,opeModSel.and3.u2,opeModSel.not1.y,booToInt.y,booToInt1.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (141): * Single equations (assignments): 141 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002436/1.035, allocations: 173.6 kB / 1.051 GB, free: 5.898 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000131/1.035, allocations: 86.97 kB / 1.051 GB, free: 5.812 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001254/1.036, allocations: 0.7694 MB / 1.052 GB, free: 5.289 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.977e-06/1.036, allocations: 12 kB / 1.052 GB, free: 5.277 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.129e-06/1.037, allocations: 0 / 1.052 GB, free: 5.277 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.758e-06/1.037, allocations: 7.969 kB / 1.052 GB, free: 5.27 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002052/1.039, allocations: 1.653 MB / 1.053 GB, free: 4.035 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.647e-06/1.039, allocations: 0 / 1.053 GB, free: 4.035 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000459/1.039, allocations: 106.8 kB / 1.054 GB, free: 3.938 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.057e-06/1.039, allocations: 4 kB / 1.054 GB, free: 3.934 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.599e-05/1.039, allocations: 23.58 kB / 1.054 GB, free: 3.914 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.869e-06/1.039, allocations: 4 kB / 1.054 GB, free: 3.91 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.446e-06/1.039, allocations: 0 / 1.054 GB, free: 3.91 MB / 0.6667 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001134/1.04, allocations: 0.8411 MB / 1.054 GB, free: 3.266 MB / 0.6667 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001271/1.042, allocations: 1.232 MB / 1.056 GB, free: 2.227 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001291/1.042, allocations: 159.3 kB / 1.056 GB, free: 2.055 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001619/1.042, allocations: 30.05 kB / 1.056 GB, free: 2.039 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005027/1.042, allocations: 71.88 kB / 1.056 GB, free: 1.969 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003691/1.043, allocations: 188.6 kB / 1.056 GB, free: 1.832 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.118e-05/1.043, allocations: 46.84 kB / 1.056 GB, free: 1.797 MB / 0.6667 GB Notification: Performance of sort global known variables: time 0.0003939/1.043, allocations: 330 kB / 1.056 GB, free: 1.551 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.001254/1.045, allocations: 213.6 kB / 1.057 GB, free: 1.348 MB / 0.6667 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 75 ($whenCondition18,$whenCondition19,$whenCondition20,$whenCondition21,$whenCondition14,$whenCondition15,$whenCondition16,$whenCondition17,$whenCondition10,$whenCondition11,$whenCondition12,$whenCondition13,$whenCondition6,$whenCondition7,$whenCondition8,$whenCondition9,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5,$whenCondition1,occTim.tab.nextTimeEvent,occTim.tab.nextTimeEventScaled,lesEqu.y,lesEqu1.y,occ.y,opeModSel.yOpeMod,opeModSel.intGreThr.y,opeModSel.intGreThr1.y,opeModSel.falEdg.not_u,opeModSel.lat.u,opeModSel.lat.clr,opeModSel.lat.y,opeModSel.lat1.u,opeModSel.lat1.clr,opeModSel.lat1.y,opeModSel.lat2.u,opeModSel.lat2.clr,opeModSel.lat2.y,opeModSel.falEdg1.not_u,opeModSel.hys2.y,opeModSel.hys3.y,opeModSel.hys4.y,opeModSel.hys5.y,opeModSel.hys9.y,opeModSel.hys10.y,opeModSel.lat3.u,opeModSel.lat3.clr,opeModSel.lat3.y,opeModSel.lat4.u,opeModSel.lat4.clr,opeModSel.lat4.y,opeModSel.intGreThr2.y,opeModSel.intGreThr3.y,opeModSel.addInt.u1,opeModSel.addInt.u2,opeModSel.addInt.y,opeModSel.addInt1.u1,opeModSel.addInt1.y,opeModSel.addInt2.u1,opeModSel.addInt2.u2,opeModSel.addInt2.y,opeModSel.addInt3.u2,opeModSel.addInt3.y,opeModSel.addInt4.u2,opeModSel.addInt4.y,opeModSel.booToInt3.u,opeModSel.and1.y,opeModSel.and2.y,opeModSel.or3.y,opeModSel.or5.y,opeModSel.and3.u2,opeModSel.not1.y,booToInt.y,booToInt1.y) * Number of discrete states: 25 (occTim.tab.nextTimeEvent,opeModSel.hys2.y,opeModSel.hys3.y,opeModSel.hys4.y,opeModSel.hys5.y,opeModSel.hys9.y,opeModSel.hys10.y,opeModSel.lat1.u,opeModSel.lat1.clr,opeModSel.lat3.u,opeModSel.lat3.clr,opeModSel.lat4.u,opeModSel.lat4.clr,opeModSel.falEdg.not_u,opeModSel.lat.u,opeModSel.lat.clr,opeModSel.falEdg1.not_u,opeModSel.lat2.u,opeModSel.lat2.clr,opeModSel.lat4.y,opeModSel.lat3.y,opeModSel.lat2.y,opeModSel.lat1.y,opeModSel.lat.y,occTim.tab.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (106): * Single equations (assignments): 99 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 7 * 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.0008116/1.045, allocations: 379.3 kB / 1.057 GB, free: 1.062 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.001222/1.047, allocations: 0.8212 MB / 1.058 GB, free: 0.5312 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/1.047, allocations: 0 / 1.058 GB, free: 0.5312 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.0006504/1.047, allocations: 0.4928 MB / 1.058 GB, free: 224 kB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004597/1.048, allocations: 80.44 kB / 1.058 GB, free: 160 kB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002374/1.05, allocations: 1.202 MB / 1.059 GB, free: 15.12 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008837/1.051, allocations: 1.147 MB / 1.061 GB, free: 13.95 MB / 0.6823 GB Notification: Performance of SimCode: time 3.005e-06/1.051, allocations: 7.938 kB / 1.061 GB, free: 13.95 MB / 0.6823 GB (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.ASHRAE.G36_PR1.Generic.SetPoints.Validation.OperationMode.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.ASHRAE.G36_PR1.Generic.SetPoints.Validation.OperationMode.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.ASHRAE.G36_PR1.Generic.SetPoints.Validation.OperationMode.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.ASHRAE.G36_PR1.Generic.SetPoints.Validation.OperationMode.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Controls_OBC_ASHRAE_G36_PR1_Generic_SetPoints_Validation_OperationMode_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Controls_OBC_ASHRAE_G36_PR1_Generic_SetPoints_Validation_OperationMode.fmu > Buildings_maint.7.0.x_Buildings.Controls.OBC.ASHRAE.G36_PR1.Generic.SetPoints.Validation.OperationMode.pipe 2>&1)