Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingModeNonIntegrated.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.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingModeNonIntegrated,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Applications_DataCenters_ChillerCooled_Controls_Validation_CoolingModeNonIntegrated",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingModeNonIntegrated,fileNamePrefix="Buildings_maint_7_0_x_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 7.0.3-maint.7.0.x/package.mo): time 1.281/1.281, allocations: 249.4 MB / 256.7 MB, free: 7.008 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.00101/0.00101, allocations: 177.3 kB / 316 MB, free: 3.543 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.207/1.207, allocations: 205.2 MB / 0.5667 GB, free: 15.63 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.0008439/0.0008441, allocations: 97.14 kB / 0.671 GB, free: 4.754 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.3632/0.3641, allocations: 112.5 MB / 0.7808 GB, free: 103 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1831/0.5471, allocations: 106.3 MB / 0.8847 GB, free: 12.56 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.5418/1.089, allocations: 139.9 MB / 1.021 GB, free: 14.83 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003751/1.089, allocations: 99.86 kB / 1.021 GB, free: 14.77 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: 79 * Number of variables: 79 Notification: Performance of Generate backend data structure: time 0.02728/1.117, allocations: 10.19 MB / 1.031 GB, free: 6.242 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.649e-05/1.117, allocations: 12 kB / 1.031 GB, free: 6.23 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001229/1.117, allocations: 51.42 kB / 1.031 GB, free: 6.18 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000651/1.118, allocations: 382.1 kB / 1.032 GB, free: 5.82 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.201e-05/1.118, allocations: 12 kB / 1.032 GB, free: 5.809 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.594e-05/1.118, allocations: 24 kB / 1.032 GB, free: 5.785 MB / 0.6511 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004884/1.118, allocations: 252.2 kB / 1.032 GB, free: 5.637 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005413/1.119, allocations: 335.8 kB / 1.032 GB, free: 5.371 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.509e-05/1.119, allocations: 7.938 kB / 1.032 GB, free: 5.363 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.688e-05/1.119, allocations: 4 kB / 1.032 GB, free: 5.359 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.489e-05/1.119, allocations: 8.656 kB / 1.032 GB, free: 5.352 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001602/1.12, allocations: 1.052 MB / 1.033 GB, free: 4.512 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003887/1.121, allocations: 269.5 kB / 1.034 GB, free: 4.324 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001859/1.121, allocations: 128.1 kB / 1.034 GB, free: 4.246 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 4.854e-05/1.121, allocations: 7.984 kB / 1.034 GB, free: 4.238 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002633/1.121, allocations: 186.8 kB / 1.034 GB, free: 4.086 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=39): time 1.984e-06/1.121, allocations: 0 / 1.034 GB, free: 4.086 MB / 0.6511 GB Notification: Performance of matching and sorting (n=39): time 0.0005192/1.122, allocations: 280.7 kB / 1.034 GB, free: 3.867 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.776e-05/1.122, allocations: 110.8 kB / 1.034 GB, free: 3.734 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003922/1.122, allocations: 353.7 kB / 1.035 GB, free: 3.453 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 5.447e-05/1.122, allocations: 33.58 kB / 1.035 GB, free: 3.418 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.000111/1.123, allocations: 163 kB / 1.035 GB, free: 3.27 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 8.272e-05/1.123, allocations: 98.08 kB / 1.035 GB, free: 3.188 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.933e-05/1.123, allocations: 0 / 1.035 GB, free: 3.188 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.000141/1.123, allocations: 347 kB / 1.035 GB, free: 2.855 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000199/1.123, allocations: 119.7 kB / 1.035 GB, free: 2.785 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002595/1.123, allocations: 221.5 kB / 1.036 GB, free: 2.598 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002052/1.123, allocations: 123.6 kB / 1.036 GB, free: 2.523 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.325e-06/1.123, allocations: 4 kB / 1.036 GB, free: 2.52 MB / 0.6511 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.0005701/1.124, allocations: 371 kB / 1.036 GB, free: 2.23 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.476e-05/1.124, allocations: 4 kB / 1.036 GB, free: 2.227 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.865e-06/1.124, allocations: 7.906 kB / 1.036 GB, free: 2.219 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.677e-05/1.124, allocations: 4 kB / 1.036 GB, free: 2.215 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003234/1.124, allocations: 71.58 kB / 1.036 GB, free: 2.148 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.133e-06/1.124, allocations: 4 kB / 1.036 GB, free: 2.145 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003091/1.125, allocations: 55.8 kB / 1.036 GB, free: 2.09 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.974e-05/1.125, allocations: 15.25 kB / 1.036 GB, free: 2.078 MB / 0.6511 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.0001422/1.125, allocations: 145.2 kB / 1.036 GB, free: 1.934 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.408e-05/1.125, allocations: 38.88 kB / 1.036 GB, free: 1.898 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000591/1.126, allocations: 318.4 kB / 1.037 GB, free: 1.66 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.684e-06/1.126, allocations: 4 kB / 1.037 GB, free: 1.656 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.522e-06/1.126, allocations: 3.938 kB / 1.037 GB, free: 1.652 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.456e-06/1.126, allocations: 11.95 kB / 1.037 GB, free: 1.641 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001184/1.127, allocations: 0.8314 MB / 1.038 GB, free: 0.9492 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.146e-06/1.127, allocations: 0 / 1.038 GB, free: 0.9492 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002168/1.127, allocations: 49.72 kB / 1.038 GB, free: 0.9023 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.767e-06/1.127, allocations: 4 kB / 1.038 GB, free: 0.8984 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.654e-05/1.127, allocations: 9.984 kB / 1.038 GB, free: 0.8906 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.924e-06/1.127, allocations: 0 / 1.038 GB, free: 0.8906 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.12e-06/1.127, allocations: 3.906 kB / 1.038 GB, free: 0.8867 MB / 0.6511 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0005331/1.128, allocations: 396.5 kB / 1.038 GB, free: 0.5508 MB / 0.6511 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0006019/1.128, allocations: 0.7646 MB / 1.039 GB, free: 15.84 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 9.353e-05/1.128, allocations: 119.3 kB / 1.039 GB, free: 15.71 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.8e-05/1.129, allocations: 7.984 kB / 1.039 GB, free: 15.7 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002988/1.129, allocations: 43.41 kB / 1.039 GB, free: 15.66 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001384/1.129, allocations: 54.16 kB / 1.039 GB, free: 15.62 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.934e-05/1.129, allocations: 15.11 kB / 1.039 GB, free: 15.61 MB / 0.6667 GB Notification: Performance of sort global known variables: time 0.000258/1.129, allocations: 249.3 kB / 1.039 GB, free: 15.42 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.001108/1.13, allocations: 110 kB / 1.039 GB, free: 15.32 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: 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.0007567/1.131, allocations: 364.9 kB / 1.04 GB, free: 15.04 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.0006009/1.132, allocations: 349.8 kB / 1.04 GB, free: 14.79 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/1.132, allocations: 0 / 1.04 GB, free: 14.79 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.0002314/1.132, allocations: 155.2 kB / 1.04 GB, free: 14.68 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003938/1.132, allocations: 63.12 kB / 1.04 GB, free: 14.64 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001061/1.133, allocations: 0.5018 MB / 1.041 GB, free: 14.2 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006059/1.134, allocations: 0.8649 MB / 1.041 GB, free: 13.31 MB / 0.6667 GB Notification: Performance of SimCode: time 2.6e-07/1.134, allocations: 0 / 1.041 GB, free: 13.31 MB / 0.6667 GB (rm -f Buildings_maint.7.0.x_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingModeNonIntegrated.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingModeNonIntegrated.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingModeNonIntegrated.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingModeNonIntegrated.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Applications_DataCenters_ChillerCooled_Controls_Validation_CoolingModeNonIntegrated_fmu --startTime=0 --stopTime=1080 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Applications_DataCenters_ChillerCooled_Controls_Validation_CoolingModeNonIntegrated.fmu > Buildings_maint.7.0.x_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingModeNonIntegrated.pipe 2>&1)