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.ModificationFactor.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.ModificationFactor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor") translateModel(Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.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/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.537/1.537, allocations: 285.5 MB / 292.8 MB, free: 10.41 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.00133/0.00133, allocations: 185.2 kB / 361.1 MB, free: 7.07 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.592/1.592, allocations: 205.1 MB / 0.6195 GB, free: 10.27 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.0008888/0.0008888, allocations: 79.33 kB / 0.7325 GB, free: 44.21 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.3e-05/1.303e-05, allocations: 4 kB / 0.8511 GB, free: 2.922 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8017/0.8018, allocations: 115.3 MB / 0.9637 GB, free: 78.08 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2126/1.014, allocations: 141.6 MB / 1.102 GB, free: 14.39 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003257/1.015, allocations: 93.23 kB / 1.102 GB, free: 14.31 MB / 0.7136 GB Notification: Performance of FrontEnd: time 0.02084/1.036, allocations: 6.567 MB / 1.108 GB, free: 7.828 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 2.41e-05/1.036, allocations: 8 kB / 1.108 GB, free: 7.82 MB / 0.7136 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.001107/1.037, allocations: 0.7383 MB / 1.109 GB, free: 6.996 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.718e-05/1.037, allocations: 8.531 kB / 1.109 GB, free: 6.988 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001306/1.037, allocations: 35.61 kB / 1.109 GB, free: 6.953 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006189/1.038, allocations: 315.1 kB / 1.11 GB, free: 6.605 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.988e-05/1.038, allocations: 4 kB / 1.11 GB, free: 6.602 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.115e-05/1.038, allocations: 15.94 kB / 1.11 GB, free: 6.586 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000361/1.038, allocations: 196.2 kB / 1.11 GB, free: 6.395 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000388/1.039, allocations: 239.7 kB / 1.11 GB, free: 6.156 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.385e-05/1.039, allocations: 3.906 kB / 1.11 GB, free: 6.152 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.208e-05/1.039, allocations: 0 / 1.11 GB, free: 6.152 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.636e-06/1.039, allocations: 4 kB / 1.11 GB, free: 6.148 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00136/1.04, allocations: 0.7135 MB / 1.111 GB, free: 5.398 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003995/1.04, allocations: 194.7 kB / 1.111 GB, free: 5.199 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002215/1.041, allocations: 148.8 kB / 1.111 GB, free: 5.051 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.861e-05/1.041, allocations: 3.984 kB / 1.111 GB, free: 5.047 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.802e-05/1.041, allocations: 43.33 kB / 1.111 GB, free: 4.996 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=14): time 1.873e-06/1.041, allocations: 0 / 1.111 GB, free: 4.996 MB / 0.7136 GB Notification: Performance of matching and sorting (n=14): time 0.0007108/1.041, allocations: 349.2 kB / 1.111 GB, free: 4.648 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.957e-05/1.041, allocations: 132.5 kB / 1.111 GB, free: 4.488 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003686/1.042, allocations: 307.5 kB / 1.112 GB, free: 4.18 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 2.678e-05/1.042, allocations: 25.7 kB / 1.112 GB, free: 4.148 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 7.977e-05/1.042, allocations: 136.4 kB / 1.112 GB, free: 4.012 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 5.174e-05/1.042, allocations: 39.36 kB / 1.112 GB, free: 3.973 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.898e-05/1.042, allocations: 8.109 kB / 1.112 GB, free: 3.965 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001442/1.042, allocations: 342.5 kB / 1.112 GB, free: 3.625 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002741/1.042, allocations: 207.9 kB / 1.113 GB, free: 3.422 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002658/1.043, allocations: 197.7 kB / 1.113 GB, free: 3.23 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003676/1.043, allocations: 202.3 kB / 1.113 GB, free: 3.035 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.033e-06/1.043, allocations: 0 / 1.113 GB, free: 3.035 MB / 0.7136 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0007643/1.044, allocations: 484.9 kB / 1.113 GB, free: 2.555 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.475e-05/1.044, allocations: 8 kB / 1.113 GB, free: 2.547 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.941e-06/1.044, allocations: 0 / 1.113 GB, free: 2.547 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.57e-05/1.044, allocations: 0 / 1.113 GB, free: 2.547 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002096/1.044, allocations: 47.95 kB / 1.113 GB, free: 2.5 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.05e-06/1.044, allocations: 0 / 1.113 GB, free: 2.5 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002425/1.044, allocations: 51.81 kB / 1.113 GB, free: 2.449 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.422e-05/1.044, allocations: 8 kB / 1.113 GB, free: 2.441 MB / 0.7136 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.000163/1.045, allocations: 202 kB / 1.114 GB, free: 2.219 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.064e-05/1.045, allocations: 27.72 kB / 1.114 GB, free: 2.191 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.553e-05/1.045, allocations: 29.89 kB / 1.114 GB, free: 2.16 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.066e-06/1.045, allocations: 0 / 1.114 GB, free: 2.16 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.233e-06/1.045, allocations: 3.906 kB / 1.114 GB, free: 2.156 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.234e-06/1.045, allocations: 0 / 1.114 GB, free: 2.156 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000363/1.045, allocations: 315.5 kB / 1.114 GB, free: 1.812 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.488e-06/1.045, allocations: 3.906 kB / 1.114 GB, free: 1.809 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001927/1.045, allocations: 39.97 kB / 1.114 GB, free: 1.77 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.946e-06/1.045, allocations: 0 / 1.114 GB, free: 1.77 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.272e-05/1.045, allocations: 4 kB / 1.114 GB, free: 1.766 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.873e-06/1.045, allocations: 0 / 1.114 GB, free: 1.766 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.673e-06/1.045, allocations: 4 kB / 1.114 GB, free: 1.762 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0006053/1.046, allocations: 470.5 kB / 1.115 GB, free: 1.289 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 8.549e-05/1.046, allocations: 104.8 kB / 1.115 GB, free: 1.168 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.632e-05/1.046, allocations: 7.984 kB / 1.115 GB, free: 1.16 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000264/1.047, allocations: 43.88 kB / 1.115 GB, free: 1.117 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001139/1.047, allocations: 25.84 kB / 1.115 GB, free: 1.094 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.046e-05/1.047, allocations: 11.94 kB / 1.115 GB, free: 1.082 MB / 0.7136 GB Notification: Performance of sort global known variables: time 0.0002698/1.047, allocations: 243.1 kB / 1.115 GB, free: 0.8477 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0005213/1.047, allocations: 119.8 kB / 1.115 GB, free: 0.7305 MB / 0.7136 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.0006064/1.048, allocations: 267.2 kB / 1.115 GB, free: 472 kB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0007049/1.049, allocations: 0.541 MB / 1.116 GB, free: 15.88 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/1.049, allocations: 0 / 1.116 GB, free: 15.88 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0003099/1.049, allocations: 262.1 kB / 1.116 GB, free: 15.61 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003564/1.049, allocations: 51.38 kB / 1.116 GB, free: 15.56 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009539/1.05, allocations: 0.4956 MB / 1.117 GB, free: 15.04 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004525/1.051, allocations: 0.8095 MB / 1.117 GB, free: 14.2 MB / 0.7292 GB Notification: Performance of SimCode: time 4.91e-07/1.051, allocations: 5.875 kB / 1.117 GB, free: 14.2 MB / 0.7292 GB Notification: Performance of Templates: time 0.01051/1.061, allocations: 5.275 MB / 1.123 GB, free: 9.047 MB / 0.7292 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor.makefile (rm -f Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor.sim & ./Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor.pipe 2>&1)