Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.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.HACoilInside,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside") translateModel(IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside") [: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.001145/0.001145, allocations: 189 kB / 7.805 MB, free: 2.465 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.4471/0.4471, allocations: 90.85 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.306/1.306, allocations: 221.4 MB / 342.8 MB, free: 5.219 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.0009722/0.0009722, allocations: 90.61 kB / 415.5 MB, free: 6.434 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 8.967e-06/9.238e-06, allocations: 4 kB / 493.9 MB, free: 8.078 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.408/0.408, allocations: 72.3 MB / 0.5529 GB, free: 73.31 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1238/0.5319, allocations: 102.7 MB / 0.6532 GB, free: 7.363 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002951/0.5322, allocations: 79.95 kB / 0.6532 GB, free: 7.285 MB / 474.7 MB Notification: Performance of FrontEnd: time 0.01607/0.5483, allocations: 4.996 MB / 0.6581 GB, free: 2.344 MB / 474.7 MB Notification: Performance of Transformations before backend: time 1.086e-05/0.5484, allocations: 0 / 0.6581 GB, free: 2.344 MB / 474.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004533/0.5488, allocations: 397.3 kB / 0.6585 GB, free: 1.914 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.995e-05/0.5489, allocations: 8.031 kB / 0.6585 GB, free: 1.906 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001204/0.549, allocations: 8.406 kB / 0.6585 GB, free: 1.898 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002511/0.5493, allocations: 203.9 kB / 0.6587 GB, free: 1.66 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.154e-05/0.5493, allocations: 4 kB / 0.6587 GB, free: 1.656 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.499e-05/0.5493, allocations: 1.094 kB / 0.6587 GB, free: 1.656 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.466e-05/0.5494, allocations: 20 kB / 0.6587 GB, free: 1.637 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.115e-05/0.5495, allocations: 50.45 kB / 0.6588 GB, free: 1.582 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.604e-06/0.5495, allocations: 0 / 0.6588 GB, free: 1.582 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.133e-05/0.5495, allocations: 0.75 kB / 0.6588 GB, free: 1.582 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.418e-06/0.5496, allocations: 0 / 0.6588 GB, free: 1.582 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004171/0.55, allocations: 289.2 kB / 0.6591 GB, free: 1.262 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.848e-05/0.5501, allocations: 38.58 kB / 0.6591 GB, free: 1.215 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.782e-05/0.5501, allocations: 26.23 kB / 0.6591 GB, free: 1.188 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.66e-05/0.5502, allocations: 0 / 0.6591 GB, free: 1.188 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.102e-05/0.5502, allocations: 30.56 kB / 0.6591 GB, free: 1.148 MB / 474.7 MB Notification: Performance of pre-optimization done (n=5): time 8.41e-07/0.5502, allocations: 4 kB / 0.6592 GB, free: 1.145 MB / 474.7 MB Notification: Performance of matching and sorting (n=5): time 0.0002265/0.5504, allocations: 68.97 kB / 0.6592 GB, free: 1.074 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.849e-05/0.5505, allocations: 55.31 kB / 0.6593 GB, free: 1.008 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.059e-05/0.5506, allocations: 115 kB / 0.6594 GB, free: 0.8867 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 1.376e-05/0.5506, allocations: 29.64 kB / 0.6594 GB, free: 0.8516 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.71e-05/0.5506, allocations: 92.12 kB / 0.6595 GB, free: 0.7578 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.863e-05/0.5507, allocations: 15.75 kB / 0.6595 GB, free: 0.7422 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.701e-06/0.5507, allocations: 0 / 0.6595 GB, free: 0.7422 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001059/0.5508, allocations: 322.8 kB / 0.6598 GB, free: 428 kB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.035e-05/0.5508, allocations: 12 kB / 0.6598 GB, free: 416 kB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.578e-05/0.5508, allocations: 8 kB / 0.6598 GB, free: 408 kB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.964e-05/0.5509, allocations: 15.98 kB / 0.6599 GB, free: 392 kB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.206e-06/0.5509, allocations: 3.906 kB / 0.6599 GB, free: 388 kB / 474.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001381/0.551, allocations: 71.22 kB / 0.6599 GB, free: 312 kB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.195e-05/0.5511, allocations: 12 kB / 0.6599 GB, free: 300 kB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.639e-06/0.5511, allocations: 0 / 0.6599 GB, free: 300 kB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.379e-05/0.5511, allocations: 3.984 kB / 0.6599 GB, free: 296 kB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001313/0.5512, allocations: 15.98 kB / 0.66 GB, free: 280 kB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.198e-06/0.5512, allocations: 1.875 kB / 0.66 GB, free: 280 kB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.755e-05/0.5513, allocations: 8 kB / 0.66 GB, free: 272 kB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.447e-06/0.5513, allocations: 4 kB / 0.66 GB, free: 268 kB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (6): * Single equations (assignments): 6 * 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 6.802e-05/0.5514, allocations: 108.8 kB / 0.6601 GB, free: 152 kB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.564e-05/0.5515, allocations: 11.89 kB / 0.6601 GB, free: 140 kB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001969/0.5517, allocations: 78.98 kB / 0.6602 GB, free: 56 kB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.953e-06/0.5517, allocations: 0 / 0.6602 GB, free: 56 kB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.429e-06/0.5517, allocations: 0 / 0.6602 GB, free: 56 kB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.166e-06/0.5517, allocations: 0 / 0.6602 GB, free: 56 kB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001959/0.5519, allocations: 158.3 kB / 0.6603 GB, free: 15.86 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.566e-06/0.5519, allocations: 10.03 kB / 0.6603 GB, free: 15.86 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.825e-05/0.552, allocations: 19.98 kB / 0.6603 GB, free: 15.84 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.077e-06/0.552, allocations: 0 / 0.6603 GB, free: 15.84 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.917e-06/0.552, allocations: 3.938 kB / 0.6603 GB, free: 15.83 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.737e-06/0.552, allocations: 3.938 kB / 0.6603 GB, free: 15.83 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.714e-06/0.5521, allocations: 0 / 0.6603 GB, free: 15.83 MB / 490.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.000175/0.5522, allocations: 163.5 kB / 0.6605 GB, free: 15.65 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.275e-05/0.5523, allocations: 96.94 kB / 0.6606 GB, free: 15.54 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.08e-05/0.5523, allocations: 0 / 0.6606 GB, free: 15.54 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001002/0.5524, allocations: 10.81 kB / 0.6606 GB, free: 15.53 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.019e-05/0.5525, allocations: 7.891 kB / 0.6606 GB, free: 15.52 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.492e-06/0.5525, allocations: 2.938 kB / 0.6606 GB, free: 15.52 MB / 490.7 MB Notification: Performance of sort global known variables: time 4.876e-05/0.5525, allocations: 98.09 kB / 0.6607 GB, free: 15.43 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0002379/0.5528, allocations: 27.98 kB / 0.6607 GB, free: 15.4 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 6 * 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.0001927/0.553, allocations: 111.2 kB / 0.6608 GB, free: 15.28 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0001089/0.5531, allocations: 39.92 kB / 0.6609 GB, free: 15.24 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.744e-06/0.5531, allocations: 0 / 0.6609 GB, free: 15.24 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 3.967e-05/0.5531, allocations: 20 kB / 0.6609 GB, free: 15.22 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002023/0.5534, allocations: 4 kB / 0.6609 GB, free: 15.22 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003035/0.5537, allocations: 107.6 kB / 0.661 GB, free: 15.09 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002903/0.554, allocations: 0.7114 MB / 0.6617 GB, free: 14.35 MB / 490.7 MB Notification: Performance of SimCode: time 2.7e-07/0.554, allocations: 0 / 0.6617 GB, free: 14.35 MB / 490.7 MB Notification: Performance of Templates: time 0.003265/0.5572, allocations: 1.044 MB / 0.6627 GB, free: 13.36 MB / 490.7 MB make -j1 -f IBPSA_latest_IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.makefile (rm -f IBPSA_latest_IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.sim & ./IBPSA_latest_IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe 2>&1)