Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUMassFlow.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) 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/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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) 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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: translateModel(BuildingSystems.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUMassFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUMassFlow") translateModel(BuildingSystems.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUMassFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUMassFlow") [: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/BuildingSystems 2.0.0-master/package.mo): time 0.7922/0.7922, allocations: 141.8 MB / 149.1 MB, free: 12.21 MB / 138.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001143/0.001143, allocations: 184.9 kB / 182 MB, free: 8.953 MB / 154.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.509/1.509, allocations: 221.3 MB / 436 MB, free: 1.281 MB / 330.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009714/0.0009714, allocations: 103.1 kB / 0.507 GB, free: 10.2 MB / 394.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001906/0.001906, allocations: 280.1 kB / 0.5884 GB, free: 7.031 MB / 474.9 MB Notification: Performance of FrontEnd - loaded program: time 9.979e-06/1.004e-05, allocations: 4 kB / 0.6759 GB, free: 13.4 MB / 0.5575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4328/0.4328, allocations: 82.77 MB / 0.7567 GB, free: 138.2 MB / 0.5575 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.432/4.865, allocations: 2.154 GB / 2.911 GB, free: 147.5 MB / 0.6982 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003238/4.866, allocations: 95.83 kB / 2.911 GB, free: 147.4 MB / 0.6982 GB Notification: Performance of FrontEnd: time 3.254/8.119, allocations: 0.9258 GB / 3.837 GB, free: 13.54 MB / 0.7138 GB Notification: Performance of Transformations before backend: time 0.0002026/8.12, allocations: 31.98 kB / 3.837 GB, free: 13.51 MB / 0.7138 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 0.007497/8.127, allocations: 1.957 MB / 3.839 GB, free: 11.49 MB / 0.7138 GB Notification: Performance of prepare preOptimizeDAE: time 6.82e-05/8.127, allocations: 17.02 kB / 3.839 GB, free: 11.48 MB / 0.7138 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004084/8.131, allocations: 0.564 MB / 3.84 GB, free: 10.91 MB / 0.7138 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00416/8.136, allocations: 1.238 MB / 3.841 GB, free: 9.621 MB / 0.7138 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006432/8.136, allocations: 185.9 kB / 3.841 GB, free: 9.438 MB / 0.7138 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004825/8.137, allocations: 60 kB / 3.841 GB, free: 9.379 MB / 0.7138 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002262/8.139, allocations: 0.9333 MB / 3.842 GB, free: 8.445 MB / 0.7138 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002397/8.141, allocations: 1.043 MB / 3.843 GB, free: 7.375 MB / 0.7138 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.727e-05/8.141, allocations: 3.906 kB / 3.843 GB, free: 7.371 MB / 0.7138 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001681/8.142, allocations: 11.92 kB / 3.843 GB, free: 7.359 MB / 0.7138 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.26e-05/8.142, allocations: 41.98 kB / 3.843 GB, free: 7.32 MB / 0.7138 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0108/8.153, allocations: 4.927 MB / 3.848 GB, free: 2.102 MB / 0.7138 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001263/8.154, allocations: 0.8221 MB / 3.849 GB, free: 1.25 MB / 0.7138 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006534/8.155, allocations: 455.3 kB / 3.849 GB, free: 0.8047 MB / 0.7138 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001216/8.156, allocations: 0.8502 MB / 3.85 GB, free: 15.79 MB / 0.7294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001118/8.157, allocations: 0.6147 MB / 3.851 GB, free: 15.14 MB / 0.7294 GB Notification: Performance of pre-optimization done (n=85): time 5.139e-06/8.157, allocations: 0 / 3.851 GB, free: 15.14 MB / 0.7294 GB Notification: Performance of matching and sorting (n=85): time 0.003774/8.161, allocations: 1.098 MB / 3.852 GB, free: 14.04 MB / 0.7294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.645e-05/8.161, allocations: 149 kB / 3.852 GB, free: 13.86 MB / 0.7294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002059/8.163, allocations: 0.7459 MB / 3.852 GB, free: 13.1 MB / 0.7294 GB Notification: Performance of collectPreVariables (initialization): time 0.0002164/8.163, allocations: 25.7 kB / 3.853 GB, free: 13.07 MB / 0.7294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005965/8.164, allocations: 380.3 kB / 3.853 GB, free: 12.69 MB / 0.7294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003516/8.164, allocations: 264.1 kB / 3.853 GB, free: 12.43 MB / 0.7294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.783e-05/8.164, allocations: 0 / 3.853 GB, free: 12.43 MB / 0.7294 GB Notification: Performance of setup shared object (initialization): time 0.0002463/8.165, allocations: 341.9 kB / 3.853 GB, free: 12.09 MB / 0.7294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007563/8.165, allocations: 397.9 kB / 3.854 GB, free: 11.7 MB / 0.7294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009614/8.166, allocations: 0.6004 MB / 3.854 GB, free: 11.01 MB / 0.7294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001965/8.168, allocations: 0.5732 MB / 3.855 GB, free: 10.44 MB / 0.7294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.644e-06/8.168, allocations: 0 / 3.855 GB, free: 10.44 MB / 0.7294 GB Notification: Performance of matching and sorting (n=119) (initialization): time 0.003582/8.172, allocations: 1.243 MB / 3.856 GB, free: 9.191 MB / 0.7294 GB Notification: Performance of prepare postOptimizeDAE: time 0.0007105/8.173, allocations: 1.143 MB / 3.857 GB, free: 7.961 MB / 0.7294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.864e-05/8.173, allocations: 4 kB / 3.857 GB, free: 7.957 MB / 0.7294 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.893e-05/8.173, allocations: 8 kB / 3.857 GB, free: 7.949 MB / 0.7294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001626/8.174, allocations: 275.6 kB / 3.858 GB, free: 7.68 MB / 0.7294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.252e-05/8.174, allocations: 8 kB / 3.858 GB, free: 7.672 MB / 0.7294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002084/8.176, allocations: 199 kB / 3.858 GB, free: 7.477 MB / 0.7294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002278/8.177, allocations: 51.88 kB / 3.858 GB, free: 7.426 MB / 0.7294 GB Notification: Performance of prepare postOptimizeDAE: time 1.236e-05/8.177, allocations: 4 kB / 3.858 GB, free: 7.422 MB / 0.7294 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003145/8.18, allocations: 1.098 MB / 3.859 GB, free: 6.324 MB / 0.7294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.402e-05/8.18, allocations: 4 kB / 3.859 GB, free: 6.32 MB / 0.7294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.437e-05/8.18, allocations: 4 kB / 3.859 GB, free: 6.316 MB / 0.7294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001467/8.181, allocations: 275.7 kB / 3.859 GB, free: 6.047 MB / 0.7294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.297e-05/8.181, allocations: 11.98 kB / 3.859 GB, free: 6.035 MB / 0.7294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001969/8.183, allocations: 175.2 kB / 3.859 GB, free: 5.863 MB / 0.7294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000208/8.184, allocations: 51.91 kB / 3.859 GB, free: 5.812 MB / 0.7294 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.0004914/8.184, allocations: 196.1 kB / 3.86 GB, free: 5.602 MB / 0.7294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005662/8.185, allocations: 118.6 kB / 3.86 GB, free: 5.484 MB / 0.7294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003895/8.189, allocations: 1.275 MB / 3.861 GB, free: 4.199 MB / 0.7294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.695e-05/8.189, allocations: 8 kB / 3.861 GB, free: 4.191 MB / 0.7294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.405e-06/8.189, allocations: 0 / 3.861 GB, free: 4.191 MB / 0.7294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.654e-05/8.189, allocations: 7.984 kB / 3.861 GB, free: 4.184 MB / 0.7294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007201/8.196, allocations: 2.675 MB / 3.864 GB, free: 1.422 MB / 0.7294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.146e-05/8.196, allocations: 4.406 kB / 3.864 GB, free: 1.418 MB / 0.7294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00121/8.197, allocations: 215.7 kB / 3.864 GB, free: 1.207 MB / 0.7294 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.062e-05/8.197, allocations: 8 kB / 3.864 GB, free: 1.199 MB / 0.7294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001107/8.197, allocations: 23.97 kB / 3.864 GB, free: 1.176 MB / 0.7294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.641e-05/8.197, allocations: 11.94 kB / 3.864 GB, free: 1.164 MB / 0.7294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.467e-06/8.197, allocations: 4 kB / 3.864 GB, free: 1.16 MB / 0.7294 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.4018/8.599, allocations: 2.091 MB / 3.866 GB, free: 139.7 MB / 0.7294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009601/8.6, allocations: 357.4 kB / 3.866 GB, free: 139.6 MB / 0.7294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00022/8.6, allocations: 18.72 kB / 3.866 GB, free: 139.6 MB / 0.7294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001348/8.602, allocations: 132.9 kB / 3.866 GB, free: 139.6 MB / 0.7294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001323/8.602, allocations: 50.62 kB / 3.866 GB, free: 139.6 MB / 0.7294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000118/8.602, allocations: 52.05 kB / 3.866 GB, free: 139.6 MB / 0.7294 GB Notification: Performance of sort global known variables: time 0.000816/8.603, allocations: 0.5666 MB / 3.867 GB, free: 139.5 MB / 0.7294 GB Notification: Performance of remove unused functions: time 0.003254/8.606, allocations: 0.9318 MB / 3.868 GB, free: 139.5 MB / 0.7294 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.00451/8.611, allocations: 2.445 MB / 3.87 GB, free: 138.9 MB / 0.7294 GB Notification: Performance of simCode: created initialization part: time 0.002852/8.614, allocations: 1.676 MB / 3.872 GB, free: 138.8 MB / 0.7294 GB Notification: Performance of simCode: created event and clocks part: time 8.276e-06/8.614, allocations: 2.719 kB / 3.872 GB, free: 138.8 MB / 0.7294 GB Notification: Performance of simCode: created simulation system equations: time 0.0007933/8.614, allocations: 0.5998 MB / 3.873 GB, free: 138.7 MB / 0.7294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002562/8.617, allocations: 418 kB / 3.873 GB, free: 138.7 MB / 0.7294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004341/8.621, allocations: 1.826 MB / 3.875 GB, free: 138.2 MB / 0.7294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001085/8.622, allocations: 1.314 MB / 3.876 GB, free: 137.5 MB / 0.7294 GB Notification: Performance of SimCode: time 9.61e-07/8.622, allocations: 3.844 kB / 3.876 GB, free: 137.5 MB / 0.7294 GB Notification: Performance of Templates: time 0.07274/8.695, allocations: 40.21 MB / 3.915 GB, free: 137 MB / 0.7294 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUMassFlow.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUMassFlow.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUMassFlow.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUMassFlow.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUMassFlow.sim & ./BuildingSystems_BuildingSystems.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUMassFlow -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUMassFlow.pipe 2>&1)