Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside") translateModel(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.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/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.659/1.659, allocations: 285.5 MB / 292.8 MB, free: 10.47 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001504/0.001504, allocations: 173.3 kB / 361.1 MB, free: 7.098 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.717/1.717, allocations: 205.1 MB / 0.6195 GB, free: 10.29 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.00106/0.00106, allocations: 92.88 kB / 0.7326 GB, free: 44.21 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.068e-05/1.08e-05, allocations: 4 kB / 0.8511 GB, free: 2.957 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6323/0.6323, allocations: 115.3 MB / 0.9637 GB, free: 78.03 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1807/0.8131, allocations: 139.1 MB / 1.1 GB, free: 0.9023 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002319/0.8134, allocations: 82 kB / 1.1 GB, free: 0.8242 MB / 0.698 GB Notification: Performance of FrontEnd: time 0.0159/0.8293, allocations: 4.901 MB / 1.104 GB, free: 12 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 1.161e-05/0.8294, allocations: 0 / 1.104 GB, free: 12 MB / 0.7136 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.000529/0.8299, allocations: 398.1 kB / 1.105 GB, free: 11.57 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.395e-05/0.8299, allocations: 16.47 kB / 1.105 GB, free: 11.55 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001366/0.8301, allocations: 7.906 kB / 1.105 GB, free: 11.55 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002585/0.8304, allocations: 190.9 kB / 1.105 GB, free: 11.32 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.115e-05/0.8304, allocations: 0 / 1.105 GB, free: 11.32 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.95e-05/0.8304, allocations: 4 kB / 1.105 GB, free: 11.32 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001118/0.8305, allocations: 23.98 kB / 1.105 GB, free: 11.29 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001072/0.8306, allocations: 57.58 kB / 1.105 GB, free: 11.23 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.029e-05/0.8307, allocations: 5.688 kB / 1.105 GB, free: 11.23 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.047e-05/0.8307, allocations: 1.031 kB / 1.105 GB, free: 11.23 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.559e-06/0.8307, allocations: 0 / 1.105 GB, free: 11.23 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004928/0.8312, allocations: 285.3 kB / 1.105 GB, free: 10.91 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 9.018e-05/0.8313, allocations: 38.58 kB / 1.105 GB, free: 10.86 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.2e-05/0.8313, allocations: 16.98 kB / 1.105 GB, free: 10.84 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.595e-05/0.8314, allocations: 0 / 1.105 GB, free: 10.84 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.48e-05/0.8314, allocations: 30.56 kB / 1.105 GB, free: 10.8 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=5): time 1.273e-06/0.8314, allocations: 0 / 1.105 GB, free: 10.8 MB / 0.7136 GB Notification: Performance of matching and sorting (n=5): time 0.0002477/0.8317, allocations: 69.53 kB / 1.105 GB, free: 10.73 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.018e-05/0.8317, allocations: 59.41 kB / 1.106 GB, free: 10.66 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.867e-05/0.8318, allocations: 114 kB / 1.106 GB, free: 10.54 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.808e-05/0.8318, allocations: 26.36 kB / 1.106 GB, free: 10.51 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 4.904e-05/0.8319, allocations: 92.03 kB / 1.106 GB, free: 10.41 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 1.979e-05/0.8319, allocations: 15.75 kB / 1.106 GB, free: 10.4 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.52e-06/0.8319, allocations: 0 / 1.106 GB, free: 10.4 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001124/0.8321, allocations: 318.8 kB / 1.106 GB, free: 10.08 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.196e-05/0.8321, allocations: 12 kB / 1.106 GB, free: 10.07 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.81e-05/0.8321, allocations: 16 kB / 1.106 GB, free: 10.05 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.744e-05/0.8322, allocations: 21.95 kB / 1.106 GB, free: 10.03 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-06/0.8322, allocations: 0 / 1.106 GB, free: 10.03 MB / 0.7136 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001524/0.8324, allocations: 67.34 kB / 1.106 GB, free: 9.961 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.205e-05/0.8324, allocations: 4 kB / 1.106 GB, free: 9.957 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.499e-06/0.8324, allocations: 0 / 1.106 GB, free: 9.957 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.065e-05/0.8324, allocations: 0 / 1.106 GB, free: 9.957 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001282/0.8325, allocations: 23.92 kB / 1.106 GB, free: 9.934 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.681e-06/0.8326, allocations: 0 / 1.106 GB, free: 9.934 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.029e-05/0.8326, allocations: 15.84 kB / 1.106 GB, free: 9.918 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.338e-06/0.8327, allocations: 4 kB / 1.106 GB, free: 9.914 MB / 0.7136 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 6.614e-05/0.8327, allocations: 105 kB / 1.106 GB, free: 9.805 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.115e-05/0.8328, allocations: 11.89 kB / 1.106 GB, free: 9.793 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002371/0.833, allocations: 69.86 kB / 1.106 GB, free: 9.711 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.461e-06/0.833, allocations: 4 kB / 1.106 GB, free: 9.707 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.749e-06/0.8331, allocations: 5.188 kB / 1.106 GB, free: 9.703 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.579e-06/0.8331, allocations: 3.906 kB / 1.106 GB, free: 9.699 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001652/0.8332, allocations: 154.2 kB / 1.107 GB, free: 9.512 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.293e-06/0.8332, allocations: 0 / 1.107 GB, free: 9.512 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001006/0.8333, allocations: 23.92 kB / 1.107 GB, free: 9.488 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.367e-06/0.8334, allocations: 0 / 1.107 GB, free: 9.488 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.014e-05/0.8334, allocations: 4 kB / 1.107 GB, free: 9.484 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.875e-06/0.8334, allocations: 3.938 kB / 1.107 GB, free: 9.484 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.944e-06/0.8334, allocations: 4 kB / 1.107 GB, free: 9.48 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001825/0.8336, allocations: 163.4 kB / 1.107 GB, free: 9.305 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 4.151e-05/0.8336, allocations: 92.94 kB / 1.107 GB, free: 9.195 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.148e-05/0.8337, allocations: 3.984 kB / 1.107 GB, free: 9.191 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.572e-05/0.8338, allocations: 4.781 kB / 1.107 GB, free: 9.188 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.396e-05/0.8338, allocations: 7.984 kB / 1.107 GB, free: 9.18 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.47e-06/0.8338, allocations: 4 kB / 1.107 GB, free: 9.176 MB / 0.7136 GB Notification: Performance of sort global known variables: time 5.895e-05/0.8339, allocations: 97.94 kB / 1.107 GB, free: 9.082 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0002422/0.8341, allocations: 27.89 kB / 1.107 GB, free: 9.055 MB / 0.7136 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.000192/0.8343, allocations: 119 kB / 1.107 GB, free: 8.93 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001057/0.8344, allocations: 40.8 kB / 1.107 GB, free: 8.891 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.403e-06/0.8345, allocations: 0 / 1.107 GB, free: 8.891 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 4.196e-05/0.8345, allocations: 16 kB / 1.107 GB, free: 8.875 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000194/0.8347, allocations: 16.5 kB / 1.107 GB, free: 8.859 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003211/0.835, allocations: 100.4 kB / 1.107 GB, free: 8.738 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002938/0.8353, allocations: 0.7075 MB / 1.108 GB, free: 8.004 MB / 0.7136 GB Notification: Performance of SimCode: time 3.61e-07/0.8353, allocations: 0 / 1.108 GB, free: 8.004 MB / 0.7136 GB Notification: Performance of Templates: time 0.003134/0.8385, allocations: 1.041 MB / 1.109 GB, free: 7.012 MB / 0.7136 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.makefile (rm -f Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.sim & ./Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe 2>&1)