Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingModeNonIntegrated.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingModeNonIntegrated,fileNamePrefix="Buildings_8_0_0_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_0_0_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.0.0/package.mo): time 2.095/2.095, allocations: 284.8 MB / 292.1 MB, free: 10.8 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.001569/0.001568, allocations: 191.7 kB / 360.3 MB, free: 7.559 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.765/1.765, allocations: 205.1 MB / 0.6187 GB, free: 13.21 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.001242/0.001242, allocations: 87.42 kB / 0.7317 GB, free: 45.13 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.2399/0.2412, allocations: 121.4 MB / 0.8502 GB, free: 3.922 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5218/0.763, allocations: 115.2 MB / 0.9628 GB, free: 78.71 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2162/0.9793, allocations: 144.9 MB / 1.104 GB, free: 11.91 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003498/0.9797, allocations: 96.77 kB / 1.104 GB, free: 11.81 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.04392/1.024, allocations: 10.18 MB / 1.114 GB, free: 1.664 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.727e-05/1.024, allocations: 12.44 kB / 1.114 GB, free: 1.652 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002079/1.024, allocations: 51.34 kB / 1.114 GB, free: 1.602 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009365/1.025, allocations: 383.5 kB / 1.115 GB, free: 1.191 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.334e-05/1.025, allocations: 12 kB / 1.115 GB, free: 1.18 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.913e-05/1.025, allocations: 23.94 kB / 1.115 GB, free: 1.156 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008576/1.026, allocations: 253.2 kB / 1.115 GB, free: 0.9062 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009228/1.027, allocations: 345.3 kB / 1.115 GB, free: 0.5508 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.746e-05/1.027, allocations: 0 / 1.115 GB, free: 0.5508 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.661e-05/1.027, allocations: 1.375 kB / 1.115 GB, free: 0.5508 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.715e-05/1.027, allocations: 16.64 kB / 1.115 GB, free: 0.5352 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002757/1.03, allocations: 1.042 MB / 1.116 GB, free: 15.45 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000726/1.03, allocations: 270.7 kB / 1.117 GB, free: 15.18 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000357/1.031, allocations: 126.1 kB / 1.117 GB, free: 15.05 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 6.219e-05/1.031, allocations: 4 kB / 1.117 GB, free: 15.05 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004755/1.031, allocations: 190.9 kB / 1.117 GB, free: 14.85 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=39): time 3.446e-06/1.031, allocations: 4 kB / 1.117 GB, free: 14.84 MB / 0.7292 GB Notification: Performance of matching and sorting (n=39): time 0.0008997/1.032, allocations: 270.7 kB / 1.117 GB, free: 14.57 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.736e-05/1.032, allocations: 110.8 kB / 1.117 GB, free: 14.44 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006679/1.033, allocations: 343.3 kB / 1.118 GB, free: 14.1 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 9.444e-05/1.033, allocations: 37.7 kB / 1.118 GB, free: 14.06 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001537/1.033, allocations: 165.2 kB / 1.118 GB, free: 13.89 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001324/1.034, allocations: 90.86 kB / 1.118 GB, free: 13.8 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.282e-05/1.034, allocations: 4 kB / 1.118 GB, free: 13.8 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001647/1.034, allocations: 354.7 kB / 1.118 GB, free: 13.45 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003832/1.034, allocations: 117 kB / 1.118 GB, free: 13.33 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005027/1.035, allocations: 220.9 kB / 1.119 GB, free: 13.08 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004187/1.035, allocations: 120.8 kB / 1.119 GB, free: 12.96 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.298e-06/1.035, allocations: 0 / 1.119 GB, free: 12.96 MB / 0.7292 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.001073/1.036, allocations: 377.2 kB / 1.119 GB, free: 12.59 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.718e-05/1.036, allocations: 8.188 kB / 1.119 GB, free: 12.59 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.397e-06/1.036, allocations: 0 / 1.119 GB, free: 12.59 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.245e-05/1.036, allocations: 4 kB / 1.119 GB, free: 12.58 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006116/1.037, allocations: 75.83 kB / 1.119 GB, free: 12.51 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.185e-05/1.037, allocations: 7.984 kB / 1.119 GB, free: 12.5 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005977/1.038, allocations: 59.66 kB / 1.119 GB, free: 12.44 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.316e-05/1.038, allocations: 23.98 kB / 1.119 GB, free: 12.42 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.0002034/1.038, allocations: 133.2 kB / 1.119 GB, free: 12.29 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.449e-05/1.038, allocations: 35.58 kB / 1.119 GB, free: 12.25 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001045/1.039, allocations: 317.8 kB / 1.12 GB, free: 11.94 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.102e-05/1.039, allocations: 8 kB / 1.12 GB, free: 11.93 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.613e-06/1.039, allocations: 4 kB / 1.12 GB, free: 11.93 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.018e-05/1.039, allocations: 3.984 kB / 1.12 GB, free: 11.92 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00222/1.041, allocations: 0.8378 MB / 1.121 GB, free: 11.04 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.543e-06/1.041, allocations: 1.125 kB / 1.121 GB, free: 11.04 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004166/1.042, allocations: 47.91 kB / 1.121 GB, free: 10.99 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.294e-05/1.042, allocations: 4 kB / 1.121 GB, free: 10.99 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.986e-05/1.042, allocations: 7.984 kB / 1.121 GB, free: 10.98 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.514e-06/1.042, allocations: 4 kB / 1.121 GB, free: 10.98 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.316e-06/1.042, allocations: 0 / 1.121 GB, free: 10.98 MB / 0.7292 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0008967/1.043, allocations: 390.5 kB / 1.121 GB, free: 10.58 MB / 0.7292 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0009859/1.044, allocations: 0.771 MB / 1.122 GB, free: 9.789 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001596/1.044, allocations: 116.7 kB / 1.122 GB, free: 9.656 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001078/1.044, allocations: 11.91 kB / 1.122 GB, free: 9.645 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005693/1.045, allocations: 43.95 kB / 1.122 GB, free: 9.602 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002179/1.045, allocations: 59.86 kB / 1.122 GB, free: 9.543 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.976e-05/1.045, allocations: 15.98 kB / 1.122 GB, free: 9.527 MB / 0.7292 GB Notification: Performance of sort global known variables: time 0.0004487/1.045, allocations: 253 kB / 1.122 GB, free: 9.281 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.001542/1.047, allocations: 95.94 kB / 1.122 GB, free: 9.188 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.0009945/1.048, allocations: 360.6 kB / 1.123 GB, free: 8.965 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.001062/1.049, allocations: 347.1 kB / 1.123 GB, free: 8.617 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.976e-06/1.049, allocations: 0 / 1.123 GB, free: 8.617 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0004324/1.05, allocations: 163.8 kB / 1.123 GB, free: 8.457 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006942/1.05, allocations: 57.25 kB / 1.123 GB, free: 8.406 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001833/1.052, allocations: 0.506 MB / 1.124 GB, free: 7.871 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008295/1.053, allocations: 0.878 MB / 1.125 GB, free: 6.969 MB / 0.7292 GB Notification: Performance of SimCode: time 1.022e-06/1.053, allocations: 0 / 1.125 GB, free: 6.969 MB / 0.7292 GB (rm -f Buildings_8.0.0_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingModeNonIntegrated.pipe ; mkfifo Buildings_8.0.0_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingModeNonIntegrated.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingModeNonIntegrated.pipe >> ../files/Buildings_8.0.0_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingModeNonIntegrated.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Applications_DataCenters_ChillerCooled_Controls_Validation_CoolingModeNonIntegrated_fmu --startTime=0 --stopTime=1080 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Applications_DataCenters_ChillerCooled_Controls_Validation_CoolingModeNonIntegrated.fmu > Buildings_8.0.0_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingModeNonIntegrated.pipe 2>&1)