Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.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/IBPSA 4.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 IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.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: translateModel(IBPSA.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUMassFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUMassFlow") translateModel(IBPSA.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUMassFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.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/Complex 4.0.0+maint.om/package.mo): time 0.0009986/0.0009986, allocations: 191 kB / 7.804 MB, free: 2.441 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.4526/0.4526, allocations: 90.85 MB / 99.08 MB, free: 14.98 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.176/1.176, allocations: 221.4 MB / 342.8 MB, free: 5.215 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001002/0.001002, allocations: 101.5 kB / 415.5 MB, free: 6.453 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 9.097e-06/9.207e-06, allocations: 4 kB / 493.9 MB, free: 8.105 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3458/0.3459, allocations: 72.29 MB / 0.5529 GB, free: 73.4 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 3.87/4.216, allocations: 2.148 GB / 2.701 GB, free: 156.3 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002117/4.216, allocations: 87.95 kB / 2.701 GB, free: 156.2 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.893/7.109, allocations: 0.9244 GB / 3.625 GB, free: 74.87 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 0.0002103/7.109, allocations: 39.78 kB / 3.625 GB, free: 74.86 MB / 0.6198 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.006707/7.116, allocations: 1.96 MB / 3.627 GB, free: 73.86 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.218e-05/7.116, allocations: 9.938 kB / 3.627 GB, free: 73.86 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003604/7.119, allocations: 0.5696 MB / 3.628 GB, free: 73.78 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003597/7.123, allocations: 1.244 MB / 3.629 GB, free: 73.42 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006165/7.124, allocations: 180.8 kB / 3.629 GB, free: 73.41 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001503/7.124, allocations: 63.97 kB / 3.629 GB, free: 73.41 MB / 0.6198 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001521/7.125, allocations: 0.9365 MB / 3.63 GB, free: 73.41 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001534/7.127, allocations: 1.043 MB / 3.631 GB, free: 73.3 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.267e-05/7.127, allocations: 0 / 3.631 GB, free: 73.3 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001037/7.127, allocations: 0 / 3.631 GB, free: 73.3 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.324e-05/7.127, allocations: 41.86 kB / 3.631 GB, free: 73.3 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007837/7.135, allocations: 4.941 MB / 3.636 GB, free: 71.34 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001054/7.136, allocations: 0.8078 MB / 3.637 GB, free: 71.22 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00055/7.137, allocations: 457.4 kB / 3.637 GB, free: 71.21 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009728/7.138, allocations: 0.85 MB / 3.638 GB, free: 70.37 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007239/7.138, allocations: 0.616 MB / 3.639 GB, free: 70.23 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=84): time 3.567e-06/7.138, allocations: 3.656 kB / 3.639 GB, free: 70.23 MB / 0.6198 GB Notification: Performance of matching and sorting (n=84): time 0.002587/7.141, allocations: 1.09 MB / 3.64 GB, free: 70.12 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.994e-05/7.141, allocations: 144 kB / 3.64 GB, free: 69.97 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009079/7.142, allocations: 0.746 MB / 3.641 GB, free: 69.82 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 8.784e-05/7.142, allocations: 25.7 kB / 3.641 GB, free: 69.79 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002406/7.142, allocations: 384.4 kB / 3.641 GB, free: 69.57 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001953/7.142, allocations: 261.1 kB / 3.641 GB, free: 69.41 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.189e-05/7.142, allocations: 0 / 3.641 GB, free: 69.41 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 9.063e-05/7.143, allocations: 348.9 kB / 3.642 GB, free: 69.1 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000556/7.143, allocations: 389 kB / 3.642 GB, free: 69.1 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006998/7.144, allocations: 0.5885 MB / 3.643 GB, free: 68.89 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001398/7.145, allocations: 0.5626 MB / 3.643 GB, free: 68.88 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.679e-06/7.145, allocations: 2.969 kB / 3.643 GB, free: 68.88 MB / 0.6198 GB Notification: Performance of matching and sorting (n=118) (initialization): time 0.002437/7.148, allocations: 1.237 MB / 3.644 GB, free: 68.78 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002612/7.148, allocations: 1.144 MB / 3.646 GB, free: 67.59 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.176e-05/7.148, allocations: 9.312 kB / 3.646 GB, free: 67.59 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.677e-05/7.148, allocations: 7.406 kB / 3.646 GB, free: 67.59 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001356/7.149, allocations: 277.3 kB / 3.646 GB, free: 67.59 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.144e-05/7.149, allocations: 10.19 kB / 3.646 GB, free: 67.59 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001555/7.151, allocations: 188.8 kB / 3.646 GB, free: 67.55 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001254/7.151, allocations: 49.36 kB / 3.646 GB, free: 67.55 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 7.244e-06/7.151, allocations: 3.844 kB / 3.646 GB, free: 67.55 MB / 0.6198 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002198/7.153, allocations: 1.09 MB / 3.647 GB, free: 67.53 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.24e-06/7.153, allocations: 3.062 kB / 3.647 GB, free: 67.53 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.056e-05/7.153, allocations: 10.38 kB / 3.647 GB, free: 67.53 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001298/7.155, allocations: 280.8 kB / 3.647 GB, free: 67.53 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.774e-06/7.155, allocations: 9.953 kB / 3.647 GB, free: 67.53 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001417/7.156, allocations: 178 kB / 3.648 GB, free: 67.49 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001129/7.156, allocations: 48.73 kB / 3.648 GB, free: 67.49 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 15 ($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_nominal) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (108): * Single equations (assignments): 106 * 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.0003279/7.157, allocations: 208.6 kB / 3.648 GB, free: 67.32 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002094/7.157, allocations: 120.6 kB / 3.648 GB, free: 67.25 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002728/7.16, allocations: 1.25 MB / 3.649 GB, free: 67.18 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.404e-05/7.16, allocations: 14.22 kB / 3.649 GB, free: 67.18 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.754e-06/7.16, allocations: 3.906 kB / 3.649 GB, free: 67.18 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.234e-05/7.16, allocations: 7.031 kB / 3.649 GB, free: 67.18 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004533/7.164, allocations: 2.676 MB / 3.652 GB, free: 66.67 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.183e-06/7.164, allocations: 4.344 kB / 3.652 GB, free: 66.67 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001043/7.165, allocations: 218.3 kB / 3.652 GB, free: 66.67 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.015e-05/7.165, allocations: 6.906 kB / 3.652 GB, free: 66.67 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.939e-05/7.165, allocations: 27.92 kB / 3.652 GB, free: 66.67 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.947e-06/7.165, allocations: 12.36 kB / 3.652 GB, free: 66.67 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.759e-06/7.165, allocations: 3.812 kB / 3.652 GB, free: 66.67 MB / 0.6198 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.003324/7.169, allocations: 2.085 MB / 3.654 GB, free: 66.13 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006631/7.169, allocations: 360.4 kB / 3.654 GB, free: 65.96 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002138/7.17, allocations: 10.56 kB / 3.654 GB, free: 65.96 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001299/7.171, allocations: 142.9 kB / 3.655 GB, free: 65.95 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001183/7.171, allocations: 56.22 kB / 3.655 GB, free: 65.95 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001091/7.171, allocations: 51.34 kB / 3.655 GB, free: 65.95 MB / 0.6198 GB Notification: Performance of sort global known variables: time 0.0007596/7.172, allocations: 0.5642 MB / 3.655 GB, free: 65.84 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.002882/7.175, allocations: 0.9337 MB / 3.656 GB, free: 65.7 MB / 0.6198 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: 12 ($whenCondition1,$whenCondition2,mWatGai.a,mWatGai.b,mWatGai.last,mWatGai.nextEvent,mWatGai.nextEventScaled,mAirGai.a,mAirGai.b,mAirGai.last,mAirGai.nextEvent,mAirGai.nextEventScaled) * 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 (82): * Single equations (assignments): 78 * 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.004261/7.179, allocations: 2.456 MB / 3.659 GB, free: 65.04 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.00257/7.182, allocations: 1.663 MB / 3.66 GB, free: 64.9 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 6.172e-06/7.182, allocations: 4.734 kB / 3.66 GB, free: 64.9 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0006931/7.182, allocations: 0.5899 MB / 3.661 GB, free: 64.83 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002285/7.185, allocations: 400.1 kB / 3.661 GB, free: 64.82 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00416/7.189, allocations: 1.824 MB / 3.663 GB, free: 64.3 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001038/7.19, allocations: 1.319 MB / 3.664 GB, free: 63.59 MB / 0.6198 GB Notification: Performance of SimCode: time 6.11e-07/7.19, allocations: 0 / 3.664 GB, free: 63.59 MB / 0.6198 GB Notification: Performance of Templates: time 0.06067/7.251, allocations: 40.03 MB / 3.703 GB, free: 55.72 MB / 0.6198 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUMassFlow.makefile (rm -f IBPSA_latest_IBPSA.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUMassFlow.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUMassFlow.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUMassFlow.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUMassFlow.sim & ./IBPSA_latest_IBPSA.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUMassFlow -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUMassFlow.pipe 2>&1)