Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Annex60_1.0.0_Annex60.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.Convector.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Using package Annex60 with version 1.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo) Running command: translateModel(Annex60.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.Convector,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.Convector") translateModel(Annex60.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.Convector,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.Convector") [: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/Annex60 1.0.0/package.mo): time 0.2756/0.2756, allocations: 54.39 MB / 61.68 MB, free: 11.15 MB / 58.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001433/0.001432, allocations: 183.9 kB / 75.38 MB, free: 1.469 MB / 58.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.696/1.696, allocations: 194.2 MB / 283.2 MB, free: 3.441 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001795/0.001795, allocations: 111.9 kB / 341.3 MB, free: 9.328 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 6.983e-06/7.004e-06, allocations: 0 / 405 MB, free: 27.64 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1403/0.1403, allocations: 57.65 MB / 462.6 MB, free: 1.922 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.9495/1.09, allocations: 351.3 MB / 0.7949 GB, free: 40.53 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002987/1.09, allocations: 104.1 kB / 0.795 GB, free: 40.47 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.252/2.342, allocations: 317.3 MB / 1.105 GB, free: 91.65 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.0001618/2.343, allocations: 32.89 kB / 1.105 GB, free: 91.65 MB / 0.4948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 171 * Number of variables: 171 Notification: Performance of Generate backend data structure: time 0.004066/2.347, allocations: 1.453 MB / 1.106 GB, free: 90.8 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 5.389e-05/2.347, allocations: 15 kB / 1.106 GB, free: 90.8 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008963/2.348, allocations: 140.5 kB / 1.106 GB, free: 90.73 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009138/2.357, allocations: 3.439 MB / 1.11 GB, free: 90.41 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.288e-05/2.357, allocations: 21.62 kB / 1.11 GB, free: 90.41 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001184/2.357, allocations: 45.94 kB / 1.11 GB, free: 90.41 MB / 0.4948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001252/2.358, allocations: 0.5617 MB / 1.11 GB, free: 90.4 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001321/2.36, allocations: 0.785 MB / 1.111 GB, free: 90.22 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.537e-05/2.36, allocations: 2.438 kB / 1.111 GB, free: 90.22 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.247e-05/2.36, allocations: 7.656 kB / 1.111 GB, free: 90.22 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.504e-05/2.36, allocations: 24.25 kB / 1.111 GB, free: 90.22 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005974/2.366, allocations: 3.821 MB / 1.115 GB, free: 88.17 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000591/2.366, allocations: 362.3 kB / 1.115 GB, free: 88.15 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003627/2.367, allocations: 276 kB / 1.116 GB, free: 88.14 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005336/2.367, allocations: 459.5 kB / 1.116 GB, free: 87.68 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.25e-05/2.367, allocations: 40.05 kB / 1.116 GB, free: 87.64 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=38): time 4.569e-06/2.367, allocations: 0 / 1.116 GB, free: 87.64 MB / 0.4948 GB Notification: Performance of matching and sorting (n=39): time 0.003702/2.371, allocations: 1.607 MB / 1.118 GB, free: 87.18 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001112/2.371, allocations: 193.3 kB / 1.118 GB, free: 86.96 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001185/2.372, allocations: 0.7962 MB / 1.119 GB, free: 86.82 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 4.853e-05/2.372, allocations: 33.08 kB / 1.119 GB, free: 86.79 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002626/2.373, allocations: 370.9 kB / 1.119 GB, free: 86.57 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001276/2.373, allocations: 128.1 kB / 1.119 GB, free: 86.48 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.98e-05/2.373, allocations: 3.906 kB / 1.119 GB, free: 86.48 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001035/2.373, allocations: 333.2 kB / 1.119 GB, free: 86.18 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000427/2.373, allocations: 320.8 kB / 1.12 GB, free: 86.18 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005033/2.374, allocations: 476.6 kB / 1.12 GB, free: 86 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007667/2.375, allocations: 408.3 kB / 1.121 GB, free: 86 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.435e-06/2.375, allocations: 0 / 1.121 GB, free: 86 MB / 0.4948 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.001457/2.376, allocations: 0.9137 MB / 1.121 GB, free: 85.91 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.000441/2.377, allocations: 1.491 MB / 1.123 GB, free: 84.37 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.152e-05/2.377, allocations: 3.688 kB / 1.123 GB, free: 84.37 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.639e-05/2.377, allocations: 9.656 kB / 1.123 GB, free: 84.37 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004601/2.377, allocations: 109.2 kB / 1.123 GB, free: 84.37 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.245e-05/2.377, allocations: 11.22 kB / 1.123 GB, free: 84.37 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006769/2.378, allocations: 59.17 kB / 1.123 GB, free: 84.36 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.721e-05/2.378, allocations: 28.86 kB / 1.123 GB, free: 84.36 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 6.041e-06/2.378, allocations: 3.062 kB / 1.123 GB, free: 84.36 MB / 0.4948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001254/2.379, allocations: 0.7946 MB / 1.124 GB, free: 84.36 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.018e-06/2.379, allocations: 3.25 kB / 1.124 GB, free: 84.36 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.905e-06/2.379, allocations: 7.781 kB / 1.124 GB, free: 84.36 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003801/2.38, allocations: 106.7 kB / 1.124 GB, free: 84.36 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.351e-05/2.38, allocations: 13.06 kB / 1.124 GB, free: 84.36 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004756/2.38, allocations: 49.16 kB / 1.124 GB, free: 84.35 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.968e-05/2.38, allocations: 31.78 kB / 1.124 GB, free: 84.35 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * Number of states: 0 () * Number of discrete variables: 3 (con.mod.temDif_mod.i,con.mod.watFlo_mod.i,con.mod.airFlo_mod.i) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (61): * Single equations (assignments): 55 * Array equations: 0 * Algorithm blocks: 6 * 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.0002368/2.38, allocations: 215.6 kB / 1.124 GB, free: 84.14 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001625/2.381, allocations: 95.22 kB / 1.124 GB, free: 84.1 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001441/2.382, allocations: 0.8183 MB / 1.125 GB, free: 84.02 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.256e-05/2.382, allocations: 19.11 kB / 1.125 GB, free: 84.02 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.642e-06/2.382, allocations: 3.938 kB / 1.125 GB, free: 84.02 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001059/2.383, allocations: 0.8907 MB / 1.126 GB, free: 83.67 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002952/2.386, allocations: 2.069 MB / 1.128 GB, free: 83.07 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.35e-06/2.386, allocations: 6.094 kB / 1.128 GB, free: 83.07 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003016/2.386, allocations: 67.94 kB / 1.128 GB, free: 83.07 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000156/2.387, allocations: 42.61 kB / 1.128 GB, free: 83.06 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.085e-05/2.387, allocations: 14.62 kB / 1.128 GB, free: 83.06 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003925/2.387, allocations: 0.5874 MB / 1.129 GB, free: 82.54 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.21e-06/2.387, allocations: 4.625 kB / 1.129 GB, free: 82.54 MB / 0.4948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001747/2.389, allocations: 1.509 MB / 1.13 GB, free: 81.97 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000389/2.389, allocations: 269.9 kB / 1.131 GB, free: 81.82 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001355/2.389, allocations: 11.05 kB / 1.131 GB, free: 81.82 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005433/2.39, allocations: 50.52 kB / 1.131 GB, free: 81.82 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001355/2.39, allocations: 56.08 kB / 1.131 GB, free: 81.82 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.73e-05/2.39, allocations: 24.73 kB / 1.131 GB, free: 81.82 MB / 0.4948 GB Notification: Performance of sort global known variables: time 0.0007384/2.391, allocations: 0.6062 MB / 1.131 GB, free: 81.71 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.001703/2.393, allocations: 495.6 kB / 1.132 GB, free: 81.68 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * Number of states: 2 (con.hex.vol.dynBal.U,senTem.T) * Number of discrete variables: 3 (con.mod.temDif_mod.i,con.mod.watFlo_mod.i,con.mod.airFlo_mod.i) * Number of discrete states: 3 (con.mod.watFlo_mod.i,con.mod.airFlo_mod.i,con.mod.temDif_mod.i) * Top-level inputs: 0 Notification: Strong component statistics for simulation (37): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 3 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.001129/2.394, allocations: 0.6767 MB / 1.132 GB, free: 81.5 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.001652/2.395, allocations: 1.451 MB / 1.134 GB, free: 81.11 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 4.418e-06/2.395, allocations: 0 / 1.134 GB, free: 81.11 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0006223/2.396, allocations: 465.5 kB / 1.134 GB, free: 81.01 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001894/2.398, allocations: 408 kB / 1.135 GB, free: 81 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002999/2.401, allocations: 1.572 MB / 1.136 GB, free: 80.54 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007459/2.402, allocations: 1.178 MB / 1.137 GB, free: 79.83 MB / 0.4948 GB Notification: Performance of SimCode: time 1.583e-06/2.402, allocations: 2.156 kB / 1.137 GB, free: 79.83 MB / 0.4948 GB Notification: Performance of Templates: time 0.05149/2.453, allocations: 22.96 MB / 1.16 GB, free: 78.6 MB / 0.4948 GB make -j1 -f Annex60_1.0.0_Annex60.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.Convector.makefile (rm -f Annex60_1.0.0_Annex60.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.Convector.pipe ; mkfifo Annex60_1.0.0_Annex60.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.Convector.pipe ; head -c 1048576 < Annex60_1.0.0_Annex60.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.Convector.pipe >> ../files/Annex60_1.0.0_Annex60.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.Convector.sim & ./Annex60_1.0.0_Annex60.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.Convector -abortSlowSimulation -alarm=480 -lv LOG_STATS > Annex60_1.0.0_Annex60.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.Convector.pipe 2>&1)