Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.Convector.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/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 BuildSysPro with version 3.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo) Running command: translateModel(BuildSysPro.IBPSA.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.Convector,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.Convector") translateModel(BuildSysPro.IBPSA.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.Convector,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.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/BuildSysPro 3.5.0/package.mo): time 0.7282/0.7282, allocations: 127.4 MB / 134.6 MB, free: 4.086 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001151/0.001152, allocations: 189.2 kB / 164.4 MB, free: 6.863 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.939/1.939, allocations: 205.1 MB / 399.1 MB, free: 6.078 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001052/0.001051, allocations: 87.28 kB / 476.3 MB, free: 8.824 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 3.657e-05/3.67e-05, allocations: 4 kB / 0.546 GB, free: 42.72 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2104/0.2104, allocations: 76.74 MB / 0.6209 GB, free: 13.91 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.322/1.532, allocations: 373.8 MB / 0.986 GB, free: 108.7 MB / 0.6198 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003121/1.533, allocations: 108.9 kB / 0.9861 GB, free: 108.6 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.21/2.743, allocations: 352.1 MB / 1.33 GB, free: 12.62 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 0.0002014/2.743, allocations: 31.94 kB / 1.33 GB, free: 12.59 MB / 0.6355 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 165 * Number of variables: 165 Notification: Performance of Generate backend data structure: time 0.00382/2.747, allocations: 1.453 MB / 1.331 GB, free: 11.05 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.534e-05/2.747, allocations: 8.031 kB / 1.331 GB, free: 11.04 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007431/2.748, allocations: 138.4 kB / 1.332 GB, free: 10.91 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008912/2.756, allocations: 3.563 MB / 1.335 GB, free: 7.367 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.02e-05/2.757, allocations: 20 kB / 1.335 GB, free: 7.348 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003521/2.757, allocations: 44 kB / 1.335 GB, free: 7.305 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001584/2.759, allocations: 0.5454 MB / 1.336 GB, free: 6.754 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001663/2.76, allocations: 0.7246 MB / 1.336 GB, free: 5.992 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.204e-05/2.76, allocations: 7.844 kB / 1.336 GB, free: 5.984 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.599e-05/2.76, allocations: 0 / 1.336 GB, free: 5.984 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.841e-05/2.76, allocations: 20 kB / 1.336 GB, free: 5.965 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005964/2.766, allocations: 3.618 MB / 1.34 GB, free: 2.211 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006032/2.767, allocations: 395 kB / 1.34 GB, free: 1.816 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003196/2.767, allocations: 257.1 kB / 1.34 GB, free: 1.562 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005588/2.768, allocations: 0.6052 MB / 1.341 GB, free: 0.8281 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.192e-05/2.768, allocations: 34.56 kB / 1.341 GB, free: 0.7852 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=33): time 4.759e-06/2.768, allocations: 8 kB / 1.341 GB, free: 0.7773 MB / 0.6355 GB Notification: Performance of matching and sorting (n=33): time 0.001566/2.77, allocations: 0.6443 MB / 1.342 GB, free: 132 kB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.608e-05/2.77, allocations: 140.5 kB / 1.342 GB, free: 15.96 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001502/2.771, allocations: 0.8029 MB / 1.343 GB, free: 15.13 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 7.048e-05/2.771, allocations: 33.7 kB / 1.343 GB, free: 15.09 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003797/2.772, allocations: 371.1 kB / 1.343 GB, free: 14.72 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001304/2.772, allocations: 106.4 kB / 1.343 GB, free: 14.62 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.401e-05/2.772, allocations: 4 kB / 1.343 GB, free: 14.61 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001333/2.772, allocations: 334 kB / 1.343 GB, free: 14.28 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004654/2.772, allocations: 309.1 kB / 1.344 GB, free: 13.98 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005414/2.773, allocations: 461.9 kB / 1.344 GB, free: 13.47 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008969/2.774, allocations: 396.1 kB / 1.345 GB, free: 13.09 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.222e-06/2.774, allocations: 4 kB / 1.345 GB, free: 13.08 MB / 0.6511 GB Notification: Performance of matching and sorting (n=64) (initialization): time 0.001703/2.776, allocations: 0.8867 MB / 1.345 GB, free: 12.18 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006154/2.776, allocations: 1.312 MB / 1.347 GB, free: 10.77 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.379e-05/2.776, allocations: 4 kB / 1.347 GB, free: 10.77 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.638e-05/2.776, allocations: 4 kB / 1.347 GB, free: 10.76 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005579/2.777, allocations: 107.8 kB / 1.347 GB, free: 10.66 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.414e-05/2.777, allocations: 8 kB / 1.347 GB, free: 10.65 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008797/2.778, allocations: 87.39 kB / 1.347 GB, free: 10.56 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.128e-05/2.778, allocations: 27.98 kB / 1.347 GB, free: 10.54 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.081e-05/2.778, allocations: 4 kB / 1.347 GB, free: 10.53 MB / 0.6511 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001433/2.779, allocations: 0.7651 MB / 1.348 GB, free: 9.77 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.116e-05/2.779, allocations: 8.062 kB / 1.348 GB, free: 9.762 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.177e-05/2.779, allocations: 15.92 kB / 1.348 GB, free: 9.746 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003965/2.78, allocations: 99.83 kB / 1.348 GB, free: 9.648 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.135e-06/2.78, allocations: 4 kB / 1.348 GB, free: 9.645 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007438/2.781, allocations: 79.77 kB / 1.348 GB, free: 9.566 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.879e-05/2.781, allocations: 24 kB / 1.348 GB, free: 9.543 MB / 0.6511 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * 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 (55): * Single equations (assignments): 49 * 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.0002544/2.781, allocations: 213.9 kB / 1.348 GB, free: 9.309 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002236/2.781, allocations: 90.88 kB / 1.348 GB, free: 9.219 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001541/2.783, allocations: 0.7377 MB / 1.349 GB, free: 8.465 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.809e-06/2.783, allocations: 4 kB / 1.349 GB, free: 8.461 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.414e-06/2.783, allocations: 3.906 kB / 1.349 GB, free: 8.457 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001015/2.784, allocations: 0.7955 MB / 1.35 GB, free: 7.594 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003472/2.787, allocations: 1.804 MB / 1.351 GB, free: 5.688 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.708e-06/2.787, allocations: 0 / 1.351 GB, free: 5.688 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003003/2.788, allocations: 59.91 kB / 1.352 GB, free: 5.629 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.081e-05/2.788, allocations: 8.281 kB / 1.352 GB, free: 5.621 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.038e-05/2.788, allocations: 8 kB / 1.352 GB, free: 5.613 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.384e-06/2.788, allocations: 7.906 kB / 1.352 GB, free: 5.605 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.44e-06/2.788, allocations: 4 kB / 1.352 GB, free: 5.602 MB / 0.6511 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001762/2.789, allocations: 1.244 MB / 1.353 GB, free: 4.258 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00062/2.79, allocations: 263.8 kB / 1.353 GB, free: 3.98 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003064/2.79, allocations: 12 kB / 1.353 GB, free: 3.969 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006971/2.791, allocations: 48.02 kB / 1.353 GB, free: 3.922 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001632/2.791, allocations: 47.88 kB / 1.353 GB, free: 3.875 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.021e-05/2.791, allocations: 15.98 kB / 1.353 GB, free: 3.859 MB / 0.6511 GB Notification: Performance of sort global known variables: time 0.001338/2.793, allocations: 0.6449 MB / 1.354 GB, free: 3.203 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.002728/2.795, allocations: 0.5689 MB / 1.354 GB, free: 2.633 MB / 0.6511 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * 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 (29): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 3 * Record equations: 1 * 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.002039/2.797, allocations: 0.7209 MB / 1.355 GB, free: 1.949 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.002133/2.8, allocations: 1.374 MB / 1.356 GB, free: 0.5 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 4.83e-06/2.8, allocations: 0.6875 kB / 1.356 GB, free: 0.5 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0005358/2.8, allocations: 388.9 kB / 1.357 GB, free: 104 kB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.5139/3.314, allocations: 381.3 kB / 1.357 GB, free: 93.98 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003044/3.317, allocations: 1.463 MB / 1.359 GB, free: 93.59 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007625/3.318, allocations: 1.165 MB / 1.36 GB, free: 92.88 MB / 0.6511 GB Notification: Performance of SimCode: time 1.933e-06/3.318, allocations: 0 / 1.36 GB, free: 92.88 MB / 0.6511 GB Notification: Performance of Templates: time 0.03664/3.355, allocations: 22.71 MB / 1.382 GB, free: 92.51 MB / 0.6511 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.Convector.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.Convector.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.Convector.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.Convector.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.Convector.sim & ./BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.Convector -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.Convector.pipe 2>&1)