Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingModeNonIntegrated.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.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingModeNonIntegrated,fileNamePrefix="Buildings_8_Buildings_Applications_DataCenters_ChillerCooled_Controls_Validation_CoolingModeNonIntegrated",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingModeNonIntegrated,fileNamePrefix="Buildings_8_Buildings_Applications_DataCenters_ChillerCooled_Controls_Validation_CoolingModeNonIntegrated",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.368/1.368, allocations: 289.8 MB / 297.1 MB, free: 6.621 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009918/0.0009919, allocations: 185.2 kB / 366.3 MB, free: 1.977 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.101/1.101, allocations: 205.1 MB / 0.6256 GB, free: 7.457 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008419/0.0008418, allocations: 88.44 kB / 0.7395 GB, free: 39.87 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.2145/0.2154, allocations: 122.4 MB / 0.8591 GB, free: 13.48 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4667/0.6821, allocations: 116.3 MB / 0.9727 GB, free: 76.4 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1451/0.8272, allocations: 146.1 MB / 1.115 GB, free: 4.367 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002214/0.8275, allocations: 96.58 kB / 1.115 GB, free: 4.273 MB / 0.7136 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 79 * Number of variables: 79 Notification: Performance of Generate backend data structure: time 0.02552/0.853, allocations: 10.17 MB / 1.125 GB, free: 10.1 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 5.767e-05/0.8531, allocations: 12 kB / 1.125 GB, free: 10.09 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001268/0.8532, allocations: 51.34 kB / 1.125 GB, free: 10.04 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005644/0.8538, allocations: 379.5 kB / 1.126 GB, free: 9.629 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.927e-05/0.8539, allocations: 12 kB / 1.126 GB, free: 9.617 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.351e-05/0.8539, allocations: 23.94 kB / 1.126 GB, free: 9.594 MB / 0.7292 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004636/0.8544, allocations: 257.2 kB / 1.126 GB, free: 9.344 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005987/0.855, allocations: 342.5 kB / 1.126 GB, free: 8.992 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.205e-05/0.855, allocations: 0 / 1.126 GB, free: 8.992 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.658e-05/0.8551, allocations: 7.984 kB / 1.126 GB, free: 8.984 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.652e-05/0.8551, allocations: 12.66 kB / 1.126 GB, free: 8.969 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001649/0.8567, allocations: 1.043 MB / 1.127 GB, free: 7.887 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004469/0.8572, allocations: 266.8 kB / 1.128 GB, free: 7.617 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001905/0.8574, allocations: 128.8 kB / 1.128 GB, free: 7.488 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 4.429e-05/0.8575, allocations: 7.688 kB / 1.128 GB, free: 7.484 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002721/0.8577, allocations: 185.5 kB / 1.128 GB, free: 7.289 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=39): time 1.974e-06/0.8577, allocations: 0 / 1.128 GB, free: 7.289 MB / 0.7292 GB Notification: Performance of matching and sorting (n=39): time 0.0005124/0.8583, allocations: 274.7 kB / 1.128 GB, free: 7.016 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.825e-05/0.8583, allocations: 118.8 kB / 1.128 GB, free: 6.875 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003678/0.8587, allocations: 339.9 kB / 1.129 GB, free: 6.539 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 5.098e-05/0.8588, allocations: 37.7 kB / 1.129 GB, free: 6.496 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001062/0.8589, allocations: 168.6 kB / 1.129 GB, free: 6.324 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 8.33e-05/0.859, allocations: 86.88 kB / 1.129 GB, free: 6.238 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.973e-05/0.859, allocations: 0 / 1.129 GB, free: 6.238 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001208/0.8591, allocations: 358.7 kB / 1.129 GB, free: 5.879 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002165/0.8593, allocations: 116.9 kB / 1.129 GB, free: 5.766 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002686/0.8596, allocations: 221 kB / 1.13 GB, free: 5.52 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002277/0.8599, allocations: 124.8 kB / 1.13 GB, free: 5.395 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.515e-06/0.8599, allocations: 0 / 1.13 GB, free: 5.395 MB / 0.7292 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.0006368/0.8605, allocations: 370.6 kB / 1.13 GB, free: 5.027 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.378e-05/0.8605, allocations: 4 kB / 1.13 GB, free: 5.023 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.532e-06/0.8605, allocations: 0 / 1.13 GB, free: 5.023 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.301e-05/0.8606, allocations: 4 kB / 1.13 GB, free: 5.02 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003262/0.8609, allocations: 84 kB / 1.13 GB, free: 4.938 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.101e-05/0.8609, allocations: 4 kB / 1.13 GB, free: 4.934 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003575/0.8613, allocations: 59.66 kB / 1.13 GB, free: 4.875 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.934e-05/0.8613, allocations: 19.98 kB / 1.13 GB, free: 4.855 MB / 0.7292 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 47 ($PRE.cooModCon.con1.enableFire,$PRE.cooModCon.con2.enableFire,$whenCondition4,$PRE.chiNumOn.combiTimeTable.nextTimeEvent,cooModCon.stateGraphRoot.resume,cooModCon.stateGraphRoot.suspend,$whenCondition3,$whenCondition2,$whenCondition1,$PRE.cooModCon.freCoo.localActive,cooModCon.freCoo.localActive,$PRE.cooModCon.freCoo.newActive,cooModCon.freCoo.newActive,$PRE.cooModCon.freCoo.oldActive,cooModCon.freCoo.oldActive,cooModCon.freCoo.active,$PRE.cooModCon.fulMecCoo.localActive,cooModCon.fulMecCoo.localActive,$PRE.cooModCon.fulMecCoo.newActive,cooModCon.fulMecCoo.newActive,$PRE.cooModCon.fulMecCoo.oldActive,cooModCon.fulMecCoo.oldActive,cooModCon.fulMecCoo.active,cooModCon.con1.enableFire,cooModCon.con1.fire,$PRE.cooModCon.con1.t_start,cooModCon.con1.t_start,cooModCon.con1.condition,$PRE.cooModCon.swi.y,cooModCon.swi.y,cooModCon.swi.firstActiveIndex,cooModCon.con2.enableFire,cooModCon.con2.fire,$PRE.cooModCon.con2.t_start,cooModCon.con2.t_start,cooModCon.con2.condition,cooModCon.stateGraphRoot.activeSteps,$PRE.TCHWSup.T_start,TCHWSup.T_start,$PRE.TCHWSup.count,TCHWSup.count,chiNumOn.y,chiNumOn.combiTimeTable.nextTimeEvent,$PRE.chiNumOn.combiTimeTable.nextTimeEventScaled,chiNumOn.combiTimeTable.nextTimeEventScaled,cooModCon.swi.expr[1],cooModCon.swi.expr[2]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (59): * Single equations (assignments): 58 * 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.0001267/0.8615, allocations: 142.1 kB / 1.13 GB, free: 4.707 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.538e-05/0.8615, allocations: 35.53 kB / 1.13 GB, free: 4.672 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005766/0.8621, allocations: 319.6 kB / 1.131 GB, free: 4.355 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.538e-06/0.8621, allocations: 4 kB / 1.131 GB, free: 4.352 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.178e-06/0.8621, allocations: 0 / 1.131 GB, free: 4.352 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.322e-06/0.8621, allocations: 3.984 kB / 1.131 GB, free: 4.348 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00115/0.8633, allocations: 0.8417 MB / 1.132 GB, free: 3.461 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.024e-06/0.8633, allocations: 0 / 1.132 GB, free: 3.461 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002237/0.8635, allocations: 47.91 kB / 1.132 GB, free: 3.414 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.38e-06/0.8636, allocations: 9.5 kB / 1.132 GB, free: 3.406 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.471e-05/0.8636, allocations: 3.984 kB / 1.132 GB, free: 3.402 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.797e-06/0.8636, allocations: 4 kB / 1.132 GB, free: 3.398 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.784e-06/0.8636, allocations: 0 / 1.132 GB, free: 3.398 MB / 0.7292 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0004895/0.8641, allocations: 386.7 kB / 1.132 GB, free: 3.004 MB / 0.7292 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0006041/0.8647, allocations: 0.7728 MB / 1.133 GB, free: 2.211 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 9.556e-05/0.8648, allocations: 124.7 kB / 1.133 GB, free: 2.07 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.735e-05/0.8649, allocations: 3.906 kB / 1.133 GB, free: 2.066 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003262/0.8652, allocations: 43.95 kB / 1.133 GB, free: 2.023 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000121/0.8653, allocations: 55.86 kB / 1.133 GB, free: 1.969 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.271e-05/0.8654, allocations: 19.98 kB / 1.133 GB, free: 1.949 MB / 0.7292 GB Notification: Performance of sort global known variables: time 0.0002445/0.8656, allocations: 247.1 kB / 1.133 GB, free: 1.711 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.001114/0.8668, allocations: 103.9 kB / 1.133 GB, free: 1.609 MB / 0.7292 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 30 (cooModCon.con1.enableFire,cooModCon.con2.enableFire,cooModCon.fulMecCoo.localActive,cooModCon.freCoo.localActive,$cse2,$cse3,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,cooModCon.freCoo.newActive,cooModCon.freCoo.oldActive,cooModCon.freCoo.active,cooModCon.fulMecCoo.newActive,cooModCon.fulMecCoo.oldActive,cooModCon.fulMecCoo.active,cooModCon.con1.fire,cooModCon.con1.t_start,cooModCon.con1.condition,cooModCon.swi.y,cooModCon.swi.firstActiveIndex,cooModCon.con2.fire,cooModCon.con2.t_start,cooModCon.con2.condition,cooModCon.stateGraphRoot.activeSteps,TCHWSup.T_start,TCHWSup.count,chiNumOn.y,chiNumOn.combiTimeTable.nextTimeEvent,chiNumOn.combiTimeTable.nextTimeEventScaled) * Number of discrete states: 6 (chiNumOn.combiTimeTable.nextTimeEvent,TCHWSup.count,cooModCon.freCoo.newActive,cooModCon.fulMecCoo.newActive,cooModCon.swi.y,chiNumOn.combiTimeTable.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (42): * Single equations (assignments): 34 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 8 * 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.0007119/0.8675, allocations: 372.2 kB / 1.134 GB, free: 1.367 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0005817/0.8681, allocations: 343.1 kB / 1.134 GB, free: 1.027 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.965e-06/0.8681, allocations: 4 kB / 1.134 GB, free: 1.023 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0002405/0.8683, allocations: 159.8 kB / 1.134 GB, free: 0.8672 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003939/0.8687, allocations: 57.16 kB / 1.134 GB, free: 0.8164 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001052/0.8698, allocations: 0.5085 MB / 1.135 GB, free: 288 kB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004762/0.8703, allocations: 0.874 MB / 1.136 GB, free: 15.38 MB / 0.7448 GB Notification: Performance of SimCode: time 2.7e-07/0.8703, allocations: 0 / 1.136 GB, free: 15.38 MB / 0.7448 GB (rm -f Buildings_8_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingModeNonIntegrated.pipe ; mkfifo Buildings_8_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingModeNonIntegrated.pipe ; head -c 1048576 < Buildings_8_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingModeNonIntegrated.pipe >> ../files/Buildings_8_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingModeNonIntegrated.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Applications_DataCenters_ChillerCooled_Controls_Validation_CoolingModeNonIntegrated_fmu --startTime=0 --stopTime=1080 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Applications_DataCenters_ChillerCooled_Controls_Validation_CoolingModeNonIntegrated.fmu > Buildings_8_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingModeNonIntegrated.pipe 2>&1)