Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor.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.ModificationFactor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor") translateModel(BuildingSystems.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.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/BuildingSystems 2.0.0-master/package.mo): time 0.7694/0.7694, allocations: 141.8 MB / 149.1 MB, free: 4.508 MB / 122.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001124/0.001124, allocations: 183.6 kB / 181.9 MB, free: 160 kB / 138.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.517/1.517, allocations: 221.3 MB / 436 MB, free: 9.297 MB / 330.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001251/0.001251, allocations: 90.28 kB / 0.507 GB, free: 24.22 MB / 394.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001872/0.001872, allocations: 270.7 kB / 0.5884 GB, free: 12.33 MB / 442.9 MB Notification: Performance of FrontEnd - loaded program: time 1.263e-05/1.305e-05, allocations: 3.938 kB / 0.6759 GB, free: 2.691 MB / 0.5107 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.571/0.571, allocations: 82.77 MB / 0.7567 GB, free: 113 MB / 0.5263 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1495/0.7206, allocations: 112.2 MB / 0.8663 GB, free: 0.6562 MB / 0.5263 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002917/0.7209, allocations: 104.4 kB / 0.8664 GB, free: 0.5586 MB / 0.5263 GB Notification: Performance of FrontEnd: time 0.02114/0.7421, allocations: 6.627 MB / 0.8729 GB, free: 9.973 MB / 0.5419 GB Notification: Performance of Transformations before backend: time 2.695e-05/0.7422, allocations: 8 kB / 0.8729 GB, free: 9.965 MB / 0.5419 GB 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.001281/0.7435, allocations: 0.7345 MB / 0.8736 GB, free: 9.145 MB / 0.5419 GB Notification: Performance of prepare preOptimizeDAE: time 5.49e-05/0.7435, allocations: 8.031 kB / 0.8736 GB, free: 9.137 MB / 0.5419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001574/0.7437, allocations: 43.61 kB / 0.8736 GB, free: 9.094 MB / 0.5419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005667/0.7443, allocations: 303.1 kB / 0.8739 GB, free: 8.762 MB / 0.5419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.589e-05/0.7443, allocations: 16 kB / 0.8739 GB, free: 8.746 MB / 0.5419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.927e-05/0.7444, allocations: 11.98 kB / 0.8739 GB, free: 8.734 MB / 0.5419 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004098/0.7448, allocations: 200.1 kB / 0.8741 GB, free: 8.539 MB / 0.5419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003964/0.7452, allocations: 238.7 kB / 0.8744 GB, free: 8.301 MB / 0.5419 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.337e-05/0.7452, allocations: 0 / 0.8744 GB, free: 8.301 MB / 0.5419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.606e-05/0.7453, allocations: 4 kB / 0.8744 GB, free: 8.297 MB / 0.5419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.211e-05/0.7453, allocations: 7.906 kB / 0.8744 GB, free: 8.289 MB / 0.5419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001456/0.7467, allocations: 0.7039 MB / 0.8751 GB, free: 7.547 MB / 0.5419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004107/0.7472, allocations: 194.7 kB / 0.8752 GB, free: 7.348 MB / 0.5419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002255/0.7474, allocations: 152.8 kB / 0.8754 GB, free: 7.195 MB / 0.5419 GB Notification: Performance of preOpt evalFunc (simulation): time 1.989e-05/0.7474, allocations: 0 / 0.8754 GB, free: 7.195 MB / 0.5419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.738e-05/0.7475, allocations: 34.56 kB / 0.8754 GB, free: 7.152 MB / 0.5419 GB Notification: Performance of pre-optimization done (n=14): time 1.413e-06/0.7475, allocations: 0 / 0.8754 GB, free: 7.152 MB / 0.5419 GB Notification: Performance of matching and sorting (n=14): time 0.0006875/0.7482, allocations: 355.5 kB / 0.8758 GB, free: 6.801 MB / 0.5419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.457e-05/0.7483, allocations: 141.4 kB / 0.8759 GB, free: 6.633 MB / 0.5419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003712/0.7486, allocations: 299.4 kB / 0.8762 GB, free: 6.328 MB / 0.5419 GB Notification: Performance of collectPreVariables (initialization): time 4.727e-05/0.7487, allocations: 33.7 kB / 0.8762 GB, free: 6.289 MB / 0.5419 GB Notification: Performance of collectInitialEqns (initialization): time 0.000102/0.7488, allocations: 136.3 kB / 0.8763 GB, free: 6.152 MB / 0.5419 GB Notification: Performance of collectInitialBindings (initialization): time 4.88e-05/0.7489, allocations: 43.36 kB / 0.8764 GB, free: 6.109 MB / 0.5419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.479e-05/0.7489, allocations: 2.438 kB / 0.8764 GB, free: 6.109 MB / 0.5419 GB Notification: Performance of setup shared object (initialization): time 0.0002059/0.7491, allocations: 338.9 kB / 0.8767 GB, free: 5.77 MB / 0.5419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002717/0.7494, allocations: 203.9 kB / 0.8769 GB, free: 5.57 MB / 0.5419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000257/0.7497, allocations: 200.7 kB / 0.8771 GB, free: 5.375 MB / 0.5419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003667/0.75, allocations: 201.3 kB / 0.8773 GB, free: 5.18 MB / 0.5419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.926e-06/0.75, allocations: 0 / 0.8773 GB, free: 5.18 MB / 0.5419 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0007167/0.7508, allocations: 486.4 kB / 0.8778 GB, free: 4.699 MB / 0.5419 GB Notification: Performance of prepare postOptimizeDAE: time 1.951e-05/0.7508, allocations: 7.938 kB / 0.8778 GB, free: 4.691 MB / 0.5419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.396e-06/0.7508, allocations: 0 / 0.8778 GB, free: 4.691 MB / 0.5419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.76e-05/0.7508, allocations: 0 / 0.8778 GB, free: 4.691 MB / 0.5419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002148/0.7511, allocations: 43.97 kB / 0.8778 GB, free: 4.648 MB / 0.5419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.562e-06/0.7511, allocations: 0 / 0.8778 GB, free: 4.648 MB / 0.5419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002501/0.7513, allocations: 51.8 kB / 0.8779 GB, free: 4.598 MB / 0.5419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.361e-05/0.7514, allocations: 12 kB / 0.8779 GB, free: 4.586 MB / 0.5419 GB 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.0001809/0.7516, allocations: 206 kB / 0.8781 GB, free: 4.359 MB / 0.5419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.652e-05/0.7516, allocations: 23.72 kB / 0.8781 GB, free: 4.336 MB / 0.5419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.099e-05/0.7517, allocations: 25.95 kB / 0.8781 GB, free: 4.305 MB / 0.5419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.498e-06/0.7517, allocations: 4 kB / 0.8781 GB, free: 4.301 MB / 0.5419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.532e-06/0.7517, allocations: 0 / 0.8781 GB, free: 4.301 MB / 0.5419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.422e-06/0.7518, allocations: 0 / 0.8781 GB, free: 4.301 MB / 0.5419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000373/0.7521, allocations: 309.8 kB / 0.8784 GB, free: 3.961 MB / 0.5419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.246e-06/0.7522, allocations: 0 / 0.8784 GB, free: 3.961 MB / 0.5419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001922/0.7524, allocations: 47.91 kB / 0.8785 GB, free: 3.914 MB / 0.5419 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.831e-06/0.7524, allocations: 4 kB / 0.8785 GB, free: 3.91 MB / 0.5419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.724e-05/0.7524, allocations: 7.891 kB / 0.8785 GB, free: 3.902 MB / 0.5419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.705e-06/0.7524, allocations: 4 kB / 0.8785 GB, free: 3.898 MB / 0.5419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.383e-06/0.7524, allocations: 11.17 kB / 0.8785 GB, free: 3.891 MB / 0.5419 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0006623/0.7531, allocations: 459 kB / 0.8789 GB, free: 3.426 MB / 0.5419 GB Notification: Performance of postOpt removeConstants (simulation): time 9.591e-05/0.7532, allocations: 100.8 kB / 0.879 GB, free: 3.309 MB / 0.5419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.592e-05/0.7533, allocations: 8 kB / 0.879 GB, free: 3.301 MB / 0.5419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000265/0.7535, allocations: 43.97 kB / 0.8791 GB, free: 3.258 MB / 0.5419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001341/0.7537, allocations: 27.97 kB / 0.8791 GB, free: 3.23 MB / 0.5419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.453e-05/0.7537, allocations: 11.89 kB / 0.8791 GB, free: 3.219 MB / 0.5419 GB Notification: Performance of sort global known variables: time 0.0002689/0.754, allocations: 243.1 kB / 0.8793 GB, free: 2.98 MB / 0.5419 GB Notification: Performance of remove unused functions: time 0.0005819/0.7546, allocations: 115.8 kB / 0.8794 GB, free: 2.867 MB / 0.5419 GB 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.0008224/0.7554, allocations: 278.7 kB / 0.8797 GB, free: 2.594 MB / 0.5419 GB Notification: Performance of simCode: created initialization part: time 0.000945/0.7564, allocations: 0.5333 MB / 0.8802 GB, free: 2.023 MB / 0.5419 GB Notification: Performance of simCode: created event and clocks part: time 3.647e-06/0.7564, allocations: 0 / 0.8802 GB, free: 2.023 MB / 0.5419 GB Notification: Performance of simCode: created simulation system equations: time 0.0003776/0.7568, allocations: 265 kB / 0.8805 GB, free: 1.746 MB / 0.5419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003925/0.7572, allocations: 58.95 kB / 0.8805 GB, free: 1.691 MB / 0.5419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00135/0.7586, allocations: 0.4892 MB / 0.881 GB, free: 1.176 MB / 0.5419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005374/0.7591, allocations: 0.8096 MB / 0.8818 GB, free: 348 kB / 0.5419 GB Notification: Performance of SimCode: time 5.61e-07/0.7591, allocations: 0 / 0.8818 GB, free: 348 kB / 0.5419 GB Notification: Performance of Templates: time 0.01439/0.7735, allocations: 5.285 MB / 0.887 GB, free: 11.18 MB / 0.5575 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor.sim & ./BuildingSystems_BuildingSystems.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor.pipe 2>&1)