Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.Examples.AirHeater_u.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_u,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_HeatExchangers_Examples_AirHeater_u",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.Examples.AirHeater_u,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_HeatExchangers_Examples_AirHeater_u",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.376/1.376, allocations: 285.5 MB / 292.8 MB, free: 10.4 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.001071/0.001071, allocations: 181.3 kB / 361.1 MB, free: 7.059 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.125/1.125, allocations: 205.1 MB / 0.6195 GB, free: 11.9 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.0008595/0.0008596, allocations: 95.42 kB / 0.7326 GB, free: 44.46 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.2086/0.2095, allocations: 121.4 MB / 0.8511 GB, free: 3.129 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5033/0.7128, allocations: 115.3 MB / 0.9637 GB, free: 77.67 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.117/3.83, allocations: 2.121 GB / 3.085 GB, free: 4.465 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001951/3.83, allocations: 94.38 kB / 3.085 GB, free: 4.375 MB / 0.948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 378 * Number of variables: 378 Notification: Performance of Generate backend data structure: time 6.138/9.968, allocations: 1.987 GB / 5.072 GB, free: 122.7 MB / 0.9792 GB Notification: Performance of prepare preOptimizeDAE: time 5.143e-05/9.969, allocations: 8.281 kB / 5.072 GB, free: 122.7 MB / 0.9792 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006709/9.975, allocations: 0.8544 MB / 5.073 GB, free: 122.6 MB / 0.9792 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006262/9.982, allocations: 2.399 MB / 5.075 GB, free: 122.2 MB / 0.9792 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.005e-05/9.982, allocations: 46.03 kB / 5.075 GB, free: 122.2 MB / 0.9792 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005/9.982, allocations: 107.6 kB / 5.075 GB, free: 122.2 MB / 0.9792 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002385/9.985, allocations: 1.357 MB / 5.077 GB, free: 122.2 MB / 0.9792 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002247/9.987, allocations: 1.563 MB / 5.078 GB, free: 122 MB / 0.9792 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.669e-05/9.987, allocations: 3.188 kB / 5.078 GB, free: 122 MB / 0.9792 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001341/9.987, allocations: 3.062 kB / 5.078 GB, free: 122 MB / 0.9792 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.672e-05/9.987, allocations: 52.97 kB / 5.078 GB, free: 122 MB / 0.9792 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009615/9.997, allocations: 8.304 MB / 5.086 GB, free: 118 MB / 0.9792 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001099/9.998, allocations: 0.9473 MB / 5.087 GB, free: 117.9 MB / 0.9792 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007065/9.998, allocations: 0.6199 MB / 5.088 GB, free: 117.9 MB / 0.9792 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004626/9.999, allocations: 375 kB / 5.088 GB, free: 117.5 MB / 0.9792 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007402/10, allocations: 0.6125 MB / 5.089 GB, free: 117.5 MB / 0.9792 GB Notification: Performance of pre-optimization done (n=102): time 3.005e-06/10, allocations: 0 / 5.089 GB, free: 117.5 MB / 0.9792 GB Notification: Performance of matching and sorting (n=105): time 0.007047/10.01, allocations: 3.016 MB / 5.092 GB, free: 116.7 MB / 0.9792 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.348e-05/10.01, allocations: 163.8 kB / 5.092 GB, free: 116.6 MB / 0.9792 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0014/10.01, allocations: 1.213 MB / 5.093 GB, free: 116.4 MB / 0.9792 GB Notification: Performance of collectPreVariables (initialization): time 9.108e-05/10.01, allocations: 28.48 kB / 5.093 GB, free: 116.3 MB / 0.9792 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003898/10.01, allocations: 0.6295 MB / 5.094 GB, free: 116 MB / 0.9792 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002584/10.01, allocations: 352.3 kB / 5.094 GB, free: 115.8 MB / 0.9792 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.981e-05/10.01, allocations: 0 / 5.094 GB, free: 115.8 MB / 0.9792 GB Notification: Performance of setup shared object (initialization): time 6.687e-05/10.01, allocations: 354.3 kB / 5.094 GB, free: 115.4 MB / 0.9792 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005691/10.01, allocations: 451 kB / 5.095 GB, free: 115.4 MB / 0.9792 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006987/10.01, allocations: 0.8056 MB / 5.096 GB, free: 115 MB / 0.9792 GB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: vol.dynBal.medium.p = vol.dynBal.p_start (hea.vol.dynBal.p_start = vol.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.006062/10.02, allocations: 2.083 MB / 5.098 GB, free: 114.9 MB / 0.9792 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.528e-06/10.02, allocations: 6.656 kB / 5.098 GB, free: 114.9 MB / 0.9792 GB Notification: Performance of matching and sorting (n=155) (initialization): time 0.002396/10.02, allocations: 1.459 MB / 5.099 GB, free: 114.7 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 0.000502/10.02, allocations: 3.004 MB / 5.102 GB, free: 111.6 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.974e-05/10.02, allocations: 7.656 kB / 5.102 GB, free: 111.6 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001416/10.02, allocations: 47.7 kB / 5.102 GB, free: 111.6 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001173/10.02, allocations: 277.4 kB / 5.102 GB, free: 111.6 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008827/10.02, allocations: 1.432 MB / 5.104 GB, free: 110.3 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001917/10.02, allocations: 142.5 kB / 5.104 GB, free: 110.3 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001115/10.02, allocations: 58.78 kB / 5.104 GB, free: 110.3 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 6.883e-06/10.02, allocations: 2.812 kB / 5.104 GB, free: 110.3 MB / 0.9792 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001889/10.03, allocations: 1.214 MB / 5.105 GB, free: 110.3 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.5e-05/10.03, allocations: 7.875 kB / 5.105 GB, free: 110.3 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.71e-05/10.03, allocations: 45.98 kB / 5.105 GB, free: 110.3 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001117/10.03, allocations: 282.5 kB / 5.105 GB, free: 110.3 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007589/10.03, allocations: 1.431 MB / 5.107 GB, free: 109 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001883/10.03, allocations: 135.7 kB / 5.107 GB, free: 109 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001032/10.03, allocations: 55.27 kB / 5.107 GB, free: 109 MB / 0.9792 GB Warning: Assuming redundant initial conditions for the following 1 initial equations: vol.dynBal.medium.p = vol.dynBal.p_start Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 33 * 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 (148): * Single equations (assignments): 143 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002909/10.03, allocations: 138.6 kB / 5.107 GB, free: 108.9 MB / 0.9792 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002808/10.03, allocations: 192 kB / 5.107 GB, free: 108.8 MB / 0.9792 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002658/10.03, allocations: 1.289 MB / 5.109 GB, free: 108.7 MB / 0.9792 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.497e-06/10.03, allocations: 11.47 kB / 5.109 GB, free: 108.7 MB / 0.9792 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.29e-06/10.03, allocations: 0 / 5.109 GB, free: 108.7 MB / 0.9792 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001538/10.03, allocations: 1.036 MB / 5.11 GB, free: 108.6 MB / 0.9792 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005146/10.04, allocations: 3.028 MB / 5.113 GB, free: 108.1 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.921e-06/10.04, allocations: 1.219 kB / 5.113 GB, free: 108.1 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001257/10.04, allocations: 239.1 kB / 5.113 GB, free: 108.1 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002369/10.04, allocations: 76.31 kB / 5.113 GB, free: 108.1 MB / 0.9792 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.052e-05/10.04, allocations: 14.11 kB / 5.113 GB, free: 108.1 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001612/10.04, allocations: 2.645 MB / 5.115 GB, free: 105.7 MB / 0.9792 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.17e-06/10.04, allocations: 5.594 kB / 5.115 GB, free: 105.7 MB / 0.9792 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.003192/10.05, allocations: 2.054 MB / 5.117 GB, free: 105.3 MB / 0.9792 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.004434/10.05, allocations: 3.28 MB / 5.121 GB, free: 104.5 MB / 0.9792 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009505/10.05, allocations: 382.9 kB / 5.121 GB, free: 104.3 MB / 0.9792 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002677/10.05, allocations: 8.938 kB / 5.121 GB, free: 104.3 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001368/10.05, allocations: 129.4 kB / 5.121 GB, free: 104.3 MB / 0.9792 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001352/10.05, allocations: 66.59 kB / 5.121 GB, free: 104.3 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.077e-05/10.05, allocations: 40.44 kB / 5.121 GB, free: 104.3 MB / 0.9792 GB Notification: Performance of sort global known variables: time 0.001383/10.05, allocations: 0.9118 MB / 5.122 GB, free: 104.2 MB / 0.9792 GB Notification: Performance of remove unused functions: time 0.00627/10.06, allocations: 2.041 MB / 5.124 GB, free: 104.1 MB / 0.9792 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 9 (vol.dynBal.U,vol.dynBal.mXi[1],mov.filter.x[1],mov.filter.x[2],conPI.I.y,THeaOut.T,hea.vol.dynBal.U,hea.vol.dynBal.m,hea.vol.dynBal.mXi[1]) * 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 (104): * Single equations (assignments): 100 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 2,(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00405/10.07, allocations: 3.657 MB / 5.128 GB, free: 102.8 MB / 0.9792 GB Notification: Performance of simCode: created initialization part: time 0.002927/10.07, allocations: 2.153 MB / 5.13 GB, free: 102.4 MB / 0.9792 GB Notification: Performance of simCode: created event and clocks part: time 6.272e-06/10.07, allocations: 3.75 kB / 5.13 GB, free: 102.4 MB / 0.9792 GB Notification: Performance of simCode: created simulation system equations: time 0.0008546/10.07, allocations: 0.7392 MB / 5.131 GB, free: 102.2 MB / 0.9792 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00413/10.07, allocations: 0.8989 MB / 5.131 GB, free: 102.2 MB / 0.9792 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00675/10.08, allocations: 3.248 MB / 5.135 GB, free: 101.4 MB / 0.9792 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001362/10.08, allocations: 1.821 MB / 5.136 GB, free: 100.7 MB / 0.9792 GB Notification: Performance of SimCode: time 7.22e-07/10.08, allocations: 0 / 5.136 GB, free: 100.7 MB / 0.9792 GB (rm -f Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.Examples.AirHeater_u.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.Examples.AirHeater_u.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.Examples.AirHeater_u.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.Examples.AirHeater_u.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Fluid_HeatExchangers_Examples_AirHeater_u_fmu --startTime=0 --stopTime=172800 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Fluid_HeatExchangers_Examples_AirHeater_u.fmu > Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.Examples.AirHeater_u.pipe 2>&1)