Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor.conf.json 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/IBPSA 4.0.0-master/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) 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 IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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) Running command: translateModel(IBPSA.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor") translateModel(IBPSA.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor") [: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/Complex 4.0.0+maint.om/package.mo): time 0.001101/0.001101, allocations: 192.4 kB / 7.807 MB, free: 2.488 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.4427/0.4427, allocations: 90.85 MB / 99.07 MB, free: 14.95 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.253/1.253, allocations: 221.4 MB / 342.8 MB, free: 5.273 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009651/0.0009651, allocations: 97.08 kB / 415.5 MB, free: 6.445 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 1.103e-05/1.121e-05, allocations: 4 kB / 493.9 MB, free: 8.082 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3857/0.3858, allocations: 72.3 MB / 0.5529 GB, free: 73.4 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1259/0.5117, allocations: 105.1 MB / 0.6555 GB, free: 5.059 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002736/0.512, allocations: 95.94 kB / 0.6556 GB, free: 4.965 MB / 474.7 MB Notification: Performance of FrontEnd: time 0.0199/0.532, allocations: 6.637 MB / 0.6621 GB, free: 14.39 MB / 490.7 MB Notification: Performance of Transformations before backend: time 1.861e-05/0.532, allocations: 4 kB / 0.6621 GB, free: 14.39 MB / 490.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 37 * Number of variables: 37 Notification: Performance of Generate backend data structure: time 0.001042/0.5331, allocations: 0.7345 MB / 0.6628 GB, free: 13.57 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.604e-05/0.5331, allocations: 12.03 kB / 0.6628 GB, free: 13.55 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.859e-05/0.5332, allocations: 35.53 kB / 0.6628 GB, free: 13.52 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005377/0.5338, allocations: 307.1 kB / 0.6631 GB, free: 13.18 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.033e-05/0.5338, allocations: 8 kB / 0.6631 GB, free: 13.18 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.978e-05/0.5339, allocations: 12 kB / 0.6632 GB, free: 13.16 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003575/0.5342, allocations: 196.2 kB / 0.6633 GB, free: 12.97 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004053/0.5347, allocations: 242.6 kB / 0.6636 GB, free: 12.73 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.388e-05/0.5347, allocations: 0 / 0.6636 GB, free: 12.73 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.001e-05/0.5347, allocations: 4 kB / 0.6636 GB, free: 12.73 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.487e-06/0.5347, allocations: 4 kB / 0.6636 GB, free: 12.72 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001381/0.5361, allocations: 0.7038 MB / 0.6643 GB, free: 11.98 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004114/0.5365, allocations: 202.6 kB / 0.6645 GB, free: 11.77 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002032/0.5368, allocations: 156.8 kB / 0.6646 GB, free: 11.62 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.904e-05/0.5368, allocations: 0 / 0.6646 GB, free: 11.62 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.482e-05/0.5368, allocations: 38.56 kB / 0.6646 GB, free: 11.57 MB / 490.7 MB Notification: Performance of pre-optimization done (n=14): time 1.112e-06/0.5368, allocations: 0 / 0.6646 GB, free: 11.57 MB / 490.7 MB Notification: Performance of matching and sorting (n=14): time 0.0006156/0.5374, allocations: 350 kB / 0.665 GB, free: 11.22 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.553e-05/0.5375, allocations: 141.4 kB / 0.6651 GB, free: 11.05 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003079/0.5378, allocations: 303.4 kB / 0.6654 GB, free: 10.75 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 2.632e-05/0.5379, allocations: 37.08 kB / 0.6654 GB, free: 10.71 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.4e-05/0.538, allocations: 136.3 kB / 0.6656 GB, free: 10.57 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.6e-05/0.538, allocations: 43.45 kB / 0.6656 GB, free: 10.53 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.327e-05/0.5381, allocations: 0 / 0.6656 GB, free: 10.53 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001271/0.5382, allocations: 334.8 kB / 0.6659 GB, free: 10.2 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002507/0.5384, allocations: 199.9 kB / 0.6661 GB, free: 10 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000237/0.5387, allocations: 201.9 kB / 0.6663 GB, free: 9.805 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003347/0.539, allocations: 197.7 kB / 0.6665 GB, free: 9.613 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.228e-06/0.539, allocations: 3.906 kB / 0.6665 GB, free: 9.609 MB / 490.7 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0006733/0.5397, allocations: 485.1 kB / 0.667 GB, free: 9.129 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.527e-05/0.5397, allocations: 6.031 kB / 0.667 GB, free: 9.125 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.69e-06/0.5398, allocations: 0 / 0.667 GB, free: 9.125 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.45e-05/0.5398, allocations: 0 / 0.667 GB, free: 9.125 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002051/0.54, allocations: 54.78 kB / 0.667 GB, free: 9.074 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.38e-06/0.54, allocations: 0 / 0.667 GB, free: 9.074 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000225/0.5402, allocations: 55.66 kB / 0.6671 GB, free: 9.02 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.253e-05/0.5403, allocations: 11.98 kB / 0.6671 GB, free: 9.008 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 (mod.temDif_mod.i,mod.watFlo_mod.i,mod.airFlo_mod.i) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 8 * 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.0001462/0.5404, allocations: 194.1 kB / 0.6673 GB, free: 8.793 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.758e-05/0.5405, allocations: 27.62 kB / 0.6673 GB, free: 8.766 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.736e-05/0.5406, allocations: 29.95 kB / 0.6673 GB, free: 8.734 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.158e-06/0.5406, allocations: 4 kB / 0.6673 GB, free: 8.73 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.198e-06/0.5406, allocations: 0 / 0.6673 GB, free: 8.73 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.879e-06/0.5406, allocations: 3.984 kB / 0.6673 GB, free: 8.727 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002954/0.5409, allocations: 313.8 kB / 0.6676 GB, free: 8.383 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/0.5409, allocations: 0 / 0.6676 GB, free: 8.383 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001787/0.5411, allocations: 39.97 kB / 0.6677 GB, free: 8.344 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.655e-06/0.5411, allocations: 4 kB / 0.6677 GB, free: 8.34 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.493e-05/0.5411, allocations: 4 kB / 0.6677 GB, free: 8.336 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.202e-06/0.5411, allocations: 3.938 kB / 0.6677 GB, free: 8.332 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.006e-06/0.5411, allocations: 0 / 0.6677 GB, free: 8.332 MB / 490.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0005644/0.5417, allocations: 463 kB / 0.6681 GB, free: 7.863 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.384e-05/0.5418, allocations: 112.7 kB / 0.6682 GB, free: 7.734 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.968e-05/0.5418, allocations: 0 / 0.6682 GB, free: 7.734 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002497/0.5421, allocations: 43.97 kB / 0.6683 GB, free: 7.691 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001137/0.5422, allocations: 23.97 kB / 0.6683 GB, free: 7.668 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.975e-05/0.5423, allocations: 8 kB / 0.6683 GB, free: 7.66 MB / 490.7 MB Notification: Performance of sort global known variables: time 0.0002247/0.5425, allocations: 241.9 kB / 0.6685 GB, free: 7.426 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0004526/0.5429, allocations: 123.7 kB / 0.6687 GB, free: 7.305 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 (mod.temDif_mod.i,mod.watFlo_mod.i,mod.airFlo_mod.i) * Number of discrete states: 3 (mod.airFlo_mod.i,mod.watFlo_mod.i,mod.temDif_mod.i) * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 3 * 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.0004875/0.5434, allocations: 277.3 kB / 0.6689 GB, free: 7.035 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0006691/0.5441, allocations: 0.5333 MB / 0.6694 GB, free: 6.465 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.5441, allocations: 0 / 0.6694 GB, free: 6.465 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002986/0.5444, allocations: 273 kB / 0.6697 GB, free: 6.18 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003647/0.5448, allocations: 54.5 kB / 0.6698 GB, free: 6.129 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009583/0.5458, allocations: 499.7 kB / 0.6702 GB, free: 5.609 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004962/0.5463, allocations: 0.8095 MB / 0.671 GB, free: 4.773 MB / 490.7 MB Notification: Performance of SimCode: time 3.51e-07/0.5463, allocations: 0 / 0.671 GB, free: 4.773 MB / 490.7 MB Notification: Performance of Templates: time 0.01036/0.5567, allocations: 5.273 MB / 0.6762 GB, free: 15.63 MB / 0.4948 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor.makefile (rm -f IBPSA_latest_IBPSA.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor.sim & ./IBPSA_latest_IBPSA.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor.pipe 2>&1)