Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.Examples.AirHeater_T.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.Fluid.HeatExchangers.Examples.AirHeater_T,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_HeatExchangers_Examples_AirHeater_T",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.Examples.AirHeater_T,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_HeatExchangers_Examples_AirHeater_T",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.369/1.369, allocations: 285.5 MB / 292.8 MB, free: 10.44 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.001057/0.001057, allocations: 185.3 kB / 361.1 MB, free: 7.102 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.148/1.148, allocations: 205.1 MB / 0.6195 GB, free: 10.4 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.0008639/0.000864, allocations: 94.02 kB / 0.7326 GB, free: 44.27 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.2041/0.205, allocations: 121.4 MB / 0.8511 GB, free: 2.918 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4942/0.6993, allocations: 115.3 MB / 0.9637 GB, free: 78.22 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.619/4.319, allocations: 2.127 GB / 3.091 GB, free: 305.2 MB / 0.9323 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002518/4.319, allocations: 96.83 kB / 3.091 GB, free: 305.1 MB / 0.9323 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 334 * Number of variables: 334 Notification: Performance of Generate backend data structure: time 5.773/10.09, allocations: 2.074 GB / 5.165 GB, free: 56.18 MB / 0.9792 GB Notification: Performance of prepare preOptimizeDAE: time 4.28e-05/10.09, allocations: 12.5 kB / 5.165 GB, free: 56.16 MB / 0.9792 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005465/10.1, allocations: 0.8383 MB / 5.166 GB, free: 55.32 MB / 0.9792 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007659/10.1, allocations: 2.26 MB / 5.168 GB, free: 53.06 MB / 0.9792 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001218/10.1, allocations: 44 kB / 5.168 GB, free: 53.02 MB / 0.9792 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000629/10.11, allocations: 84 kB / 5.168 GB, free: 52.93 MB / 0.9792 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003229/10.11, allocations: 1.161 MB / 5.169 GB, free: 51.77 MB / 0.9792 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003096/10.11, allocations: 1.382 MB / 5.171 GB, free: 50.3 MB / 0.9792 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.224e-05/10.11, allocations: 12.73 kB / 5.171 GB, free: 50.29 MB / 0.9792 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002099/10.11, allocations: 4 kB / 5.171 GB, free: 50.28 MB / 0.9792 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.534e-05/10.11, allocations: 50.52 kB / 5.171 GB, free: 50.23 MB / 0.9792 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01029/10.12, allocations: 7.562 MB / 5.178 GB, free: 42.21 MB / 0.9792 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001016/10.12, allocations: 0.7931 MB / 5.179 GB, free: 41.41 MB / 0.9792 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005495/10.12, allocations: 467.7 kB / 5.179 GB, free: 40.95 MB / 0.9792 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001091/10.13, allocations: 0.9282 MB / 5.18 GB, free: 39.85 MB / 0.9792 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00064/10.13, allocations: 496.5 kB / 5.181 GB, free: 39.35 MB / 0.9792 GB Notification: Performance of pre-optimization done (n=84): time 3.347e-06/10.13, allocations: 0 / 5.181 GB, free: 39.35 MB / 0.9792 GB Notification: Performance of matching and sorting (n=84): time 0.0032/10.13, allocations: 1.13 MB / 5.182 GB, free: 38.21 MB / 0.9792 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.657e-05/10.13, allocations: 167 kB / 5.182 GB, free: 38.01 MB / 0.9792 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001833/10.13, allocations: 1.236 MB / 5.183 GB, free: 36.77 MB / 0.9792 GB Notification: Performance of collectPreVariables (initialization): time 0.0001237/10.13, allocations: 33.64 kB / 5.183 GB, free: 36.73 MB / 0.9792 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004403/10.13, allocations: 0.6077 MB / 5.184 GB, free: 36.12 MB / 0.9792 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002503/10.13, allocations: 295.6 kB / 5.184 GB, free: 35.82 MB / 0.9792 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.054e-05/10.13, allocations: 0 / 5.184 GB, free: 35.82 MB / 0.9792 GB Notification: Performance of setup shared object (initialization): time 7.003e-05/10.13, allocations: 345.9 kB / 5.184 GB, free: 35.48 MB / 0.9792 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000476/10.13, allocations: 354.5 kB / 5.185 GB, free: 35.13 MB / 0.9792 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006163/10.13, allocations: 0.7277 MB / 5.185 GB, free: 34.23 MB / 0.9792 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001131/10.13, allocations: 0.5635 MB / 5.186 GB, free: 33.68 MB / 0.9792 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.691e-06/10.13, allocations: 4 kB / 5.186 GB, free: 33.67 MB / 0.9792 GB Notification: Performance of matching and sorting (n=138) (initialization): time 0.002252/10.14, allocations: 1.282 MB / 5.187 GB, free: 32.38 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005687/10.14, allocations: 3.454 MB / 5.191 GB, free: 28.65 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.628e-05/10.14, allocations: 15.98 kB / 5.191 GB, free: 28.64 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.836e-05/10.14, allocations: 12 kB / 5.191 GB, free: 28.62 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001103/10.14, allocations: 263.6 kB / 5.191 GB, free: 28.37 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.672e-05/10.14, allocations: 19.92 kB / 5.191 GB, free: 28.35 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001658/10.14, allocations: 178.9 kB / 5.191 GB, free: 28.17 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001197/10.14, allocations: 59.95 kB / 5.191 GB, free: 28.11 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 8.065e-06/10.14, allocations: 4 kB / 5.191 GB, free: 28.11 MB / 0.9792 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00179/10.14, allocations: 1.048 MB / 5.192 GB, free: 27.06 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.739e-05/10.14, allocations: 8 kB / 5.192 GB, free: 27.05 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.441e-05/10.14, allocations: 20 kB / 5.192 GB, free: 27.04 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001047/10.14, allocations: 267.7 kB / 5.192 GB, free: 26.77 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.538e-05/10.14, allocations: 23.84 kB / 5.192 GB, free: 26.75 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00158/10.14, allocations: 159.1 kB / 5.193 GB, free: 26.59 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001088/10.14, allocations: 55.98 kB / 5.193 GB, free: 26.54 MB / 0.9792 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 38 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,$PRE.TSet.T_start,TSet.T_start,$PRE.TSet.count,TSet.count,conPI.I.trigger_internal) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (134): * Single equations (assignments): 130 * Array equations: 2 * Algorithm blocks: 1 * Record equations: 1 * 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.0002357/10.15, allocations: 139.6 kB / 5.193 GB, free: 26.4 MB / 0.9792 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003201/10.15, allocations: 177.8 kB / 5.193 GB, free: 26.22 MB / 0.9792 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0023/10.15, allocations: 1.076 MB / 5.194 GB, free: 25.13 MB / 0.9792 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.554e-06/10.15, allocations: 12 kB / 5.194 GB, free: 25.12 MB / 0.9792 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.647e-06/10.15, allocations: 0 / 5.194 GB, free: 25.12 MB / 0.9792 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001508/10.15, allocations: 1.158 MB / 5.195 GB, free: 23.88 MB / 0.9792 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00491/10.15, allocations: 2.442 MB / 5.198 GB, free: 21.39 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.368e-06/10.15, allocations: 0 / 5.198 GB, free: 21.39 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009902/10.16, allocations: 191.8 kB / 5.198 GB, free: 21.21 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002152/10.16, allocations: 48.83 kB / 5.198 GB, free: 21.16 MB / 0.9792 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.057e-05/10.16, allocations: 15.98 kB / 5.198 GB, free: 21.14 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001116/10.16, allocations: 1.369 MB / 5.199 GB, free: 19.65 MB / 0.9792 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.15e-06/10.16, allocations: 7.906 kB / 5.199 GB, free: 19.64 MB / 0.9792 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.00238/10.16, allocations: 1.684 MB / 5.201 GB, free: 17.9 MB / 0.9792 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.003441/10.16, allocations: 2.741 MB / 5.203 GB, free: 15.11 MB / 0.9792 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007963/10.16, allocations: 354.7 kB / 5.204 GB, free: 14.74 MB / 0.9792 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003902/10.16, allocations: 7.984 kB / 5.204 GB, free: 14.73 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001348/10.17, allocations: 115.7 kB / 5.204 GB, free: 14.62 MB / 0.9792 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001192/10.17, allocations: 56.59 kB / 5.204 GB, free: 14.56 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.352e-05/10.17, allocations: 35.98 kB / 5.204 GB, free: 14.53 MB / 0.9792 GB Notification: Performance of sort global known variables: time 0.001421/10.17, allocations: 0.9208 MB / 5.205 GB, free: 13.62 MB / 0.9792 GB Notification: Performance of remove unused functions: time 0.006798/10.17, allocations: 2.064 MB / 5.207 GB, free: 11.55 MB / 0.9792 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 8 (vol.dynBal.U,vol.dynBal.m,vol.dynBal.mXi[1],mov.filter.x[1],mov.filter.x[2],conPI.I.y,THeaOut.T,hea.outCon.T) * Number of discrete variables: 3 ($whenCondition1,TSet.T_start,TSet.count) * Number of discrete states: 1 (TSet.count) * Top-level inputs: 0 Notification: Strong component statistics for simulation (85): * Single equations (assignments): 82 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.005408/10.18, allocations: 3.729 MB / 5.211 GB, free: 7.875 MB / 0.9792 GB Notification: Performance of simCode: created initialization part: time 0.002749/10.18, allocations: 1.593 MB / 5.212 GB, free: 6.254 MB / 0.9792 GB Notification: Performance of simCode: created event and clocks part: time 5.681e-06/10.18, allocations: 4 kB / 5.212 GB, free: 6.25 MB / 0.9792 GB Notification: Performance of simCode: created simulation system equations: time 0.0008092/10.18, allocations: 0.5121 MB / 5.213 GB, free: 5.734 MB / 0.9792 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003761/10.19, allocations: 0.7303 MB / 5.213 GB, free: 5.008 MB / 0.9792 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008099/10.19, allocations: 3.03 MB / 5.216 GB, free: 1.906 MB / 0.9792 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001714/10.2, allocations: 1.708 MB / 5.218 GB, free: 176 kB / 0.9792 GB Notification: Performance of SimCode: time 9.42e-07/10.2, allocations: 0 / 5.218 GB, free: 176 kB / 0.9792 GB (rm -f Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.Examples.AirHeater_T.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.Examples.AirHeater_T.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.Examples.AirHeater_T.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.Examples.AirHeater_T.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Fluid_HeatExchangers_Examples_AirHeater_T_fmu --startTime=0 --stopTime=172800 --timeout=50 --tolerance=1e-08 Buildings_maint_8_0_x_Buildings_Fluid_HeatExchangers_Examples_AirHeater_T.fmu > Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.Examples.AirHeater_T.pipe 2>&1)