Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.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.BaseClasses.Examples.HADryCoil,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil") translateModel(IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil") [: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.001428/0.001428, allocations: 190.7 kB / 7.807 MB, free: 2.492 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.4444/0.4444, allocations: 90.86 MB / 99.07 MB, free: 14.94 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.354/1.354, allocations: 221.4 MB / 342.8 MB, free: 5.102 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.001048/0.001048, allocations: 96.86 kB / 415.5 MB, free: 6.41 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 9.889e-06/9.989e-06, allocations: 0 / 493.9 MB, free: 8.043 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4227/0.4227, allocations: 72.29 MB / 0.5529 GB, free: 73.34 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1212/0.544, allocations: 103.2 MB / 0.6536 GB, free: 6.863 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002426/0.5443, allocations: 87.94 kB / 0.6537 GB, free: 6.777 MB / 474.7 MB Notification: Performance of FrontEnd: time 0.0231/0.5674, allocations: 7.33 MB / 0.6609 GB, free: 15.51 MB / 490.7 MB Notification: Performance of Transformations before backend: time 2.889e-05/0.5675, allocations: 4 kB / 0.6609 GB, free: 15.5 MB / 490.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 34 * Number of variables: 34 Notification: Performance of Generate backend data structure: time 0.001141/0.5686, allocations: 0.5642 MB / 0.6614 GB, free: 14.89 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 0.0001224/0.5688, allocations: 8.031 kB / 0.6615 GB, free: 14.89 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003031/0.5691, allocations: 35.61 kB / 0.6615 GB, free: 14.85 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005588/0.5697, allocations: 298.2 kB / 0.6618 GB, free: 14.52 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.724e-05/0.5697, allocations: 11.91 kB / 0.6618 GB, free: 14.51 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.882e-05/0.5697, allocations: 8 kB / 0.6618 GB, free: 14.5 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002374/0.57, allocations: 88.55 kB / 0.6619 GB, free: 14.42 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002668/0.5702, allocations: 160.4 kB / 0.662 GB, free: 14.24 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.165e-05/0.5703, allocations: 0 / 0.662 GB, free: 14.24 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.867e-05/0.5703, allocations: 0 / 0.662 GB, free: 14.24 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.588e-06/0.5703, allocations: 11.98 kB / 0.662 GB, free: 14.23 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001261/0.5716, allocations: 0.9098 MB / 0.6629 GB, free: 13.26 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000554/0.5721, allocations: 184.5 kB / 0.6631 GB, free: 13.07 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001137/0.5723, allocations: 57.72 kB / 0.6632 GB, free: 13 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.913e-05/0.5723, allocations: 4.297 kB / 0.6632 GB, free: 13 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.545e-05/0.5723, allocations: 38.5 kB / 0.6632 GB, free: 12.95 MB / 490.7 MB Notification: Performance of pre-optimization done (n=16): time 1.462e-06/0.5724, allocations: 0 / 0.6632 GB, free: 12.95 MB / 490.7 MB Notification: Performance of matching and sorting (n=16): time 0.0004645/0.5728, allocations: 146.8 kB / 0.6633 GB, free: 12.8 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.108e-05/0.5729, allocations: 81.11 kB / 0.6634 GB, free: 12.71 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002198/0.5731, allocations: 219.4 kB / 0.6636 GB, free: 12.49 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 2.161e-05/0.5731, allocations: 25.7 kB / 0.6637 GB, free: 12.46 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.721e-05/0.5732, allocations: 132.2 kB / 0.6638 GB, free: 12.32 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.036e-05/0.5733, allocations: 51.2 kB / 0.6638 GB, free: 12.27 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.036e-05/0.5733, allocations: 3.938 kB / 0.6638 GB, free: 12.27 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001251/0.5734, allocations: 334.8 kB / 0.6641 GB, free: 11.93 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.044e-05/0.5735, allocations: 51.84 kB / 0.6642 GB, free: 11.88 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001077/0.5736, allocations: 83.44 kB / 0.6643 GB, free: 11.78 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001506/0.5738, allocations: 47.97 kB / 0.6643 GB, free: 11.73 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.364e-06/0.5738, allocations: 4.75 kB / 0.6643 GB, free: 11.73 MB / 490.7 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.000407/0.5742, allocations: 181.2 kB / 0.6645 GB, free: 11.55 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.624e-05/0.5742, allocations: 9.109 kB / 0.6645 GB, free: 11.54 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.858e-06/0.5742, allocations: 7.906 kB / 0.6645 GB, free: 11.53 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.494e-05/0.5743, allocations: 0 / 0.6645 GB, free: 11.53 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003505/0.5746, allocations: 76.11 kB / 0.6646 GB, free: 11.46 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.596e-05/0.5746, allocations: 7.938 kB / 0.6646 GB, free: 11.45 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002774/0.5749, allocations: 55.8 kB / 0.6646 GB, free: 11.39 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.21e-05/0.575, allocations: 8 kB / 0.6647 GB, free: 11.39 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (23): * Single equations (assignments): 23 * Array equations: 0 * Algorithm blocks: 0 * 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 8.92e-05/0.5751, allocations: 103.9 kB / 0.6648 GB, free: 11.28 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000125/0.5752, allocations: 27.62 kB / 0.6648 GB, free: 11.25 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004219/0.5756, allocations: 188.5 kB / 0.665 GB, free: 11.07 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.34e-06/0.5756, allocations: 8 kB / 0.665 GB, free: 11.06 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.06e-06/0.5756, allocations: 0 / 0.665 GB, free: 11.06 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.979e-06/0.5757, allocations: 0 / 0.665 GB, free: 11.06 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003334/0.576, allocations: 253.9 kB / 0.6652 GB, free: 10.77 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.889e-06/0.576, allocations: 7.984 kB / 0.6652 GB, free: 10.77 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003052/0.5763, allocations: 67.89 kB / 0.6653 GB, free: 10.7 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.811e-06/0.5763, allocations: 4 kB / 0.6653 GB, free: 10.7 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.122e-05/0.5764, allocations: 3.906 kB / 0.6653 GB, free: 10.69 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.687e-06/0.5764, allocations: 6.359 kB / 0.6653 GB, free: 10.69 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.529e-06/0.5764, allocations: 4 kB / 0.6653 GB, free: 10.68 MB / 490.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.000443/0.5768, allocations: 345.6 kB / 0.6656 GB, free: 10.32 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001081/0.5769, allocations: 100.8 kB / 0.6657 GB, free: 10.21 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.273e-05/0.577, allocations: 0 / 0.6657 GB, free: 10.21 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002999/0.5773, allocations: 43.91 kB / 0.6658 GB, free: 10.16 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.931e-05/0.5774, allocations: 23.88 kB / 0.6658 GB, free: 10.14 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.343e-05/0.5774, allocations: 8 kB / 0.6658 GB, free: 10.13 MB / 490.7 MB Notification: Performance of sort global known variables: time 0.0001604/0.5776, allocations: 171.1 kB / 0.666 GB, free: 9.965 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.00037/0.5779, allocations: 56.17 kB / 0.666 GB, free: 9.91 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (20): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * 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 Backend phase and start with SimCode phase: time 0.0002349/0.5782, allocations: 115.2 kB / 0.6661 GB, free: 9.789 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0002701/0.5785, allocations: 123.9 kB / 0.6662 GB, free: 9.668 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.5785, allocations: 0 / 0.6662 GB, free: 9.668 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001271/0.5786, allocations: 65.44 kB / 0.6663 GB, free: 9.605 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004525/0.5791, allocations: 71.2 kB / 0.6664 GB, free: 9.535 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007299/0.5798, allocations: 291.5 kB / 0.6667 GB, free: 9.227 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000431/0.5802, allocations: 0.7941 MB / 0.6674 GB, free: 8.402 MB / 490.7 MB Notification: Performance of SimCode: time 4.3e-07/0.5803, allocations: 0 / 0.6674 GB, free: 8.402 MB / 490.7 MB Notification: Performance of Templates: time 0.007886/0.5881, allocations: 3.441 MB / 0.6708 GB, free: 5.098 MB / 490.7 MB make -j1 -f IBPSA_latest_IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.makefile (rm -f IBPSA_latest_IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.sim & ./IBPSA_latest_IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe 2>&1)