Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Fluid.HeatExchangers.Examples.AirHeater_T.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(IDEAS.Fluid.HeatExchangers.Examples.AirHeater_T,fileNamePrefix="IDEAS_IDEAS_Fluid_HeatExchangers_Examples_AirHeater_T",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.HeatExchangers.Examples.AirHeater_T,fileNamePrefix="IDEAS_IDEAS_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/Complex 4.0.0+maint.om/package.mo): time 0.004013/0.004013, allocations: 179.7 kB / 7.458 MB, free: 2.5 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.701/0.701, allocations: 133.5 MB / 141.4 MB, free: 15.7 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.582/1.582, allocations: 221.3 MB / 395 MB, free: 10.24 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0014/0.0014, allocations: 100.4 kB / 477.8 MB, free: 10.91 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.4747/0.4762, allocations: 88.41 MB / 0.5529 GB, free: 89.04 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2082/0.6844, allocations: 82.3 MB / 0.6333 GB, free: 14.08 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.767/5.452, allocations: 1.923 GB / 2.556 GB, free: 38.37 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003349/5.452, allocations: 91.95 kB / 2.556 GB, free: 38.28 MB / 0.6823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 333 * Number of variables: 333 Notification: Performance of Generate backend data structure: time 8.337/13.79, allocations: 2.094 GB / 4.65 GB, free: 72.17 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 8.385e-05/13.79, allocations: 9.344 kB / 4.65 GB, free: 72.17 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008018/13.8, allocations: 0.8379 MB / 4.65 GB, free: 72.04 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01073/13.81, allocations: 2.233 MB / 4.653 GB, free: 71.53 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002546/13.81, allocations: 41.69 kB / 4.653 GB, free: 71.53 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009974/13.81, allocations: 88.19 kB / 4.653 GB, free: 71.52 MB / 0.7292 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.004791/13.81, allocations: 1.153 MB / 4.654 GB, free: 71.52 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005555/13.82, allocations: 1.356 MB / 4.655 GB, free: 71.29 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.736e-05/13.82, allocations: 1.062 kB / 4.655 GB, free: 71.29 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003828/13.82, allocations: 2.844 kB / 4.655 GB, free: 71.29 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001125/13.82, allocations: 67.5 kB / 4.655 GB, free: 71.28 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01962/13.84, allocations: 7.618 MB / 4.663 GB, free: 67.18 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001229/13.84, allocations: 0.5776 MB / 4.663 GB, free: 67.16 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008389/13.84, allocations: 490 kB / 4.664 GB, free: 67.15 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001402/13.84, allocations: 0.9218 MB / 4.665 GB, free: 66.21 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000964/13.84, allocations: 0.492 MB / 4.665 GB, free: 66.15 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=86): time 4.859e-06/13.84, allocations: 0 / 4.665 GB, free: 66.15 MB / 0.7292 GB Notification: Performance of matching and sorting (n=86): time 0.004237/13.85, allocations: 1.143 MB / 4.666 GB, free: 66 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.01e-05/13.85, allocations: 117.3 kB / 4.666 GB, free: 65.87 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003401/13.85, allocations: 1.214 MB / 4.667 GB, free: 65.7 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 0.0002055/13.85, allocations: 31.11 kB / 4.668 GB, free: 65.67 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008389/13.85, allocations: 0.5944 MB / 4.668 GB, free: 65.35 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004794/13.85, allocations: 293.8 kB / 4.668 GB, free: 65.12 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.919e-05/13.85, allocations: 1.859 kB / 4.668 GB, free: 65.12 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001192/13.85, allocations: 347.8 kB / 4.669 GB, free: 64.8 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008148/13.85, allocations: 342.8 kB / 4.669 GB, free: 64.67 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008874/13.86, allocations: 0.6939 MB / 4.67 GB, free: 64.09 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001885/13.86, allocations: 0.5391 MB / 4.67 GB, free: 63.91 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.569e-05/13.86, allocations: 2.938 kB / 4.67 GB, free: 63.91 MB / 0.7292 GB Notification: Performance of matching and sorting (n=135) (initialization): time 0.00427/13.86, allocations: 1.248 MB / 4.671 GB, free: 63.46 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 0.001251/13.86, allocations: 3.356 MB / 4.675 GB, free: 59.89 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.956e-05/13.86, allocations: 11.12 kB / 4.675 GB, free: 59.89 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.923e-05/13.86, allocations: 14.5 kB / 4.675 GB, free: 59.89 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001656/13.87, allocations: 269.1 kB / 4.675 GB, free: 59.86 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.561e-05/13.87, allocations: 20.61 kB / 4.675 GB, free: 59.86 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00278/13.87, allocations: 166.2 kB / 4.675 GB, free: 59.81 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002195/13.87, allocations: 58.88 kB / 4.675 GB, free: 59.8 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.827e-05/13.87, allocations: 3.969 kB / 4.675 GB, free: 59.8 MB / 0.7292 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00316/13.87, allocations: 1.024 MB / 4.676 GB, free: 59.48 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.673e-05/13.87, allocations: 9.156 kB / 4.676 GB, free: 59.48 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.138e-05/13.87, allocations: 14.25 kB / 4.676 GB, free: 59.48 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001386/13.87, allocations: 262.8 kB / 4.677 GB, free: 59.45 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.763e-05/13.87, allocations: 21.17 kB / 4.677 GB, free: 59.45 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002676/13.88, allocations: 163.7 kB / 4.677 GB, free: 59.41 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000251/13.88, allocations: 52.95 kB / 4.677 GB, free: 59.4 MB / 0.7292 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 37 * 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 (133): * Single equations (assignments): 131 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0005559/13.88, allocations: 137.1 kB / 4.677 GB, free: 59.27 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009959/13.88, allocations: 175.1 kB / 4.677 GB, free: 59.18 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004649/13.88, allocations: 1.092 MB / 4.678 GB, free: 58.78 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.818e-05/13.88, allocations: 12.69 kB / 4.678 GB, free: 58.78 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.101e-05/13.88, allocations: 4.062 kB / 4.678 GB, free: 58.78 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003092/13.89, allocations: 1.159 MB / 4.679 GB, free: 58.09 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008275/13.89, allocations: 2.488 MB / 4.682 GB, free: 57.01 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.145e-06/13.89, allocations: 2.375 kB / 4.682 GB, free: 57.01 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001115/13.89, allocations: 183 kB / 4.682 GB, free: 57 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002521/13.89, allocations: 49.72 kB / 4.682 GB, free: 56.98 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.422e-05/13.9, allocations: 14.52 kB / 4.682 GB, free: 56.98 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001498/13.9, allocations: 1.375 MB / 4.683 GB, free: 55.68 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.093e-06/13.9, allocations: 2.031 kB / 4.683 GB, free: 55.68 MB / 0.7292 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.004793/13.9, allocations: 1.687 MB / 4.685 GB, free: 54.86 MB / 0.7292 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.006241/13.91, allocations: 2.757 MB / 4.688 GB, free: 53.08 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001568/13.91, allocations: 354 kB / 4.688 GB, free: 52.75 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007536/13.91, allocations: 9.375 kB / 4.688 GB, free: 52.75 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002419/13.91, allocations: 112.4 kB / 4.688 GB, free: 52.68 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002691/13.91, allocations: 56.94 kB / 4.688 GB, free: 52.64 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001552/13.91, allocations: 33.06 kB / 4.688 GB, free: 52.62 MB / 0.7292 GB Notification: Performance of sort global known variables: time 0.002443/13.92, allocations: 0.9137 MB / 4.689 GB, free: 51.8 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.01069/13.93, allocations: 1.992 MB / 4.691 GB, free: 49.84 MB / 0.7292 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.s[1],mov.filter.s[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 (87): * Single equations (assignments): 84 * 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.006575/13.93, allocations: 3.681 MB / 4.695 GB, free: 46.89 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.003566/13.94, allocations: 1.508 MB / 4.696 GB, free: 45.46 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 1.019e-05/13.94, allocations: 4 kB / 4.696 GB, free: 45.45 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.001194/13.94, allocations: 0.5236 MB / 4.697 GB, free: 44.95 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004673/13.94, allocations: 0.7017 MB / 4.697 GB, free: 44.45 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0107/13.95, allocations: 2.999 MB / 4.7 GB, free: 41.87 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0027/13.96, allocations: 1.689 MB / 4.702 GB, free: 40.47 MB / 0.7292 GB Notification: Performance of SimCode: time 9.42e-07/13.96, allocations: 0 / 4.702 GB, free: 40.47 MB / 0.7292 GB (rm -f IDEAS_IDEAS.Fluid.HeatExchangers.Examples.AirHeater_T.pipe ; mkfifo IDEAS_IDEAS.Fluid.HeatExchangers.Examples.AirHeater_T.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.HeatExchangers.Examples.AirHeater_T.pipe >> ../files/IDEAS_IDEAS.Fluid.HeatExchangers.Examples.AirHeater_T.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_HeatExchangers_Examples_AirHeater_T_fmu --startTime=0 --stopTime=172800 --timeout=50 --tolerance=1e-08 IDEAS_IDEAS_Fluid_HeatExchangers_Examples_AirHeater_T.fmu > IDEAS_IDEAS.Fluid.HeatExchangers.Examples.AirHeater_T.pipe 2>&1)