Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed") translateModel(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed") [: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(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.117/2.117, allocations: 284.9 MB / 292.2 MB, free: 1.402 MB / 227.1 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001574/0.001574, allocations: 186.9 kB / 360.4 MB, free: 15.62 MB / 291.1 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.628/1.628, allocations: 205.1 MB / 0.6188 GB, free: 6.602 MB / 467.1 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001241/0.00124, allocations: 92.08 kB / 0.7318 GB, free: 46.84 MB / 0.5186 GB Notification: Performance of FrontEnd - loaded program: time 7.915e-06/8.005e-06, allocations: 0 / 0.8503 GB, free: 13.65 MB / 0.5967 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5539/0.5539, allocations: 115.2 MB / 0.9628 GB, free: 86.41 MB / 0.6749 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2179/0.7719, allocations: 147.4 MB / 1.107 GB, free: 2.973 MB / 0.7061 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003429/0.7723, allocations: 96.55 kB / 1.107 GB, free: 2.879 MB / 0.7061 GB Notification: Performance of FrontEnd: time 0.04323/0.8155, allocations: 10.02 MB / 1.117 GB, free: 8.93 MB / 0.7217 GB Notification: Performance of Transformations before backend: time 5.212e-05/0.8156, allocations: 8 kB / 1.117 GB, free: 8.922 MB / 0.7217 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 65 * Number of variables: 65 Notification: Performance of Generate backend data structure: time 0.001379/0.817, allocations: 0.6885 MB / 1.117 GB, free: 8.184 MB / 0.7217 GB Notification: Performance of prepare preOptimizeDAE: time 5.361e-05/0.8171, allocations: 12.02 kB / 1.117 GB, free: 8.172 MB / 0.7217 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001455/0.8172, allocations: 51.34 kB / 1.117 GB, free: 8.121 MB / 0.7217 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00099/0.8182, allocations: 429.5 kB / 1.118 GB, free: 7.66 MB / 0.7217 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.22e-05/0.8183, allocations: 12 kB / 1.118 GB, free: 7.648 MB / 0.7217 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.778e-05/0.8184, allocations: 16 kB / 1.118 GB, free: 7.633 MB / 0.7217 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006062/0.819, allocations: 185.3 kB / 1.118 GB, free: 7.453 MB / 0.7217 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007077/0.8197, allocations: 284.6 kB / 1.118 GB, free: 7.148 MB / 0.7217 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.392e-05/0.8197, allocations: 0 / 1.118 GB, free: 7.148 MB / 0.7217 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.538e-05/0.8198, allocations: 9.875 kB / 1.118 GB, free: 7.141 MB / 0.7217 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.245e-05/0.8198, allocations: 8 kB / 1.118 GB, free: 7.133 MB / 0.7217 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002148/0.822, allocations: 1.104 MB / 1.119 GB, free: 5.969 MB / 0.7217 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006922/0.8227, allocations: 215.2 kB / 1.12 GB, free: 5.75 MB / 0.7217 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002527/0.8229, allocations: 89.36 kB / 1.12 GB, free: 5.66 MB / 0.7217 GB Notification: Performance of preOpt evalFunc (simulation): time 3.749e-05/0.823, allocations: 12.12 kB / 1.12 GB, free: 5.648 MB / 0.7217 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003229/0.8233, allocations: 136.3 kB / 1.12 GB, free: 5.504 MB / 0.7217 GB Notification: Performance of pre-optimization done (n=23): time 2.494e-06/0.8233, allocations: 0 / 1.12 GB, free: 5.504 MB / 0.7217 GB Notification: Performance of matching and sorting (n=23): time 0.0006718/0.824, allocations: 227.7 kB / 1.12 GB, free: 5.277 MB / 0.7217 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001326/0.8242, allocations: 162.2 kB / 1.12 GB, free: 5.082 MB / 0.7217 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006501/0.8248, allocations: 360.8 kB / 1.12 GB, free: 4.727 MB / 0.7217 GB Notification: Performance of collectPreVariables (initialization): time 3.925e-05/0.8249, allocations: 25.7 kB / 1.12 GB, free: 4.695 MB / 0.7217 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001417/0.825, allocations: 172.2 kB / 1.121 GB, free: 4.523 MB / 0.7217 GB Notification: Performance of collectInitialBindings (initialization): time 8.735e-05/0.8251, allocations: 70.92 kB / 1.121 GB, free: 4.453 MB / 0.7217 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.088e-05/0.8252, allocations: 0 / 1.121 GB, free: 4.453 MB / 0.7217 GB Notification: Performance of setup shared object (initialization): time 0.0001493/0.8253, allocations: 350.8 kB / 1.121 GB, free: 4.102 MB / 0.7217 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000233/0.8256, allocations: 71.98 kB / 1.121 GB, free: 4.031 MB / 0.7217 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003261/0.8259, allocations: 165.8 kB / 1.121 GB, free: 3.84 MB / 0.7217 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002475/0.8262, allocations: 79.83 kB / 1.121 GB, free: 3.762 MB / 0.7217 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.096e-06/0.8262, allocations: 6.344 kB / 1.121 GB, free: 3.758 MB / 0.7217 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0006839/0.8269, allocations: 257.7 kB / 1.122 GB, free: 3.5 MB / 0.7217 GB Notification: Performance of prepare postOptimizeDAE: time 1.579e-05/0.8269, allocations: 4 kB / 1.122 GB, free: 3.496 MB / 0.7217 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.354e-06/0.8269, allocations: 2.688 kB / 1.122 GB, free: 3.496 MB / 0.7217 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.846e-05/0.8269, allocations: 4 kB / 1.122 GB, free: 3.492 MB / 0.7217 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005113/0.8275, allocations: 64.02 kB / 1.122 GB, free: 3.43 MB / 0.7217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.395e-06/0.8275, allocations: 3.906 kB / 1.122 GB, free: 3.426 MB / 0.7217 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004034/0.8279, allocations: 35.77 kB / 1.122 GB, free: 3.391 MB / 0.7217 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.721e-05/0.828, allocations: 15.98 kB / 1.122 GB, free: 3.375 MB / 0.7217 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition1,$PRE.cooMod.combiTimeTable.nextTimeEvent,cooTowSpeCon.pmcMod.y,cooTowSpeCon.fmcMod.y,cooMod.y,cooMod.combiTimeTable.nextTimeEvent,$PRE.cooMod.combiTimeTable.nextTimeEventScaled,cooMod.combiTimeTable.nextTimeEventScaled,cooTowSpeCon.conPID.I.trigger_internal) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (29): * Single equations (assignments): 29 * 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.0001307/0.8281, allocations: 112.9 kB / 1.122 GB, free: 3.258 MB / 0.7217 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.586e-05/0.8282, allocations: 39.53 kB / 1.122 GB, free: 3.219 MB / 0.7217 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007279/0.8289, allocations: 245.4 kB / 1.122 GB, free: 2.969 MB / 0.7217 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.006e-05/0.829, allocations: 7.906 kB / 1.122 GB, free: 2.961 MB / 0.7217 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.833e-06/0.829, allocations: 3.984 kB / 1.122 GB, free: 2.957 MB / 0.7217 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.392e-06/0.829, allocations: 0 / 1.122 GB, free: 2.957 MB / 0.7217 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005729/0.8296, allocations: 389.8 kB / 1.122 GB, free: 2.539 MB / 0.7217 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.816e-06/0.8296, allocations: 0 / 1.122 GB, free: 2.539 MB / 0.7217 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004486/0.83, allocations: 51.91 kB / 1.123 GB, free: 2.488 MB / 0.7217 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.004e-05/0.8301, allocations: 4 kB / 1.123 GB, free: 2.484 MB / 0.7217 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.808e-05/0.8301, allocations: 0 / 1.123 GB, free: 2.484 MB / 0.7217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.382e-06/0.8301, allocations: 5.609 kB / 1.123 GB, free: 2.48 MB / 0.7217 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.364e-06/0.8301, allocations: 0 / 1.123 GB, free: 2.48 MB / 0.7217 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0009811/0.8311, allocations: 396.2 kB / 1.123 GB, free: 2.074 MB / 0.7217 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002378/0.8314, allocations: 152.5 kB / 1.123 GB, free: 1.906 MB / 0.7217 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.316e-05/0.8315, allocations: 3.984 kB / 1.123 GB, free: 1.902 MB / 0.7217 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003737/0.8319, allocations: 21.67 kB / 1.123 GB, free: 1.883 MB / 0.7217 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.006e-05/0.832, allocations: 24.03 kB / 1.123 GB, free: 1.859 MB / 0.7217 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.051e-05/0.832, allocations: 7.906 kB / 1.123 GB, free: 1.852 MB / 0.7217 GB Notification: Performance of sort global known variables: time 0.0004702/0.8325, allocations: 283.2 kB / 1.123 GB, free: 1.574 MB / 0.7217 GB Notification: Performance of remove unused functions: time 0.0005356/0.833, allocations: 91.77 kB / 1.123 GB, free: 1.484 MB / 0.7217 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (cooTowSpeCon.conPID.I.y) * Number of discrete variables: 6 ($whenCondition1,cooTowSpeCon.pmcMod.y,cooTowSpeCon.fmcMod.y,cooMod.y,cooMod.combiTimeTable.nextTimeEvent,cooMod.combiTimeTable.nextTimeEventScaled) * Number of discrete states: 2 (cooMod.combiTimeTable.nextTimeEvent,cooMod.combiTimeTable.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (24): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0009173/0.834, allocations: 326.1 kB / 1.124 GB, free: 1.301 MB / 0.7217 GB Notification: Performance of simCode: created initialization part: time 0.0006829/0.8347, allocations: 211.8 kB / 1.124 GB, free: 1.094 MB / 0.7217 GB Notification: Performance of simCode: created event and clocks part: time 3.076e-06/0.8347, allocations: 0 / 1.124 GB, free: 1.094 MB / 0.7217 GB Notification: Performance of simCode: created simulation system equations: time 0.0002917/0.835, allocations: 103.9 kB / 1.124 GB, free: 0.9922 MB / 0.7217 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007913/0.8358, allocations: 87.45 kB / 1.124 GB, free: 0.9102 MB / 0.7217 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001627/0.8374, allocations: 497.6 kB / 1.125 GB, free: 416 kB / 0.7217 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006447/0.8381, allocations: 0.8557 MB / 1.125 GB, free: 15.52 MB / 0.7374 GB Notification: Performance of SimCode: time 6.72e-07/0.8381, allocations: 5.406 kB / 1.125 GB, free: 15.52 MB / 0.7374 GB Notification: Performance of Templates: time 0.01528/0.8534, allocations: 4.827 MB / 1.13 GB, free: 10.82 MB / 0.7374 GB make -j1 -f Buildings_8.0.0_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed.makefile (rm -f Buildings_8.0.0_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed.pipe ; mkfifo Buildings_8.0.0_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed.pipe >> ../files/Buildings_8.0.0_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed.sim & ./Buildings_8.0.0_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed.pipe 2>&1)