Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.Convector.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.ActiveBeams.BaseClasses.Examples.Convector,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.Convector") translateModel(BuildingSystems.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.Convector,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.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/BuildingSystems 2.0.0-master/package.mo): time 0.839/0.839, allocations: 141.8 MB / 149.1 MB, free: 1.891 MB / 126.2 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001128/0.001128, allocations: 174.6 kB / 181.9 MB, free: 13.95 MB / 158.2 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.561/1.561, allocations: 221.3 MB / 436 MB, free: 6.852 MB / 334.2 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009715/0.0009717, allocations: 97.62 kB / 0.507 GB, free: 24.53 MB / 398.2 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001925/0.001925, allocations: 277.8 kB / 0.5885 GB, free: 10.13 MB / 446.2 MB Notification: Performance of FrontEnd - loaded program: time 1.016e-05/1.019e-05, allocations: 4 kB / 0.6759 GB, free: 484 kB / 0.5139 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5315/0.5315, allocations: 82.76 MB / 0.7567 GB, free: 110.8 MB / 0.5295 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7798/1.311, allocations: 383.1 MB / 1.131 GB, free: 11.62 MB / 0.6702 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002977/1.312, allocations: 107.2 kB / 1.131 GB, free: 11.56 MB / 0.6702 GB Notification: Performance of FrontEnd: time 1.577/2.888, allocations: 368.1 MB / 1.49 GB, free: 155.9 MB / 0.7014 GB Notification: Performance of Transformations before backend: time 0.0001839/2.889, allocations: 25.19 kB / 1.49 GB, free: 155.9 MB / 0.7014 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.003676/2.892, allocations: 1.445 MB / 1.492 GB, free: 155.1 MB / 0.7014 GB Notification: Performance of prepare preOptimizeDAE: time 4.332e-05/2.892, allocations: 10.94 kB / 1.492 GB, free: 155.1 MB / 0.7014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007256/2.893, allocations: 130.3 kB / 1.492 GB, free: 155.1 MB / 0.7014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003211/2.896, allocations: 1.182 MB / 1.493 GB, free: 154.8 MB / 0.7014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.338e-05/2.896, allocations: 23.19 kB / 1.493 GB, free: 154.8 MB / 0.7014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002118/2.897, allocations: 46.38 kB / 1.493 GB, free: 154.8 MB / 0.7014 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001212/2.898, allocations: 0.5396 MB / 1.494 GB, free: 154.8 MB / 0.7014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001306/2.899, allocations: 0.689 MB / 1.494 GB, free: 154.7 MB / 0.7014 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.344e-05/2.899, allocations: 0 / 1.494 GB, free: 154.7 MB / 0.7014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.24e-05/2.899, allocations: 3.406 kB / 1.494 GB, free: 154.7 MB / 0.7014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.77e-05/2.899, allocations: 15.41 kB / 1.494 GB, free: 154.7 MB / 0.7014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004778/2.904, allocations: 3.311 MB / 1.498 GB, free: 153.5 MB / 0.7014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005925/2.905, allocations: 407.5 kB / 1.498 GB, free: 153.4 MB / 0.7014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000335/2.905, allocations: 285.9 kB / 1.498 GB, free: 153.4 MB / 0.7014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006451/2.906, allocations: 0.7706 MB / 1.499 GB, free: 152.6 MB / 0.7014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.71e-05/2.906, allocations: 39.09 kB / 1.499 GB, free: 152.5 MB / 0.7014 GB Notification: Performance of pre-optimization done (n=37): time 3.586e-06/2.906, allocations: 0 / 1.499 GB, free: 152.5 MB / 0.7014 GB Notification: Performance of matching and sorting (n=37): time 0.001291/2.907, allocations: 0.6557 MB / 1.5 GB, free: 152.5 MB / 0.7014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.898e-05/2.907, allocations: 147.7 kB / 1.5 GB, free: 152.3 MB / 0.7014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00103/2.908, allocations: 0.8049 MB / 1.501 GB, free: 152.2 MB / 0.7014 GB Notification: Performance of collectPreVariables (initialization): time 4.97e-05/2.908, allocations: 29.55 kB / 1.501 GB, free: 152.1 MB / 0.7014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002502/2.908, allocations: 334.5 kB / 1.501 GB, free: 152 MB / 0.7014 GB Notification: Performance of collectInitialBindings (initialization): time 0.000123/2.909, allocations: 126.8 kB / 1.501 GB, free: 151.9 MB / 0.7014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.59e-05/2.909, allocations: 0 / 1.501 GB, free: 151.9 MB / 0.7014 GB Notification: Performance of setup shared object (initialization): time 9.661e-05/2.909, allocations: 320.6 kB / 1.501 GB, free: 151.6 MB / 0.7014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004081/2.909, allocations: 324.2 kB / 1.502 GB, free: 151.6 MB / 0.7014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005143/2.91, allocations: 418.1 kB / 1.502 GB, free: 151.5 MB / 0.7014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008638/2.91, allocations: 406.1 kB / 1.503 GB, free: 151.5 MB / 0.7014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.208e-06/2.91, allocations: 0 / 1.503 GB, free: 151.5 MB / 0.7014 GB Notification: Performance of matching and sorting (n=59) (initialization): time 0.001667/2.912, allocations: 0.8677 MB / 1.503 GB, free: 151.4 MB / 0.7014 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003017/2.912, allocations: 0.705 MB / 1.504 GB, free: 150.7 MB / 0.7014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.42e-05/2.912, allocations: 9.125 kB / 1.504 GB, free: 150.7 MB / 0.7014 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.364e-05/2.913, allocations: 3.219 kB / 1.504 GB, free: 150.7 MB / 0.7014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004482/2.913, allocations: 90.78 kB / 1.504 GB, free: 150.7 MB / 0.7014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.88e-05/2.913, allocations: 7.453 kB / 1.504 GB, free: 150.7 MB / 0.7014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008761/2.914, allocations: 81.45 kB / 1.504 GB, free: 150.7 MB / 0.7014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.699e-05/2.914, allocations: 29.66 kB / 1.504 GB, free: 150.7 MB / 0.7014 GB Notification: Performance of prepare postOptimizeDAE: time 1.582e-05/2.914, allocations: 3.844 kB / 1.504 GB, free: 150.7 MB / 0.7014 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001473/2.916, allocations: 0.7527 MB / 1.505 GB, free: 150.7 MB / 0.7014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.723e-06/2.916, allocations: 3.719 kB / 1.505 GB, free: 150.7 MB / 0.7014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.208e-05/2.916, allocations: 5.906 kB / 1.505 GB, free: 150.7 MB / 0.7014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003879/2.916, allocations: 92.56 kB / 1.505 GB, free: 150.7 MB / 0.7014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.054e-05/2.916, allocations: 3.844 kB / 1.505 GB, free: 150.7 MB / 0.7014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008364/2.917, allocations: 71.58 kB / 1.505 GB, free: 150.7 MB / 0.7014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.896e-05/2.917, allocations: 27.69 kB / 1.505 GB, free: 150.7 MB / 0.7014 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.0002768/2.917, allocations: 210.2 kB / 1.505 GB, free: 150.5 MB / 0.7014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002535/2.917, allocations: 89.09 kB / 1.505 GB, free: 150.4 MB / 0.7014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001871/2.919, allocations: 0.8097 MB / 1.506 GB, free: 150.3 MB / 0.7014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.664e-05/2.919, allocations: 3.844 kB / 1.506 GB, free: 150.3 MB / 0.7014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.995e-06/2.919, allocations: 0 / 1.506 GB, free: 150.3 MB / 0.7014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001221/2.921, allocations: 0.8817 MB / 1.507 GB, free: 150 MB / 0.7014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00372/2.924, allocations: 1.904 MB / 1.509 GB, free: 149.6 MB / 0.7014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.362e-06/2.924, allocations: 0 / 1.509 GB, free: 149.6 MB / 0.7014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003497/2.925, allocations: 74.7 kB / 1.509 GB, free: 149.6 MB / 0.7014 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.11e-05/2.925, allocations: 3.938 kB / 1.509 GB, free: 149.6 MB / 0.7014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.612e-05/2.925, allocations: 7.156 kB / 1.509 GB, free: 149.6 MB / 0.7014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.784e-06/2.925, allocations: 4.625 kB / 1.509 GB, free: 149.6 MB / 0.7014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-05/2.925, allocations: 10.52 kB / 1.509 GB, free: 149.6 MB / 0.7014 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002015/2.927, allocations: 1.37 MB / 1.51 GB, free: 149.2 MB / 0.7014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005979/2.927, allocations: 278.3 kB / 1.511 GB, free: 149 MB / 0.7014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002428/2.928, allocations: 11.31 kB / 1.511 GB, free: 149 MB / 0.7014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006426/2.928, allocations: 50.8 kB / 1.511 GB, free: 149 MB / 0.7014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001549/2.929, allocations: 44.2 kB / 1.511 GB, free: 149 MB / 0.7014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.014e-05/2.929, allocations: 18.48 kB / 1.511 GB, free: 149 MB / 0.7014 GB Notification: Performance of sort global known variables: time 0.001054/2.93, allocations: 0.6263 MB / 1.511 GB, free: 148.9 MB / 0.7014 GB Notification: Performance of remove unused functions: time 0.002242/2.932, allocations: 0.5779 MB / 1.512 GB, free: 148.8 MB / 0.7014 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.001836/2.934, allocations: 0.7157 MB / 1.513 GB, free: 148.7 MB / 0.7014 GB Notification: Performance of simCode: created initialization part: time 0.002036/2.936, allocations: 1.406 MB / 1.514 GB, free: 148.3 MB / 0.7014 GB Notification: Performance of simCode: created event and clocks part: time 6.533e-06/2.936, allocations: 3.781 kB / 1.514 GB, free: 148.3 MB / 0.7014 GB Notification: Performance of simCode: created simulation system equations: time 0.0006297/2.936, allocations: 461.7 kB / 1.514 GB, free: 148.2 MB / 0.7014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00229/2.939, allocations: 390.3 kB / 1.515 GB, free: 148.2 MB / 0.7014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003682/2.942, allocations: 1.497 MB / 1.516 GB, free: 147.8 MB / 0.7014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001053/2.944, allocations: 1.165 MB / 1.517 GB, free: 147.1 MB / 0.7014 GB Notification: Performance of SimCode: time 1.132e-06/2.944, allocations: 6.734 kB / 1.517 GB, free: 147.1 MB / 0.7014 GB Notification: Performance of Templates: time 0.04139/2.985, allocations: 23.06 MB / 1.54 GB, free: 146.7 MB / 0.7014 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.Convector.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.Convector.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.Convector.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.Convector.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.Convector.sim & ./BuildingSystems_BuildingSystems.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.Convector -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.Convector.pipe 2>&1)