Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Obsolete.DistrictHeatingCooling.SubStations.Validation.CoolingSubstation.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Obsolete.DistrictHeatingCooling.SubStations.Validation.CoolingSubstation,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Obsolete_DistrictHeatingCooling_SubStations_Validation_CoolingSubstation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Obsolete.DistrictHeatingCooling.SubStations.Validation.CoolingSubstation,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Obsolete_DistrictHeatingCooling_SubStations_Validation_CoolingSubstation",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.1-maint.8.0.x/package.mo): time 1.374/1.374, allocations: 285.5 MB / 292.8 MB, free: 10.48 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.0009698/0.0009698, allocations: 181.3 kB / 361.1 MB, free: 7.117 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.273/1.273, allocations: 205.1 MB / 0.6195 GB, free: 10.31 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.0008879/0.0008879, allocations: 86.08 kB / 0.7325 GB, free: 44.23 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.2216/0.2225, allocations: 121.5 MB / 0.8512 GB, free: 2.891 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.618/0.8405, allocations: 115.3 MB / 0.9638 GB, free: 78.02 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8065/1.647, allocations: 442.3 MB / 1.396 GB, free: 120.4 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002079/1.647, allocations: 94.41 kB / 1.396 GB, free: 120.4 MB / 0.8542 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 206 * Number of variables: 206 Notification: Performance of Generate backend data structure: time 1.929/3.576, allocations: 0.6953 GB / 2.091 GB, free: 192.2 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 3.384e-05/3.576, allocations: 8.062 kB / 2.091 GB, free: 192.2 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001326/3.578, allocations: 371.5 kB / 2.092 GB, free: 192.1 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01687/3.594, allocations: 8.596 MB / 2.1 GB, free: 191.5 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.812e-05/3.594, allocations: 31.41 kB / 2.1 GB, free: 191.5 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001124/3.595, allocations: 52.09 kB / 2.1 GB, free: 191.5 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001081/3.596, allocations: 0.624 MB / 2.101 GB, free: 191.5 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001168/3.597, allocations: 0.8512 MB / 2.101 GB, free: 191.3 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.878e-05/3.597, allocations: 8.375 kB / 2.101 GB, free: 191.3 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.234e-05/3.597, allocations: 3.312 kB / 2.101 GB, free: 191.3 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.516e-05/3.597, allocations: 16.88 kB / 2.101 GB, free: 191.3 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005264/3.602, allocations: 4.761 MB / 2.106 GB, free: 189 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006009/3.603, allocations: 453.4 kB / 2.107 GB, free: 189 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003082/3.603, allocations: 236 kB / 2.107 GB, free: 189 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001892/3.605, allocations: 1.654 MB / 2.108 GB, free: 187.9 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003993/3.606, allocations: 362.7 kB / 2.109 GB, free: 187.8 MB / 0.948 GB Notification: Performance of pre-optimization done (n=47): time 2.144e-06/3.606, allocations: 3 kB / 2.109 GB, free: 187.8 MB / 0.948 GB Notification: Performance of matching and sorting (n=47): time 0.001761/3.607, allocations: 0.694 MB / 2.109 GB, free: 187.7 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.436e-05/3.607, allocations: 110.3 kB / 2.11 GB, free: 187.6 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001247/3.609, allocations: 0.9691 MB / 2.11 GB, free: 187.4 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 6.225e-05/3.609, allocations: 32.14 kB / 2.11 GB, free: 187.4 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003114/3.609, allocations: 437.6 kB / 2.111 GB, free: 187.2 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.00014/3.609, allocations: 145.8 kB / 2.111 GB, free: 187.1 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.342e-05/3.609, allocations: 0 / 2.111 GB, free: 187.1 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 8.418e-05/3.609, allocations: 340.7 kB / 2.111 GB, free: 186.8 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002882/3.61, allocations: 212.4 kB / 2.112 GB, free: 186.8 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004221/3.61, allocations: 495.9 kB / 2.112 GB, free: 186.4 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009842/3.611, allocations: 352.5 kB / 2.112 GB, free: 186.4 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.078e-06/3.611, allocations: 3.75 kB / 2.112 GB, free: 186.4 MB / 0.948 GB Notification: Performance of matching and sorting (n=80) (initialization): time 0.001757/3.613, allocations: 0.8676 MB / 2.113 GB, free: 186.3 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005388/3.613, allocations: 2.737 MB / 2.116 GB, free: 183.5 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.127e-05/3.613, allocations: 7.781 kB / 2.116 GB, free: 183.5 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002688/3.614, allocations: 76.86 kB / 2.116 GB, free: 183.5 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006433/3.614, allocations: 158.6 kB / 2.116 GB, free: 183.5 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006524/3.615, allocations: 1.145 MB / 2.117 GB, free: 182.4 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001019/3.616, allocations: 111 kB / 2.117 GB, free: 182.4 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.646e-05/3.616, allocations: 44.78 kB / 2.117 GB, free: 182.4 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 7.805e-06/3.616, allocations: 3.562 kB / 2.117 GB, free: 182.4 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001461/3.618, allocations: 0.668 MB / 2.118 GB, free: 182.4 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.152e-06/3.618, allocations: 3.906 kB / 2.118 GB, free: 182.4 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001763/3.618, allocations: 83.47 kB / 2.118 GB, free: 182.4 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005331/3.618, allocations: 156 kB / 2.118 GB, free: 182.4 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005504/3.619, allocations: 1.151 MB / 2.119 GB, free: 181.3 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007852/3.62, allocations: 100.7 kB / 2.12 GB, free: 181.3 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.584e-05/3.62, allocations: 43.95 kB / 2.12 GB, free: 181.3 MB / 0.948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,QCoo.a,QCoo.b,QCoo.last,$PRE.QCoo.nextEvent,QCoo.nextEvent,QCoo.nextEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (70): * Single equations (assignments): 66 * Array equations: 1 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 2,1 2} Notification: Performance of prepare postOptimizeDAE: time 0.0001928/3.62, allocations: 167.7 kB / 2.12 GB, free: 181.2 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001405/3.62, allocations: 128.1 kB / 2.12 GB, free: 181.1 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001834/3.622, allocations: 0.8809 MB / 2.121 GB, free: 181 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.114e-05/3.622, allocations: 6.625 kB / 2.121 GB, free: 181 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.811e-06/3.622, allocations: 0 / 2.121 GB, free: 181 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.456e-06/3.622, allocations: 3.891 kB / 2.121 GB, free: 181 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002831/3.625, allocations: 1.84 MB / 2.123 GB, free: 180.6 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.546e-06/3.625, allocations: 0 / 2.123 GB, free: 180.6 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004753/3.625, allocations: 106.7 kB / 2.123 GB, free: 180.6 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001794/3.626, allocations: 66.31 kB / 2.123 GB, free: 180.6 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.7e-05/3.626, allocations: 17.25 kB / 2.123 GB, free: 180.6 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00058/3.626, allocations: 1.148 MB / 2.124 GB, free: 179.6 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.617e-06/3.626, allocations: 3.875 kB / 2.124 GB, free: 179.6 MB / 0.948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001317/3.627, allocations: 0.9953 MB / 2.125 GB, free: 179.1 MB / 0.948 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001541/3.629, allocations: 1.44 MB / 2.126 GB, free: 178.3 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004082/3.629, allocations: 307.6 kB / 2.126 GB, free: 178.1 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001829/3.63, allocations: 3.656 kB / 2.126 GB, free: 178.1 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008123/3.63, allocations: 73.77 kB / 2.127 GB, free: 178.1 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.19e-05/3.631, allocations: 43.36 kB / 2.127 GB, free: 178.1 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.372e-05/3.631, allocations: 36.77 kB / 2.127 GB, free: 178.1 MB / 0.948 GB Notification: Performance of sort global known variables: time 0.0008856/3.632, allocations: 0.7457 MB / 2.127 GB, free: 178 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.00392/3.635, allocations: 0.9933 MB / 2.128 GB, free: 177.9 MB / 0.948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,QCoo.a,QCoo.b,QCoo.last,QCoo.nextEvent,QCoo.nextEventScaled) * Number of discrete states: 6 (QCoo.nextEvent,QCoo.last,QCoo.nextEventScaled,QCoo.b,QCoo.a,$whenCondition1) * Top-level inputs: 0 Notification: Strong component statistics for simulation (46): * Single equations (assignments): 39 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 2,1 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.002182/3.638, allocations: 0.9811 MB / 2.129 GB, free: 177.6 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.001848/3.64, allocations: 1.002 MB / 2.13 GB, free: 177.6 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 5.099e-06/3.64, allocations: 4.25 kB / 2.13 GB, free: 177.6 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0005769/3.64, allocations: 347 kB / 2.131 GB, free: 177.5 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002433/3.643, allocations: 0.5151 MB / 2.131 GB, free: 177.5 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00416/3.647, allocations: 1.679 MB / 2.133 GB, free: 177 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001143/3.648, allocations: 1.354 MB / 2.134 GB, free: 176.3 MB / 0.948 GB Notification: Performance of SimCode: time 8.12e-07/3.648, allocations: 0 / 2.134 GB, free: 176.3 MB / 0.948 GB (rm -f Buildings_maint.8.0.x_Buildings.Obsolete.DistrictHeatingCooling.SubStations.Validation.CoolingSubstation.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Obsolete.DistrictHeatingCooling.SubStations.Validation.CoolingSubstation.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Obsolete.DistrictHeatingCooling.SubStations.Validation.CoolingSubstation.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Obsolete.DistrictHeatingCooling.SubStations.Validation.CoolingSubstation.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Obsolete_DistrictHeatingCooling_SubStations_Validation_CoolingSubstation_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Obsolete_DistrictHeatingCooling_SubStations_Validation_CoolingSubstation.fmu > Buildings_maint.8.0.x_Buildings.Obsolete.DistrictHeatingCooling.SubStations.Validation.CoolingSubstation.pipe 2>&1)