Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.Convector.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.ActiveBeams.BaseClasses.Examples.Convector,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.Convector") translateModel(Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.Convector,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.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/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.695/1.695, allocations: 285.5 MB / 292.8 MB, free: 10.46 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.001173/0.001173, allocations: 181.3 kB / 361.1 MB, free: 7.086 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.742/1.742, 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.0008859/0.0008861, allocations: 91.86 kB / 0.7326 GB, free: 44.22 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.099e-05/1.102e-05, allocations: 4 kB / 0.8511 GB, free: 2.949 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7274/0.7275, allocations: 115.3 MB / 0.9637 GB, free: 78.49 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.016/1.743, allocations: 412 MB / 1.366 GB, free: 154.5 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003375/1.744, allocations: 104.1 kB / 1.366 GB, free: 154.5 MB / 0.8542 GB Notification: Performance of FrontEnd: time 1.367/3.111, allocations: 361.2 MB / 1.719 GB, free: 226.7 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 0.0002594/3.112, allocations: 26.56 kB / 1.719 GB, free: 226.7 MB / 0.9323 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 157 * Number of variables: 157 Notification: Performance of Generate backend data structure: time 0.004618/3.116, allocations: 1.435 MB / 1.72 GB, free: 225.6 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 6.567e-05/3.116, allocations: 9.344 kB / 1.72 GB, free: 225.6 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001009/3.117, allocations: 136.6 kB / 1.72 GB, free: 225.6 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004058/3.121, allocations: 1.191 MB / 1.721 GB, free: 224.9 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.518e-05/3.121, allocations: 20.53 kB / 1.722 GB, free: 224.9 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002891/3.122, allocations: 41.06 kB / 1.722 GB, free: 224.9 MB / 0.9323 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001552/3.123, allocations: 0.5478 MB / 1.722 GB, free: 224.7 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001822/3.125, allocations: 0.6864 MB / 1.723 GB, free: 224.4 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.068e-05/3.125, allocations: 2.719 kB / 1.723 GB, free: 224.4 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.17e-05/3.125, allocations: 2.031 kB / 1.723 GB, free: 224.4 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.768e-05/3.125, allocations: 20.47 kB / 1.723 GB, free: 224.4 MB / 0.9323 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006652/3.132, allocations: 3.283 MB / 1.726 GB, free: 222.3 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007351/3.133, allocations: 414.6 kB / 1.726 GB, free: 222.1 MB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004049/3.133, allocations: 291.9 kB / 1.727 GB, free: 222 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000688/3.134, allocations: 0.7668 MB / 1.727 GB, free: 221.1 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.082e-05/3.134, allocations: 38.38 kB / 1.727 GB, free: 221.1 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=37): time 3.997e-06/3.134, allocations: 0 / 1.727 GB, free: 221.1 MB / 0.9323 GB Notification: Performance of matching and sorting (n=37): time 0.001746/3.136, allocations: 0.6469 MB / 1.728 GB, free: 220.9 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.928e-05/3.136, allocations: 144.1 kB / 1.728 GB, free: 220.7 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002004/3.138, allocations: 0.8157 MB / 1.729 GB, free: 220.3 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 9.012e-05/3.138, allocations: 28.92 kB / 1.729 GB, free: 220.3 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003378/3.138, allocations: 333.8 kB / 1.729 GB, free: 220 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001507/3.138, allocations: 120.9 kB / 1.729 GB, free: 219.9 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.54e-05/3.138, allocations: 6.719 kB / 1.729 GB, free: 219.9 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 9.692e-05/3.139, allocations: 325.8 kB / 1.73 GB, free: 219.6 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005832/3.139, allocations: 313.7 kB / 1.73 GB, free: 219.5 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000649/3.14, allocations: 420.6 kB / 1.73 GB, free: 219.3 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001266/3.141, allocations: 400.3 kB / 1.731 GB, free: 219.1 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.534e-06/3.141, allocations: 1.469 kB / 1.731 GB, free: 219.1 MB / 0.9323 GB Notification: Performance of matching and sorting (n=59) (initialization): time 0.002282/3.143, allocations: 0.8788 MB / 1.732 GB, free: 218.8 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002455/3.144, allocations: 0.6986 MB / 1.732 GB, free: 218.1 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.466e-05/3.144, allocations: 0.875 kB / 1.732 GB, free: 218.1 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.214e-05/3.144, allocations: 4.688 kB / 1.732 GB, free: 218.1 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000496/3.144, allocations: 92.66 kB / 1.733 GB, free: 218.1 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.43e-05/3.144, allocations: 8.594 kB / 1.733 GB, free: 218.1 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009903/3.145, allocations: 84.56 kB / 1.733 GB, free: 218 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001027/3.145, allocations: 31.28 kB / 1.733 GB, free: 218 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 1.236e-05/3.145, allocations: 6.406 kB / 1.733 GB, free: 218 MB / 0.9323 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001707/3.147, allocations: 0.7505 MB / 1.733 GB, free: 217.8 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.624e-06/3.147, allocations: 2.938 kB / 1.733 GB, free: 217.8 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.036e-05/3.147, allocations: 3.188 kB / 1.733 GB, free: 217.8 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004215/3.148, allocations: 92.36 kB / 1.733 GB, free: 217.8 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.947e-06/3.148, allocations: 7.062 kB / 1.733 GB, free: 217.8 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008677/3.148, allocations: 69.17 kB / 1.734 GB, free: 217.8 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.469e-05/3.149, allocations: 28.39 kB / 1.734 GB, free: 217.8 MB / 0.9323 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * 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 (50): * Single equations (assignments): 44 * 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.0002575/3.149, allocations: 216.2 kB / 1.734 GB, free: 217.5 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002884/3.149, allocations: 91.06 kB / 1.734 GB, free: 217.5 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002023/3.151, allocations: 0.8051 MB / 1.735 GB, free: 217.2 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.555e-05/3.151, allocations: 7.406 kB / 1.735 GB, free: 217.2 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.009e-05/3.151, allocations: 5.844 kB / 1.735 GB, free: 217.2 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001303/3.152, allocations: 0.8823 MB / 1.736 GB, free: 216.7 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004237/3.157, allocations: 1.889 MB / 1.737 GB, free: 215.7 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.234e-06/3.157, allocations: 2.688 kB / 1.737 GB, free: 215.7 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003691/3.157, allocations: 70.73 kB / 1.737 GB, free: 215.7 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.618e-05/3.157, allocations: 8.438 kB / 1.737 GB, free: 215.7 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.049e-05/3.157, allocations: 15.33 kB / 1.737 GB, free: 215.7 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.534e-06/3.157, allocations: 4.781 kB / 1.737 GB, free: 215.7 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.139e-06/3.157, allocations: 1.312 kB / 1.737 GB, free: 215.7 MB / 0.9323 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.00218/3.159, allocations: 1.372 MB / 1.739 GB, free: 214.9 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007025/3.16, allocations: 277.9 kB / 1.739 GB, free: 214.7 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003209/3.16, allocations: 10.5 kB / 1.739 GB, free: 214.7 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007579/3.161, allocations: 44.62 kB / 1.739 GB, free: 214.7 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000181/3.161, allocations: 50.27 kB / 1.739 GB, free: 214.7 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.404e-05/3.162, allocations: 22.98 kB / 1.739 GB, free: 214.7 MB / 0.9323 GB Notification: Performance of sort global known variables: time 0.001489/3.163, allocations: 0.6228 MB / 1.74 GB, free: 214.3 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.002817/3.166, allocations: 0.5744 MB / 1.74 GB, free: 214.2 MB / 0.9323 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * 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.temDif_mod.i,con.mod.airFlo_mod.i) * Top-level inputs: 0 Notification: Strong component statistics for simulation (38): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 3 * Record equations: 4 * 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.002031/3.168, allocations: 0.7247 MB / 1.741 GB, free: 213.9 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.001897/3.17, allocations: 1.398 MB / 1.742 GB, free: 213.1 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 5.35e-06/3.17, allocations: 0 / 1.742 GB, free: 213.1 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.0005947/3.17, allocations: 461.9 kB / 1.743 GB, free: 212.8 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002253/3.173, allocations: 393.5 kB / 1.743 GB, free: 212.6 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004204/3.177, allocations: 1.5 MB / 1.745 GB, free: 211.9 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001334/3.178, allocations: 1.165 MB / 1.746 GB, free: 210.9 MB / 0.9323 GB Notification: Performance of SimCode: time 1.984e-06/3.178, allocations: 3 kB / 1.746 GB, free: 210.9 MB / 0.9323 GB Notification: Performance of Templates: time 0.04319/3.221, allocations: 23.02 MB / 1.768 GB, free: 198.4 MB / 0.9323 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.Convector.makefile (rm -f Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.Convector.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.Convector.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.Convector.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.Convector.sim & ./Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.Convector -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.Convector.pipe 2>&1)