Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Controls.OBC.ASHRAE.G36_PR1.Generic.SetPoints.Validation.OperationMode.conf.json 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.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.ASHRAE.G36_PR1.Generic.SetPoints.Validation.OperationMode,fileNamePrefix="Buildings_7_0_0_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.1/package.mo): time 2.213/2.213, allocations: 248.6 MB / 255.9 MB, free: 372 kB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001646/0.001645, allocations: 182.2 kB / 315.1 MB, free: 7.781 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.452/2.452, allocations: 205.1 MB / 0.5658 GB, free: 25.49 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.001817/0.001817, allocations: 87.05 kB / 0.67 GB, free: 2.969 MB / 0.4948 GB Notification: Performance of FrontEnd - loaded program: time 0.3274/0.3293, allocations: 112.4 MB / 0.7798 GB, free: 2.449 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5504/0.8798, allocations: 106.2 MB / 0.8835 GB, free: 77.29 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2637/1.144, allocations: 139.8 MB / 1.02 GB, free: 1.324 MB / 0.6667 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004164/1.144, allocations: 75.95 kB / 1.02 GB, free: 1.25 MB / 0.6667 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.3904/1.534, allocations: 18.42 MB / 1.038 GB, free: 200.7 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.553e-05/1.535, allocations: 11.66 kB / 1.038 GB, free: 200.7 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000601/1.535, allocations: 131 kB / 1.038 GB, free: 200.6 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001618/1.537, allocations: 0.5699 MB / 1.039 GB, free: 200.3 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001089/1.537, allocations: 44.34 kB / 1.039 GB, free: 200.3 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002775/1.537, allocations: 81.73 kB / 1.039 GB, free: 200.3 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002382/1.54, allocations: 0.6174 MB / 1.039 GB, free: 200.3 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002391/1.542, allocations: 0.7118 MB / 1.04 GB, free: 200.3 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.612e-05/1.542, allocations: 3.062 kB / 1.04 GB, free: 200.3 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001363/1.542, allocations: 15.31 kB / 1.04 GB, free: 200.3 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.627e-05/1.542, allocations: 22.88 kB / 1.04 GB, free: 200.3 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007736/1.55, allocations: 2.322 MB / 1.042 GB, free: 199.9 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002436/1.553, allocations: 0.7746 MB / 1.043 GB, free: 199.9 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008757/1.554, allocations: 309.4 kB / 1.044 GB, free: 199.9 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 7e-05/1.554, allocations: 17.92 kB / 1.044 GB, free: 199.9 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001306/1.555, allocations: 0.5035 MB / 1.044 GB, free: 199.8 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=105): time 4.589e-06/1.555, allocations: 0 / 1.044 GB, free: 199.8 MB / 0.6823 GB Notification: Performance of matching and sorting (n=105): time 0.002221/1.557, allocations: 0.7079 MB / 1.045 GB, free: 199.7 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.533e-05/1.557, allocations: 69.48 kB / 1.045 GB, free: 199.7 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001038/1.558, allocations: 0.5098 MB / 1.045 GB, free: 199.5 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0003066/1.559, allocations: 53.58 kB / 1.045 GB, free: 199.5 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003094/1.559, allocations: 329.2 kB / 1.046 GB, free: 199.3 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003346/1.559, allocations: 255.7 kB / 1.046 GB, free: 199.2 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.087e-05/1.559, allocations: 0 / 1.046 GB, free: 199.2 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001584/1.56, allocations: 397 kB / 1.046 GB, free: 198.9 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001004/1.561, allocations: 321.5 kB / 1.047 GB, free: 198.9 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001324/1.562, allocations: 466.4 kB / 1.047 GB, free: 198.7 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001663/1.564, allocations: 265.2 kB / 1.047 GB, free: 198.7 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.042e-05/1.564, allocations: 7.656 kB / 1.047 GB, free: 198.7 MB / 0.6823 GB Notification: Performance of matching and sorting (n=141) (initialization): time 0.005094/1.569, allocations: 0.8304 MB / 1.048 GB, free: 198.6 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 3.646e-05/1.569, allocations: 8.062 kB / 1.048 GB, free: 198.6 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.66e-05/1.569, allocations: 0 / 1.048 GB, free: 198.6 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.092e-05/1.569, allocations: 7.438 kB / 1.048 GB, free: 198.6 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001653/1.571, allocations: 134.7 kB / 1.048 GB, free: 198.6 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.036e-05/1.571, allocations: 11.39 kB / 1.048 GB, free: 198.6 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001871/1.573, allocations: 109.8 kB / 1.048 GB, free: 198.6 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003667/1.573, allocations: 36.47 kB / 1.048 GB, free: 198.6 MB / 0.6823 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.0005251/1.574, allocations: 177.8 kB / 1.049 GB, free: 198.5 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000371/1.574, allocations: 87.55 kB / 1.049 GB, free: 198.4 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003421/1.578, allocations: 0.7761 MB / 1.049 GB, free: 198.4 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.092e-05/1.578, allocations: 19.47 kB / 1.049 GB, free: 198.4 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.037e-06/1.578, allocations: 3.844 kB / 1.049 GB, free: 198.4 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.859e-05/1.578, allocations: 3.375 kB / 1.049 GB, free: 198.4 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003894/1.582, allocations: 1.647 MB / 1.051 GB, free: 198.1 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-05/1.582, allocations: 0 / 1.051 GB, free: 198.1 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001185/1.583, allocations: 102.3 kB / 1.051 GB, free: 198.1 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.844e-05/1.583, allocations: 3.688 kB / 1.051 GB, free: 198.1 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001439/1.583, allocations: 18.42 kB / 1.051 GB, free: 198.1 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.149e-05/1.583, allocations: 7.094 kB / 1.051 GB, free: 198.1 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.008e-06/1.583, allocations: 1.094 kB / 1.051 GB, free: 198.1 MB / 0.6823 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002195/1.585, allocations: 0.8479 MB / 1.052 GB, free: 197.9 MB / 0.6823 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.002325/1.588, allocations: 1.232 MB / 1.053 GB, free: 197.3 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002174/1.588, allocations: 151.7 kB / 1.053 GB, free: 197.2 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003052/1.588, allocations: 23.5 kB / 1.053 GB, free: 197.2 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001092/1.589, allocations: 73.94 kB / 1.053 GB, free: 197.2 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009164/1.59, allocations: 189.6 kB / 1.054 GB, free: 197.2 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002168/1.591, allocations: 46.48 kB / 1.054 GB, free: 197.2 MB / 0.6823 GB Notification: Performance of sort global known variables: time 0.0007123/1.591, allocations: 331.5 kB / 1.054 GB, free: 197.1 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.002237/1.594, allocations: 207.5 kB / 1.054 GB, free: 197 MB / 0.6823 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.001757/1.595, allocations: 397.3 kB / 1.055 GB, free: 196.9 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.003895/1.599, allocations: 0.8209 MB / 1.055 GB, free: 196.9 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 9.167e-06/1.599, allocations: 1.281 kB / 1.055 GB, free: 196.9 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.00212/1.601, allocations: 0.4957 MB / 1.056 GB, free: 196.9 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0014/1.603, allocations: 66.31 kB / 1.056 GB, free: 196.9 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005701/1.609, allocations: 1.21 MB / 1.057 GB, free: 196.5 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00141/1.61, allocations: 1.156 MB / 1.058 GB, free: 195.8 MB / 0.6823 GB Notification: Performance of SimCode: time 1.162e-06/1.61, allocations: 1.344 kB / 1.058 GB, free: 195.8 MB / 0.6823 GB