Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.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.BaseClasses.Examples.HACoilInside,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside") translateModel(BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.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/BuildingSystems 2.0.0-master/package.mo): time 0.7713/0.7713, allocations: 141.8 MB / 149.1 MB, free: 3.617 MB / 122.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001211/0.001211, allocations: 180.3 kB / 181.9 MB, free: 15.38 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.472/1.472, allocations: 221.4 MB / 436 MB, free: 8.414 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.0009588/0.0009589, allocations: 95.89 kB / 0.507 GB, free: 24.32 MB / 394.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001867/0.001866, allocations: 282.1 kB / 0.5884 GB, free: 11.55 MB / 442.9 MB Notification: Performance of FrontEnd - loaded program: time 9.347e-06/9.367e-06, allocations: 3.938 kB / 0.6759 GB, free: 1.91 MB / 0.5107 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4876/0.4876, allocations: 82.77 MB / 0.7567 GB, free: 112.1 MB / 0.5263 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1283/0.6161, allocations: 109.8 MB / 0.8639 GB, free: 2.172 MB / 0.5263 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002484/0.6164, allocations: 92.31 kB / 0.864 GB, free: 2.086 MB / 0.5263 GB Notification: Performance of FrontEnd: time 0.01518/0.6316, allocations: 4.969 MB / 0.8689 GB, free: 13.14 MB / 0.5419 GB Notification: Performance of Transformations before backend: time 1.11e-05/0.6316, allocations: 0 / 0.8689 GB, free: 13.14 MB / 0.5419 GB 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.00051/0.6321, allocations: 402.1 kB / 0.8693 GB, free: 12.71 MB / 0.5419 GB Notification: Performance of prepare preOptimizeDAE: time 4.879e-05/0.6322, allocations: 11.97 kB / 0.8693 GB, free: 12.7 MB / 0.5419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001339/0.6323, allocations: 11.91 kB / 0.8693 GB, free: 12.68 MB / 0.5419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002704/0.6326, allocations: 198.9 kB / 0.8695 GB, free: 12.45 MB / 0.5419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.115e-05/0.6326, allocations: 0 / 0.8695 GB, free: 12.45 MB / 0.5419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.726e-05/0.6327, allocations: 4 kB / 0.8695 GB, free: 12.45 MB / 0.5419 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001042/0.6328, allocations: 20 kB / 0.8695 GB, free: 12.42 MB / 0.5419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.929e-05/0.6329, allocations: 49.67 kB / 0.8695 GB, free: 12.37 MB / 0.5419 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.646e-06/0.6329, allocations: 0 / 0.8695 GB, free: 12.37 MB / 0.5419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.288e-05/0.6329, allocations: 4.938 kB / 0.8695 GB, free: 12.36 MB / 0.5419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.33e-06/0.6329, allocations: 0 / 0.8695 GB, free: 12.36 MB / 0.5419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004789/0.6334, allocations: 285.3 kB / 0.8698 GB, free: 12.05 MB / 0.5419 GB Notification: Performance of preOpt comSubExp (simulation): time 9.204e-05/0.6335, allocations: 34.58 kB / 0.8698 GB, free: 12 MB / 0.5419 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.387e-05/0.6336, allocations: 16.98 kB / 0.8699 GB, free: 11.98 MB / 0.5419 GB Notification: Performance of preOpt evalFunc (simulation): time 1.723e-05/0.6336, allocations: 7.984 kB / 0.8699 GB, free: 11.98 MB / 0.5419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.407e-05/0.6336, allocations: 38.56 kB / 0.8699 GB, free: 11.93 MB / 0.5419 GB Notification: Performance of pre-optimization done (n=5): time 1.232e-06/0.6336, allocations: 0 / 0.8699 GB, free: 11.93 MB / 0.5419 GB Notification: Performance of matching and sorting (n=5): time 0.0002393/0.6339, allocations: 65.53 kB / 0.87 GB, free: 11.86 MB / 0.5419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.118e-05/0.6339, allocations: 55.39 kB / 0.87 GB, free: 11.79 MB / 0.5419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.915e-05/0.634, allocations: 112.2 kB / 0.8701 GB, free: 11.68 MB / 0.5419 GB Notification: Performance of collectPreVariables (initialization): time 2.882e-05/0.6341, allocations: 33.08 kB / 0.8702 GB, free: 11.64 MB / 0.5419 GB Notification: Performance of collectInitialEqns (initialization): time 4.681e-05/0.6341, allocations: 88.12 kB / 0.8702 GB, free: 11.55 MB / 0.5419 GB Notification: Performance of collectInitialBindings (initialization): time 2.181e-05/0.6342, allocations: 23.66 kB / 0.8703 GB, free: 11.53 MB / 0.5419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.909e-06/0.6342, allocations: 0 / 0.8703 GB, free: 11.53 MB / 0.5419 GB Notification: Performance of setup shared object (initialization): time 0.0001336/0.6343, allocations: 318.8 kB / 0.8706 GB, free: 11.21 MB / 0.5419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.002e-05/0.6343, allocations: 12 kB / 0.8706 GB, free: 11.2 MB / 0.5419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.912e-05/0.6344, allocations: 16 kB / 0.8706 GB, free: 11.18 MB / 0.5419 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.163e-05/0.6344, allocations: 15.98 kB / 0.8706 GB, free: 11.16 MB / 0.5419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.393e-06/0.6344, allocations: 0 / 0.8706 GB, free: 11.16 MB / 0.5419 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001393/0.6346, allocations: 73.78 kB / 0.8707 GB, free: 11.09 MB / 0.5419 GB Notification: Performance of prepare postOptimizeDAE: time 1.082e-05/0.6346, allocations: 4 kB / 0.8707 GB, free: 11.08 MB / 0.5419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.38e-06/0.6346, allocations: 0 / 0.8707 GB, free: 11.08 MB / 0.5419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.267e-05/0.6346, allocations: 4 kB / 0.8707 GB, free: 11.08 MB / 0.5419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001342/0.6348, allocations: 19.92 kB / 0.8707 GB, free: 11.06 MB / 0.5419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.727e-06/0.6348, allocations: 4 kB / 0.8707 GB, free: 11.05 MB / 0.5419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.59e-05/0.6349, allocations: 11.84 kB / 0.8707 GB, free: 11.04 MB / 0.5419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.11e-05/0.6349, allocations: 3.984 kB / 0.8707 GB, free: 11.04 MB / 0.5419 GB 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 8.98e-05/0.635, allocations: 109 kB / 0.8708 GB, free: 10.93 MB / 0.5419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.417e-05/0.635, allocations: 7.906 kB / 0.8708 GB, free: 10.92 MB / 0.5419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001785/0.6352, allocations: 69.86 kB / 0.8709 GB, free: 10.85 MB / 0.5419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.874e-06/0.6352, allocations: 0 / 0.8709 GB, free: 10.85 MB / 0.5419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.689e-06/0.6352, allocations: 4 kB / 0.8709 GB, free: 10.84 MB / 0.5419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.709e-06/0.6352, allocations: 0 / 0.8709 GB, free: 10.84 MB / 0.5419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001729/0.6354, allocations: 166.2 kB / 0.8711 GB, free: 10.64 MB / 0.5419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.31e-07/0.6354, allocations: 0 / 0.8711 GB, free: 10.64 MB / 0.5419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.552e-05/0.6355, allocations: 23.92 kB / 0.8711 GB, free: 10.62 MB / 0.5419 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.963e-06/0.6355, allocations: 0 / 0.8711 GB, free: 10.62 MB / 0.5419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.618e-06/0.6356, allocations: 0 / 0.8711 GB, free: 10.62 MB / 0.5419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.152e-06/0.6356, allocations: 0 / 0.8711 GB, free: 10.62 MB / 0.5419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.739e-06/0.6356, allocations: 4 kB / 0.8711 GB, free: 10.62 MB / 0.5419 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001952/0.6358, allocations: 167.3 kB / 0.8713 GB, free: 10.44 MB / 0.5419 GB Notification: Performance of postOpt removeConstants (simulation): time 4.202e-05/0.6358, allocations: 84.95 kB / 0.8713 GB, free: 10.34 MB / 0.5419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.046e-05/0.6358, allocations: 4 kB / 0.8713 GB, free: 10.33 MB / 0.5419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.477e-05/0.6359, allocations: 8 kB / 0.8713 GB, free: 10.32 MB / 0.5419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.388e-05/0.636, allocations: 3.984 kB / 0.8714 GB, free: 10.32 MB / 0.5419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.484e-06/0.636, allocations: 8.188 kB / 0.8714 GB, free: 10.31 MB / 0.5419 GB Notification: Performance of sort global known variables: time 0.000124/0.6361, allocations: 95.83 kB / 0.8715 GB, free: 10.22 MB / 0.5419 GB Notification: Performance of remove unused functions: time 0.0002338/0.6364, allocations: 20 kB / 0.8715 GB, free: 10.2 MB / 0.5419 GB 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.0002036/0.6366, allocations: 119.1 kB / 0.8716 GB, free: 10.07 MB / 0.5419 GB Notification: Performance of simCode: created initialization part: time 0.0001289/0.6367, allocations: 43.98 kB / 0.8716 GB, free: 10.03 MB / 0.5419 GB Notification: Performance of simCode: created event and clocks part: time 1.864e-06/0.6367, allocations: 0 / 0.8716 GB, free: 10.03 MB / 0.5419 GB Notification: Performance of simCode: created simulation system equations: time 4.336e-05/0.6368, allocations: 20 kB / 0.8716 GB, free: 10.01 MB / 0.5419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000235/0.637, allocations: 13.86 kB / 0.8717 GB, free: 9.996 MB / 0.5419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003521/0.6374, allocations: 100.5 kB / 0.8718 GB, free: 9.875 MB / 0.5419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003488/0.6378, allocations: 0.7114 MB / 0.8725 GB, free: 9.137 MB / 0.5419 GB Notification: Performance of SimCode: time 2.21e-07/0.6378, allocations: 0 / 0.8725 GB, free: 9.137 MB / 0.5419 GB Notification: Performance of Templates: time 0.003692/0.6415, allocations: 1.047 MB / 0.8735 GB, free: 8.137 MB / 0.5419 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.sim & ./BuildingSystems_BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe 2>&1)