Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Obsolete.DistrictHeatingCooling.SubStations.Validation.HeatingSubstation.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.Obsolete.DistrictHeatingCooling.SubStations.Validation.HeatingSubstation,fileNamePrefix="Buildings_8_Buildings_Obsolete_DistrictHeatingCooling_SubStations_Validation_HeatingSubstation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Obsolete.DistrictHeatingCooling.SubStations.Validation.HeatingSubstation,fileNamePrefix="Buildings_8_Buildings_Obsolete_DistrictHeatingCooling_SubStations_Validation_HeatingSubstation",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.583/1.583, allocations: 289.8 MB / 297.1 MB, free: 6.656 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.001445/0.001445, allocations: 177.3 kB / 366.3 MB, free: 2.004 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.464/1.464, allocations: 205.1 MB / 0.6256 GB, free: 5.824 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.000905/0.0009049, allocations: 91.53 kB / 0.7395 GB, free: 39.67 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.3031/0.3041, allocations: 122.4 MB / 0.8591 GB, free: 13.27 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.692/0.996, allocations: 116.3 MB / 0.9726 GB, free: 68.02 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9796/1.976, allocations: 443.3 MB / 1.406 GB, free: 46.11 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002383/1.976, allocations: 92.62 kB / 1.406 GB, free: 46.06 MB / 0.823 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 2.535/4.511, allocations: 0.6953 GB / 2.101 GB, free: 190.6 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.954e-05/4.511, allocations: 11 kB / 2.101 GB, free: 190.6 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002229/4.513, allocations: 377 kB / 2.101 GB, free: 190.6 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02099/4.534, allocations: 8.588 MB / 2.11 GB, free: 187.7 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.468e-05/4.534, allocations: 28.88 kB / 2.11 GB, free: 187.7 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003583/4.534, allocations: 52.78 kB / 2.11 GB, free: 187.7 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001743/4.536, allocations: 0.6252 MB / 2.11 GB, free: 187.4 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001906/4.538, allocations: 0.8514 MB / 2.111 GB, free: 187 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.511e-05/4.538, allocations: 7.031 kB / 2.111 GB, free: 187 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001093/4.538, allocations: 0 / 2.111 GB, free: 187 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.116e-05/4.538, allocations: 24.28 kB / 2.111 GB, free: 187 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008581/4.547, allocations: 4.761 MB / 2.116 GB, free: 183.4 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000796/4.548, allocations: 443.3 kB / 2.116 GB, free: 183.2 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004041/4.548, allocations: 243.4 kB / 2.117 GB, free: 183.1 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002926/4.551, allocations: 1.656 MB / 2.118 GB, free: 181.6 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005047/4.552, allocations: 355.5 kB / 2.119 GB, free: 181.3 MB / 0.948 GB Notification: Performance of pre-optimization done (n=47): time 4.528e-06/4.552, allocations: 0 / 2.119 GB, free: 181.3 MB / 0.948 GB Notification: Performance of matching and sorting (n=47): time 0.002131/4.554, allocations: 0.6969 MB / 2.119 GB, free: 181 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.266e-05/4.554, allocations: 115.7 kB / 2.119 GB, free: 180.8 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001813/4.556, allocations: 0.9636 MB / 2.12 GB, free: 180.3 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 7.916e-05/4.556, allocations: 31.97 kB / 2.12 GB, free: 180.3 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004092/4.556, allocations: 434.6 kB / 2.121 GB, free: 179.9 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001913/4.556, allocations: 153.5 kB / 2.121 GB, free: 179.8 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.895e-05/4.556, allocations: 2.75 kB / 2.121 GB, free: 179.8 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 7.927e-05/4.557, allocations: 331.3 kB / 2.121 GB, free: 179.5 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003347/4.557, allocations: 206.9 kB / 2.121 GB, free: 179.4 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000481/4.557, allocations: 491.5 kB / 2.122 GB, free: 178.9 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001111/4.558, allocations: 353.1 kB / 2.122 GB, free: 178.8 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.853e-06/4.558, allocations: 5.719 kB / 2.122 GB, free: 178.8 MB / 0.948 GB Notification: Performance of matching and sorting (n=80) (initialization): time 0.002055/4.561, allocations: 0.8646 MB / 2.123 GB, free: 178.4 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005771/4.561, allocations: 2.742 MB / 2.126 GB, free: 175.5 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.76e-05/4.561, allocations: 6.594 kB / 2.126 GB, free: 175.5 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003216/4.562, allocations: 77.28 kB / 2.126 GB, free: 175.5 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007031/4.562, allocations: 157.9 kB / 2.126 GB, free: 175.4 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006785/4.563, allocations: 1.149 MB / 2.127 GB, free: 174.3 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001129/4.564, allocations: 107.7 kB / 2.127 GB, free: 174.3 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001075/4.564, allocations: 44.33 kB / 2.127 GB, free: 174.3 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.056e-05/4.564, allocations: 5.75 kB / 2.127 GB, free: 174.3 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001717/4.566, allocations: 0.678 MB / 2.128 GB, free: 174 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.331e-05/4.566, allocations: 6.969 kB / 2.128 GB, free: 174 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002164/4.566, allocations: 76.72 kB / 2.128 GB, free: 174 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006231/4.567, allocations: 159 kB / 2.128 GB, free: 173.9 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006553/4.567, allocations: 1.162 MB / 2.129 GB, free: 172.8 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001043/4.569, allocations: 98.02 kB / 2.129 GB, free: 172.8 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.682e-05/4.569, allocations: 45.56 kB / 2.129 GB, free: 172.8 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,QHea.a,QHea.b,QHea.last,$PRE.QHea.nextEvent,QHea.nextEvent,QHea.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.0002712/4.569, allocations: 162.8 kB / 2.13 GB, free: 172.6 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000263/4.569, allocations: 127.7 kB / 2.13 GB, free: 172.5 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002221/4.571, allocations: 0.8871 MB / 2.131 GB, free: 172.1 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.293e-05/4.571, allocations: 5.969 kB / 2.131 GB, free: 172.1 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.642e-06/4.571, allocations: 0 / 2.131 GB, free: 172.1 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.526e-06/4.571, allocations: 3.984 kB / 2.131 GB, free: 172.1 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003756/4.575, allocations: 1.834 MB / 2.132 GB, free: 170.9 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.34e-06/4.575, allocations: 0 / 2.132 GB, free: 170.9 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005344/4.576, allocations: 111.2 kB / 2.132 GB, free: 170.8 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002134/4.576, allocations: 67.97 kB / 2.133 GB, free: 170.8 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.524e-05/4.576, allocations: 18.3 kB / 2.133 GB, free: 170.8 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006359/4.577, allocations: 1.145 MB / 2.134 GB, free: 169.7 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.901e-06/4.577, allocations: 8.312 kB / 2.134 GB, free: 169.7 MB / 0.948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001577/4.578, allocations: 0.9821 MB / 2.135 GB, free: 169 MB / 0.948 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001782/4.58, allocations: 1.447 MB / 2.136 GB, free: 167.9 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007406/4.581, allocations: 301 kB / 2.136 GB, free: 167.6 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004044/4.581, allocations: 6.953 kB / 2.136 GB, free: 167.6 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001155/4.582, allocations: 81.77 kB / 2.136 GB, free: 167.6 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001167/4.583, allocations: 38.45 kB / 2.136 GB, free: 167.5 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.289e-05/4.583, allocations: 32.22 kB / 2.136 GB, free: 167.5 MB / 0.948 GB Notification: Performance of sort global known variables: time 0.001643/4.584, allocations: 0.7434 MB / 2.137 GB, free: 167.1 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.005162/4.589, allocations: 0.9957 MB / 2.138 GB, free: 166.7 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,QHea.a,QHea.b,QHea.last,QHea.nextEvent,QHea.nextEventScaled) * Number of discrete states: 6 (QHea.nextEvent,QHea.last,QHea.nextEventScaled,QHea.b,QHea.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.002335/4.592, allocations: 0.9723 MB / 2.139 GB, free: 166.3 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.002103/4.594, allocations: 1.002 MB / 2.14 GB, free: 165.9 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 5.2e-06/4.594, allocations: 2.594 kB / 2.14 GB, free: 165.9 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0005912/4.595, allocations: 350.4 kB / 2.14 GB, free: 165.7 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00265/4.597, allocations: 0.511 MB / 2.141 GB, free: 165.5 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004568/4.602, allocations: 1.671 MB / 2.143 GB, free: 164.6 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001262/4.603, allocations: 1.353 MB / 2.144 GB, free: 163.7 MB / 0.948 GB Notification: Performance of SimCode: time 4.81e-07/4.603, allocations: 0 / 2.144 GB, free: 163.7 MB / 0.948 GB (rm -f Buildings_8_Buildings.Obsolete.DistrictHeatingCooling.SubStations.Validation.HeatingSubstation.pipe ; mkfifo Buildings_8_Buildings.Obsolete.DistrictHeatingCooling.SubStations.Validation.HeatingSubstation.pipe ; head -c 1048576 < Buildings_8_Buildings.Obsolete.DistrictHeatingCooling.SubStations.Validation.HeatingSubstation.pipe >> ../files/Buildings_8_Buildings.Obsolete.DistrictHeatingCooling.SubStations.Validation.HeatingSubstation.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Obsolete_DistrictHeatingCooling_SubStations_Validation_HeatingSubstation_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Obsolete_DistrictHeatingCooling_SubStations_Validation_HeatingSubstation.fmu > Buildings_8_Buildings.Obsolete.DistrictHeatingCooling.SubStations.Validation.HeatingSubstation.pipe 2>&1)