Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_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_dev_IDEAS_Fluid_HeatExchangers_Examples_DryCoilEffectivenessNTUMassFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUMassFlow,fileNamePrefix="IDEAS_dev_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.003262/0.003262, allocations: 179.8 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.6931/0.6931, allocations: 133.5 MB / 141.4 MB, free: 15.72 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.58/1.58, allocations: 221.3 MB / 395 MB, free: 10.2 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.001093/0.001093, allocations: 96.61 kB / 477.8 MB, free: 10.83 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.4991/0.5003, allocations: 88.43 MB / 0.5529 GB, free: 88.98 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2026/0.7029, allocations: 82.3 MB / 0.6333 GB, free: 14.04 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.986/5.689, allocations: 2.157 GB / 2.79 GB, free: 65.71 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003298/5.689, allocations: 91.84 kB / 2.79 GB, free: 65.63 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.551/9.24, allocations: 0.9276 GB / 3.718 GB, free: 94.52 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.089e-05/9.24, allocations: 9.188 kB / 3.718 GB, free: 94.52 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003395/9.244, allocations: 0.5706 MB / 3.719 GB, free: 94.44 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003466/9.247, allocations: 1.236 MB / 3.72 GB, free: 94.14 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006113/9.248, allocations: 186.8 kB / 3.72 GB, free: 94.14 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001823/9.248, allocations: 61.03 kB / 3.72 GB, free: 94.14 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001611/9.25, allocations: 0.938 MB / 3.721 GB, free: 94.14 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001683/9.251, allocations: 1.04 MB / 3.722 GB, free: 94.03 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.496e-05/9.251, allocations: 8.688 kB / 3.722 GB, free: 94.03 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.952e-05/9.252, allocations: 3.5 kB / 3.722 GB, free: 94.03 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.2e-05/9.252, allocations: 39.44 kB / 3.722 GB, free: 94.03 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009637/9.261, allocations: 4.921 MB / 3.727 GB, free: 92.12 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001275/9.263, allocations: 0.8227 MB / 3.728 GB, free: 92 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007487/9.263, allocations: 460.7 kB / 3.728 GB, free: 91.99 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001234/9.265, allocations: 0.8517 MB / 3.729 GB, free: 91.15 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00083/9.265, allocations: 0.6165 MB / 3.73 GB, free: 91.01 MB / 0.698 GB Notification: Performance of pre-optimization done (n=85): time 3.016e-06/9.265, allocations: 2.469 kB / 3.73 GB, free: 91.01 MB / 0.698 GB Notification: Performance of matching and sorting (n=85): time 0.003426/9.269, allocations: 1.097 MB / 3.731 GB, free: 90.9 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.86e-05/9.269, allocations: 142.9 kB / 3.731 GB, free: 90.74 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00153/9.271, allocations: 0.7449 MB / 3.732 GB, free: 90.6 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0001868/9.271, allocations: 29.02 kB / 3.732 GB, free: 90.57 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004254/9.271, allocations: 382.4 kB / 3.732 GB, free: 90.4 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.000296/9.271, allocations: 263.5 kB / 3.732 GB, free: 90.25 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.345e-05/9.272, allocations: 0 / 3.732 GB, free: 90.25 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001378/9.272, allocations: 346.2 kB / 3.732 GB, free: 89.94 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006982/9.272, allocations: 397.4 kB / 3.733 GB, free: 89.94 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008542/9.273, allocations: 0.6013 MB / 3.733 GB, free: 89.71 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001859/9.275, allocations: 0.5696 MB / 3.734 GB, free: 89.71 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.813e-06/9.275, allocations: 0 / 3.734 GB, free: 89.71 MB / 0.698 GB Notification: Performance of matching and sorting (n=119) (initialization): time 0.00285/9.278, allocations: 1.244 MB / 3.735 GB, free: 89.6 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002577/9.278, allocations: 1.141 MB / 3.736 GB, free: 88.41 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.133e-05/9.278, allocations: 5.344 kB / 3.736 GB, free: 88.41 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.457e-05/9.278, allocations: 6.094 kB / 3.736 GB, free: 88.41 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00141/9.28, allocations: 280.8 kB / 3.737 GB, free: 88.41 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.271e-05/9.28, allocations: 7.062 kB / 3.737 GB, free: 88.41 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001884/9.282, allocations: 197.2 kB / 3.737 GB, free: 88.37 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001395/9.282, allocations: 51.25 kB / 3.737 GB, free: 88.37 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 9.198e-06/9.282, allocations: 3.969 kB / 3.737 GB, free: 88.37 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002485/9.284, allocations: 1.092 MB / 3.738 GB, free: 88.36 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.424e-06/9.284, allocations: 10.75 kB / 3.738 GB, free: 88.35 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.172e-05/9.284, allocations: 7.562 kB / 3.738 GB, free: 88.35 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001325/9.286, allocations: 272.8 kB / 3.738 GB, free: 88.35 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.026e-05/9.286, allocations: 12.02 kB / 3.738 GB, free: 88.35 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00165/9.287, allocations: 175.2 kB / 3.738 GB, free: 88.32 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00012/9.288, allocations: 50.67 kB / 3.738 GB, free: 88.32 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.0003829/9.288, allocations: 205.6 kB / 3.739 GB, free: 88.15 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003298/9.288, allocations: 125.1 kB / 3.739 GB, free: 88.09 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003131/9.291, allocations: 1.251 MB / 3.74 GB, free: 88.02 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.037e-05/9.291, allocations: 15.14 kB / 3.74 GB, free: 88.02 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.197e-06/9.291, allocations: 0 / 3.74 GB, free: 88.02 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.322e-05/9.291, allocations: 2.953 kB / 3.74 GB, free: 88.02 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005786/9.297, allocations: 2.685 MB / 3.743 GB, free: 87.52 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.35e-05/9.297, allocations: 6.562 kB / 3.743 GB, free: 87.52 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00113/9.298, allocations: 212.3 kB / 3.743 GB, free: 87.52 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.576e-05/9.298, allocations: 9.438 kB / 3.743 GB, free: 87.52 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.491e-05/9.299, allocations: 25.44 kB / 3.743 GB, free: 87.52 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.286e-05/9.299, allocations: 10.19 kB / 3.743 GB, free: 87.52 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.566e-06/9.299, allocations: 6.594 kB / 3.743 GB, free: 87.52 MB / 0.698 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.003719/9.302, allocations: 2.095 MB / 3.745 GB, free: 86.97 MB / 0.698 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0054/9.308, allocations: 3.203 MB / 3.748 GB, free: 86.07 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001245/9.309, allocations: 352.4 kB / 3.748 GB, free: 85.9 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002964/9.309, allocations: 18.12 kB / 3.748 GB, free: 85.9 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001527/9.311, allocations: 142.3 kB / 3.749 GB, free: 85.89 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001687/9.311, allocations: 49.73 kB / 3.749 GB, free: 85.89 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001216/9.311, allocations: 47.28 kB / 3.749 GB, free: 85.89 MB / 0.698 GB Notification: Performance of sort global known variables: time 0.0009784/9.312, allocations: 0.5606 MB / 3.749 GB, free: 85.79 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.006627/9.319, allocations: 1.515 MB / 3.751 GB, free: 85.64 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.004445/9.323, allocations: 2.442 MB / 3.753 GB, free: 84.99 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.002894/9.326, allocations: 1.677 MB / 3.755 GB, free: 84.84 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 7.765e-06/9.326, allocations: 0 / 3.755 GB, free: 84.84 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0008562/9.327, allocations: 0.6058 MB / 3.755 GB, free: 84.77 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00274/9.33, allocations: 409.4 kB / 3.756 GB, free: 84.76 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004855/9.335, allocations: 1.827 MB / 3.757 GB, free: 84.24 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001124/9.336, allocations: 1.317 MB / 3.759 GB, free: 83.53 MB / 0.698 GB Notification: Performance of SimCode: time 1.463e-06/9.336, allocations: 3.5 kB / 3.759 GB, free: 83.53 MB / 0.698 GB (rm -f IDEAS_dev_IDEAS.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUMassFlow.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUMassFlow.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUMassFlow.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUMassFlow.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_HeatExchangers_Examples_DryCoilEffectivenessNTUMassFlow_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_HeatExchangers_Examples_DryCoilEffectivenessNTUMassFlow.fmu > IDEAS_dev_IDEAS.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUMassFlow.pipe 2>&1)