Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Obsolete.DistrictHeatingCooling.SubStations.Validation.CoolingSubstation.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.CoolingSubstation,fileNamePrefix="Buildings_8_Buildings_Obsolete_DistrictHeatingCooling_SubStations_Validation_CoolingSubstation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Obsolete.DistrictHeatingCooling.SubStations.Validation.CoolingSubstation,fileNamePrefix="Buildings_8_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.1.4-maint.8.1.x/package.mo): time 1.585/1.585, allocations: 289.8 MB / 297 MB, free: 12.62 MB / 242.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001144/0.001143, allocations: 179.2 kB / 366.3 MB, free: 11.93 MB / 290.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.368/1.368, allocations: 205.1 MB / 0.6256 GB, free: 2.039 MB / 466.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008824/0.0008823, allocations: 86.14 kB / 0.7395 GB, free: 46.89 MB / 0.5183 GB Notification: Performance of FrontEnd - loaded program: time 0.2631/0.264, allocations: 122.4 MB / 0.8591 GB, free: 7.094 MB / 0.5964 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.727/0.991, allocations: 116.3 MB / 0.9726 GB, free: 81.57 MB / 0.6746 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9755/1.967, allocations: 443.3 MB / 1.406 GB, free: 131.7 MB / 0.8621 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002905/1.967, allocations: 98.03 kB / 1.406 GB, free: 131.6 MB / 0.8621 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.443/4.41, allocations: 0.6954 GB / 2.101 GB, free: 184.5 MB / 0.9402 GB Notification: Performance of prepare preOptimizeDAE: time 4.806e-05/4.41, allocations: 11.72 kB / 2.101 GB, free: 184.5 MB / 0.9402 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002209/4.412, allocations: 375 kB / 2.101 GB, free: 184.4 MB / 0.9402 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02221/4.434, allocations: 8.589 MB / 2.11 GB, free: 183.8 MB / 0.9402 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.508e-05/4.435, allocations: 27.28 kB / 2.11 GB, free: 183.8 MB / 0.9402 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003703/4.435, allocations: 52.03 kB / 2.11 GB, free: 183.8 MB / 0.9402 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001999/4.437, allocations: 0.6234 MB / 2.11 GB, free: 183.8 MB / 0.9402 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002279/4.439, allocations: 0.856 MB / 2.111 GB, free: 183.6 MB / 0.9402 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.78e-05/4.439, allocations: 1.438 kB / 2.111 GB, free: 183.6 MB / 0.9402 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001283/4.439, allocations: 2.406 kB / 2.111 GB, free: 183.6 MB / 0.9402 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.949e-05/4.44, allocations: 23.77 kB / 2.111 GB, free: 183.6 MB / 0.9402 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008948/4.448, allocations: 4.765 MB / 2.116 GB, free: 181.3 MB / 0.9402 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009643/4.449, allocations: 439.9 kB / 2.116 GB, free: 181.3 MB / 0.9402 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004114/4.45, allocations: 242.5 kB / 2.117 GB, free: 181.3 MB / 0.9402 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002912/4.453, allocations: 1.661 MB / 2.118 GB, free: 180.2 MB / 0.9402 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005849/4.453, allocations: 356.7 kB / 2.119 GB, free: 180.1 MB / 0.9402 GB Notification: Performance of pre-optimization done (n=47): time 4.348e-06/4.453, allocations: 0 / 2.119 GB, free: 180.1 MB / 0.9402 GB Notification: Performance of matching and sorting (n=47): time 0.00242/4.456, allocations: 0.695 MB / 2.119 GB, free: 180 MB / 0.9402 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.884e-05/4.456, allocations: 109.1 kB / 2.119 GB, free: 179.9 MB / 0.9402 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002521/4.459, allocations: 0.9722 MB / 2.12 GB, free: 179.7 MB / 0.9402 GB Notification: Performance of collectPreVariables (initialization): time 9.782e-05/4.459, allocations: 26.95 kB / 2.12 GB, free: 179.7 MB / 0.9402 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005146/4.459, allocations: 442.7 kB / 2.121 GB, free: 179.5 MB / 0.9402 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002018/4.459, allocations: 149.3 kB / 2.121 GB, free: 179.4 MB / 0.9402 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.086e-05/4.459, allocations: 0 / 2.121 GB, free: 179.4 MB / 0.9402 GB Notification: Performance of setup shared object (initialization): time 8.752e-05/4.46, allocations: 333.6 kB / 2.121 GB, free: 179.1 MB / 0.9402 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004057/4.46, allocations: 208 kB / 2.121 GB, free: 179.1 MB / 0.9402 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005795/4.461, allocations: 492 kB / 2.122 GB, free: 178.7 MB / 0.9402 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001269/4.462, allocations: 357.5 kB / 2.122 GB, free: 178.7 MB / 0.9402 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.049e-05/4.462, allocations: 4.562 kB / 2.122 GB, free: 178.7 MB / 0.9402 GB Notification: Performance of matching and sorting (n=80) (initialization): time 0.00245/4.464, allocations: 0.8687 MB / 2.123 GB, free: 178.4 MB / 0.9402 GB Notification: Performance of prepare postOptimizeDAE: time 0.000742/4.465, allocations: 2.74 MB / 2.126 GB, free: 175.6 MB / 0.9402 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.512e-05/4.465, allocations: 7.688 kB / 2.126 GB, free: 175.6 MB / 0.9402 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000341/4.465, allocations: 76.91 kB / 2.126 GB, free: 175.5 MB / 0.9402 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007552/4.466, allocations: 162.6 kB / 2.126 GB, free: 175.5 MB / 0.9402 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007986/4.467, allocations: 1.139 MB / 2.127 GB, free: 174.4 MB / 0.9402 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001343/4.468, allocations: 115 kB / 2.127 GB, free: 174.4 MB / 0.9402 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001314/4.468, allocations: 42.62 kB / 2.127 GB, free: 174.4 MB / 0.9402 GB Notification: Performance of prepare postOptimizeDAE: time 1.37e-05/4.469, allocations: 5.156 kB / 2.127 GB, free: 174.4 MB / 0.9402 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00189/4.47, allocations: 0.6843 MB / 2.128 GB, free: 174.2 MB / 0.9402 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.752e-05/4.47, allocations: 7.219 kB / 2.128 GB, free: 174.2 MB / 0.9402 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002327/4.471, allocations: 71.61 kB / 2.128 GB, free: 174.2 MB / 0.9402 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006565/4.471, allocations: 158.5 kB / 2.128 GB, free: 174.2 MB / 0.9402 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007024/4.472, allocations: 1.155 MB / 2.129 GB, free: 173.1 MB / 0.9402 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001162/4.473, allocations: 95.52 kB / 2.129 GB, free: 173.1 MB / 0.9402 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001135/4.473, allocations: 42.33 kB / 2.129 GB, free: 173.1 MB / 0.9402 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.0003006/4.474, allocations: 157.7 kB / 2.13 GB, free: 172.9 MB / 0.9402 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003751/4.474, allocations: 131.3 kB / 2.13 GB, free: 172.9 MB / 0.9402 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00238/4.476, allocations: 0.888 MB / 2.131 GB, free: 172.6 MB / 0.9402 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.297e-05/4.476, allocations: 4.391 kB / 2.131 GB, free: 172.6 MB / 0.9402 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.894e-06/4.476, allocations: 3.875 kB / 2.131 GB, free: 172.6 MB / 0.9402 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.369e-05/4.477, allocations: 5.719 kB / 2.131 GB, free: 172.6 MB / 0.9402 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004444/4.481, allocations: 1.834 MB / 2.132 GB, free: 171.7 MB / 0.9402 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.926e-06/4.481, allocations: 0 / 2.132 GB, free: 171.7 MB / 0.9402 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005614/4.482, allocations: 111.5 kB / 2.132 GB, free: 171.7 MB / 0.9402 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002609/4.482, allocations: 71.19 kB / 2.133 GB, free: 171.6 MB / 0.9402 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.462e-05/4.482, allocations: 15.78 kB / 2.133 GB, free: 171.6 MB / 0.9402 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000803/4.483, allocations: 1.144 MB / 2.134 GB, free: 170.6 MB / 0.9402 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.632e-06/4.483, allocations: 3.375 kB / 2.134 GB, free: 170.6 MB / 0.9402 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001753/4.485, allocations: 0.9897 MB / 2.135 GB, free: 169.9 MB / 0.9402 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.002101/4.487, allocations: 1.45 MB / 2.136 GB, free: 168.9 MB / 0.9402 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008554/4.487, allocations: 300 kB / 2.136 GB, free: 168.7 MB / 0.9402 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000345/4.488, allocations: 11.38 kB / 2.136 GB, free: 168.7 MB / 0.9402 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001056/4.489, allocations: 82.72 kB / 2.136 GB, free: 168.7 MB / 0.9402 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001121/4.489, allocations: 30.25 kB / 2.136 GB, free: 168.7 MB / 0.9402 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.83e-05/4.489, allocations: 30.7 kB / 2.136 GB, free: 168.7 MB / 0.9402 GB Notification: Performance of sort global known variables: time 0.001328/4.49, allocations: 0.7466 MB / 2.137 GB, free: 168.3 MB / 0.9402 GB Notification: Performance of remove unused functions: time 0.0051/4.496, allocations: 0.9887 MB / 2.138 GB, free: 167.9 MB / 0.9402 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.002661/4.498, allocations: 0.9887 MB / 2.139 GB, free: 167.6 MB / 0.9402 GB Notification: Performance of simCode: created initialization part: time 0.002484/4.501, allocations: 0.9978 MB / 2.14 GB, free: 167.3 MB / 0.9402 GB Notification: Performance of simCode: created event and clocks part: time 7.904e-06/4.501, allocations: 0 / 2.14 GB, free: 167.3 MB / 0.9402 GB Notification: Performance of simCode: created simulation system equations: time 0.0007018/4.501, allocations: 352.7 kB / 2.14 GB, free: 167.2 MB / 0.9402 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002966/4.504, allocations: 0.5065 MB / 2.141 GB, free: 167.1 MB / 0.9402 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004934/4.509, allocations: 1.676 MB / 2.143 GB, free: 166.4 MB / 0.9402 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001321/4.511, allocations: 1.353 MB / 2.144 GB, free: 165.6 MB / 0.9402 GB Notification: Performance of SimCode: time 5.61e-07/4.511, allocations: 0 / 2.144 GB, free: 165.6 MB / 0.9402 GB (rm -f Buildings_8_Buildings.Obsolete.DistrictHeatingCooling.SubStations.Validation.CoolingSubstation.pipe ; mkfifo Buildings_8_Buildings.Obsolete.DistrictHeatingCooling.SubStations.Validation.CoolingSubstation.pipe ; head -c 1048576 < Buildings_8_Buildings.Obsolete.DistrictHeatingCooling.SubStations.Validation.CoolingSubstation.pipe >> ../files/Buildings_8_Buildings.Obsolete.DistrictHeatingCooling.SubStations.Validation.CoolingSubstation.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Obsolete_DistrictHeatingCooling_SubStations_Validation_CoolingSubstation_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Obsolete_DistrictHeatingCooling_SubStations_Validation_CoolingSubstation.fmu > Buildings_8_Buildings.Obsolete.DistrictHeatingCooling.SubStations.Validation.CoolingSubstation.pipe 2>&1)