Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUMassFlow.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.DryCoilEffectivenessNTUMassFlow,fileNamePrefix="IDEAS_IDEAS_Fluid_HeatExchangers_Examples_DryCoilEffectivenessNTUMassFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUMassFlow,fileNamePrefix="IDEAS_IDEAS_Fluid_HeatExchangers_Examples_DryCoilEffectivenessNTUMassFlow",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.003294/0.003294, allocations: 178.5 kB / 7.455 MB, free: 2.508 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8005/0.8005, allocations: 133.5 MB / 141.4 MB, free: 15.78 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.564/1.564, allocations: 221.3 MB / 395 MB, free: 10.21 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.001136/0.001135, allocations: 102.3 kB / 477.8 MB, free: 10.82 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.473/0.4742, allocations: 88.42 MB / 0.5529 GB, free: 88.92 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2015/0.6757, allocations: 82.3 MB / 0.6333 GB, free: 14.04 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.291/5.967, allocations: 2.157 GB / 2.79 GB, free: 75.18 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004203/5.967, allocations: 79.95 kB / 2.79 GB, free: 75.11 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: 229 * Number of variables: 229 Notification: Performance of Generate backend data structure: time 3.618/9.585, allocations: 0.9276 GB / 3.718 GB, free: 91.7 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.896e-05/9.585, allocations: 9.75 kB / 3.718 GB, free: 91.7 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003604/9.588, allocations: 0.5665 MB / 3.719 GB, free: 91.62 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003627/9.592, allocations: 1.232 MB / 3.72 GB, free: 91.32 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006522/9.593, allocations: 191.9 kB / 3.72 GB, free: 91.32 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002296/9.593, allocations: 60.78 kB / 3.72 GB, free: 91.32 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001817/9.595, allocations: 0.9408 MB / 3.721 GB, free: 91.31 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001833/9.597, allocations: 1.041 MB / 3.722 GB, free: 91.21 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.449e-05/9.597, allocations: 0 / 3.722 GB, free: 91.21 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001011/9.597, allocations: 3.844 kB / 3.722 GB, free: 91.21 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.707e-05/9.597, allocations: 39.67 kB / 3.722 GB, free: 91.21 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009612/9.607, allocations: 4.931 MB / 3.727 GB, free: 89.3 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001161/9.608, allocations: 0.824 MB / 3.728 GB, free: 89.17 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005936/9.608, allocations: 455.7 kB / 3.728 GB, free: 89.16 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001052/9.609, allocations: 0.8511 MB / 3.729 GB, free: 88.32 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008136/9.61, allocations: 0.6183 MB / 3.73 GB, free: 88.18 MB / 0.698 GB Notification: Performance of pre-optimization done (n=85): time 3.006e-06/9.61, allocations: 0 / 3.73 GB, free: 88.18 MB / 0.698 GB Notification: Performance of matching and sorting (n=85): time 0.003153/9.613, allocations: 1.093 MB / 3.731 GB, free: 88.07 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.052e-05/9.613, allocations: 151.5 kB / 3.731 GB, free: 87.92 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001194/9.615, allocations: 0.7391 MB / 3.732 GB, free: 87.78 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.000135/9.615, allocations: 29.67 kB / 3.732 GB, free: 87.75 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003095/9.615, allocations: 380.6 kB / 3.732 GB, free: 87.57 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002295/9.615, allocations: 266.8 kB / 3.732 GB, free: 87.41 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.212e-05/9.615, allocations: 0 / 3.732 GB, free: 87.41 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 9.678e-05/9.616, allocations: 344.2 kB / 3.732 GB, free: 87.1 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005955/9.616, allocations: 389.9 kB / 3.733 GB, free: 87.1 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007463/9.617, allocations: 0.6003 MB / 3.733 GB, free: 86.89 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001625/9.619, allocations: 0.5687 MB / 3.734 GB, free: 86.88 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.322e-06/9.619, allocations: 7.75 kB / 3.734 GB, free: 86.87 MB / 0.698 GB Notification: Performance of matching and sorting (n=119) (initialization): time 0.002816/9.621, allocations: 1.236 MB / 3.735 GB, free: 86.76 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003444/9.622, allocations: 1.139 MB / 3.736 GB, free: 85.58 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.242e-05/9.622, allocations: 3.906 kB / 3.736 GB, free: 85.58 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.843e-05/9.622, allocations: 9.844 kB / 3.736 GB, free: 85.58 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001437/9.623, allocations: 278.9 kB / 3.737 GB, free: 85.58 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.177e-05/9.623, allocations: 7.625 kB / 3.737 GB, free: 85.58 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001792/9.625, allocations: 199.3 kB / 3.737 GB, free: 85.53 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001512/9.625, allocations: 58.28 kB / 3.737 GB, free: 85.53 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 9.868e-06/9.625, allocations: 3.125 kB / 3.737 GB, free: 85.53 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002519/9.628, allocations: 1.092 MB / 3.738 GB, free: 85.52 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.812e-06/9.628, allocations: 0 / 3.738 GB, free: 85.52 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.316e-05/9.628, allocations: 9.469 kB / 3.738 GB, free: 85.52 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00136/9.629, allocations: 285.2 kB / 3.738 GB, free: 85.52 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.384e-06/9.629, allocations: 6.5 kB / 3.738 GB, free: 85.52 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00166/9.631, allocations: 173.1 kB / 3.738 GB, free: 85.48 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001224/9.631, allocations: 51.38 kB / 3.738 GB, free: 85.48 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 16 ($whenCondition1,$whenCondition2,mWatGai.a,mWatGai.b,mWatGai.last,$PRE.mWatGai.nextEvent,mWatGai.nextEvent,mWatGai.nextEventScaled,mAirGai.a,mAirGai.b,mAirGai.last,$PRE.mAirGai.nextEvent,mAirGai.nextEvent,mAirGai.nextEventScaled,hex.flowRegime,hex.flowRegime_nominal) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (109): * Single equations (assignments): 107 * Array equations: 0 * Algorithm blocks: 2 * 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.0003781/9.631, allocations: 207.7 kB / 3.739 GB, free: 85.31 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002668/9.632, allocations: 120.2 kB / 3.739 GB, free: 85.25 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003051/9.635, allocations: 1.266 MB / 3.74 GB, free: 85.17 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.281e-05/9.635, allocations: 7.156 kB / 3.74 GB, free: 85.17 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.456e-06/9.635, allocations: 3.719 kB / 3.74 GB, free: 85.17 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.057e-05/9.635, allocations: 3.516 kB / 3.74 GB, free: 85.17 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004917/9.64, allocations: 2.682 MB / 3.743 GB, free: 84.68 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.803e-06/9.64, allocations: 0 / 3.743 GB, free: 84.68 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001092/9.641, allocations: 216.1 kB / 3.743 GB, free: 84.68 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.319e-05/9.641, allocations: 11.25 kB / 3.743 GB, free: 84.68 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.516e-05/9.641, allocations: 24.06 kB / 3.743 GB, free: 84.68 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.955e-06/9.641, allocations: 11.45 kB / 3.743 GB, free: 84.68 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.999e-06/9.641, allocations: 4.469 kB / 3.743 GB, free: 84.68 MB / 0.698 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.00331/9.644, allocations: 2.093 MB / 3.745 GB, free: 84.13 MB / 0.698 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.004591/9.649, allocations: 3.209 MB / 3.748 GB, free: 83.22 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000818/9.65, allocations: 353.8 kB / 3.748 GB, free: 83.05 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002256/9.65, allocations: 11.41 kB / 3.748 GB, free: 83.05 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001342/9.651, allocations: 133 kB / 3.749 GB, free: 83.05 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001426/9.651, allocations: 56 kB / 3.749 GB, free: 83.05 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001171/9.652, allocations: 50.45 kB / 3.749 GB, free: 83.05 MB / 0.698 GB Notification: Performance of sort global known variables: time 0.000903/9.653, allocations: 0.5622 MB / 3.749 GB, free: 82.94 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.005438/9.658, allocations: 1.508 MB / 3.751 GB, free: 82.8 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 1 (senRelHum.phi) * Number of discrete variables: 13 ($whenCondition1,$whenCondition2,mWatGai.a,mWatGai.b,mWatGai.last,mWatGai.nextEvent,mWatGai.nextEventScaled,mAirGai.a,mAirGai.b,mAirGai.last,mAirGai.nextEvent,mAirGai.nextEventScaled,hex.flowRegime) * Number of discrete states: 12 (mAirGai.nextEvent,mAirGai.last,mAirGai.nextEventScaled,mAirGai.b,mAirGai.a,$whenCondition2,mWatGai.nextEvent,mWatGai.last,mWatGai.nextEventScaled,mWatGai.b,mWatGai.a,$whenCondition1) * Top-level inputs: 0 Notification: Strong component statistics for simulation (83): * Single equations (assignments): 79 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 2 * 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 Backend phase and start with SimCode phase: time 0.004125/9.662, allocations: 2.453 MB / 3.753 GB, free: 82.14 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.003079/9.665, allocations: 1.679 MB / 3.755 GB, free: 82 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 9.427e-06/9.665, allocations: 0 / 3.755 GB, free: 82 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0008908/9.666, allocations: 0.6013 MB / 3.755 GB, free: 81.93 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002577/9.669, allocations: 413.3 kB / 3.756 GB, free: 81.92 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004666/9.673, allocations: 1.825 MB / 3.757 GB, free: 81.41 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001317/9.675, allocations: 1.313 MB / 3.759 GB, free: 80.7 MB / 0.698 GB Notification: Performance of SimCode: time 2.725e-06/9.675, allocations: 0 / 3.759 GB, free: 80.7 MB / 0.698 GB (rm -f IDEAS_IDEAS.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUMassFlow.pipe ; mkfifo IDEAS_IDEAS.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUMassFlow.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUMassFlow.pipe >> ../files/IDEAS_IDEAS.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUMassFlow.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_HeatExchangers_Examples_DryCoilEffectivenessNTUMassFlow_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_HeatExchangers_Examples_DryCoilEffectivenessNTUMassFlow.fmu > IDEAS_IDEAS.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUMassFlow.pipe 2>&1)