Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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_8_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.1.4-maint.8.1.x/package.mo): time 1.541/1.541, allocations: 289.8 MB / 297.1 MB, free: 6.711 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.001196/0.001196, allocations: 185.2 kB / 366.3 MB, free: 2 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.703/1.703, allocations: 205.1 MB / 0.6256 GB, free: 5.836 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.001047/0.001047, allocations: 93.41 kB / 0.7396 GB, free: 39.69 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.047e-05/1.058e-05, allocations: 4 kB / 0.859 GB, free: 13.36 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.701/0.701, allocations: 116.3 MB / 0.9726 GB, free: 68.32 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1855/0.8865, allocations: 142.5 MB / 1.112 GB, free: 5.949 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002453/0.8868, allocations: 91.92 kB / 1.112 GB, free: 5.859 MB / 0.7136 GB Notification: Performance of FrontEnd: time 0.01967/0.9065, allocations: 6.576 MB / 1.118 GB, free: 15.29 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 1.509e-05/0.9066, allocations: 7.938 kB / 1.118 GB, free: 15.29 MB / 0.7292 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.000948/0.9075, allocations: 0.7384 MB / 1.119 GB, free: 14.46 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.818e-05/0.9076, allocations: 8.031 kB / 1.119 GB, free: 14.45 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.852e-05/0.9077, allocations: 31.62 kB / 1.119 GB, free: 14.42 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004388/0.9081, allocations: 311 kB / 1.119 GB, free: 14.08 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.812e-05/0.9081, allocations: 8 kB / 1.119 GB, free: 14.07 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.6e-05/0.9082, allocations: 12 kB / 1.119 GB, free: 14.06 MB / 0.7292 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003478/0.9085, allocations: 205.4 kB / 1.12 GB, free: 13.86 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003764/0.9089, allocations: 246.5 kB / 1.12 GB, free: 13.62 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.496e-05/0.909, allocations: 9.203 kB / 1.12 GB, free: 13.61 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.2e-05/0.909, allocations: 0 / 1.12 GB, free: 13.61 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.115e-06/0.909, allocations: 4 kB / 1.12 GB, free: 13.61 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001321/0.9103, allocations: 0.6998 MB / 1.12 GB, free: 12.87 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003802/0.9107, allocations: 198.6 kB / 1.121 GB, free: 12.66 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002273/0.9109, allocations: 160.8 kB / 1.121 GB, free: 12.5 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 2.006e-05/0.911, allocations: 4 kB / 1.121 GB, free: 12.5 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.114e-05/0.911, allocations: 30.56 kB / 1.121 GB, free: 12.46 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=14): time 1.413e-06/0.911, allocations: 0 / 1.121 GB, free: 12.46 MB / 0.7292 GB Notification: Performance of matching and sorting (n=14): time 0.0007271/0.9117, allocations: 349.3 kB / 1.121 GB, free: 12.11 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.541e-05/0.9118, allocations: 136.5 kB / 1.121 GB, free: 11.95 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003502/0.9122, allocations: 303.5 kB / 1.122 GB, free: 11.64 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 2.716e-05/0.9122, allocations: 25.7 kB / 1.122 GB, free: 11.61 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 7.499e-05/0.9123, allocations: 140.3 kB / 1.122 GB, free: 11.47 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 5.615e-05/0.9124, allocations: 48.11 kB / 1.122 GB, free: 11.43 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.512e-05/0.9124, allocations: 4 kB / 1.122 GB, free: 11.42 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001445/0.9126, allocations: 334.9 kB / 1.122 GB, free: 11.09 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002565/0.9128, allocations: 203.9 kB / 1.122 GB, free: 10.89 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002589/0.9131, allocations: 199.9 kB / 1.123 GB, free: 10.69 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003513/0.9134, allocations: 199.4 kB / 1.123 GB, free: 10.5 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.575e-06/0.9135, allocations: 0 / 1.123 GB, free: 10.5 MB / 0.7292 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0006975/0.9142, allocations: 489 kB / 1.123 GB, free: 10.02 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.439e-05/0.9142, allocations: 9.781 kB / 1.123 GB, free: 10.01 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.991e-06/0.9142, allocations: 0 / 1.123 GB, free: 10.01 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.521e-05/0.9142, allocations: 4 kB / 1.123 GB, free: 10 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001996/0.9144, allocations: 39.97 kB / 1.123 GB, free: 9.965 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.07e-06/0.9144, allocations: 0 / 1.123 GB, free: 9.965 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002219/0.9147, allocations: 51.81 kB / 1.123 GB, free: 9.914 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.282e-05/0.9147, allocations: 8 kB / 1.123 GB, free: 9.906 MB / 0.7292 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.0001638/0.9149, allocations: 201.9 kB / 1.123 GB, free: 9.684 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.494e-05/0.9149, allocations: 23.72 kB / 1.124 GB, free: 9.66 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.485e-05/0.915, allocations: 29.95 kB / 1.124 GB, free: 9.629 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.404e-06/0.915, allocations: 0 / 1.124 GB, free: 9.629 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.354e-06/0.915, allocations: 7.906 kB / 1.124 GB, free: 9.621 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.55e-06/0.915, allocations: 3.984 kB / 1.124 GB, free: 9.617 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003372/0.9154, allocations: 306 kB / 1.124 GB, free: 9.281 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.524e-06/0.9154, allocations: 3.906 kB / 1.124 GB, free: 9.277 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001851/0.9156, allocations: 43.97 kB / 1.124 GB, free: 9.234 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.308e-06/0.9156, allocations: 4 kB / 1.124 GB, free: 9.23 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.201e-05/0.9156, allocations: 4 kB / 1.124 GB, free: 9.227 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.092e-06/0.9156, allocations: 0 / 1.124 GB, free: 9.227 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.295e-06/0.9156, allocations: 1.594 kB / 1.124 GB, free: 9.227 MB / 0.7292 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.000634/0.9163, allocations: 474.5 kB / 1.124 GB, free: 8.75 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 8.783e-05/0.9164, allocations: 112.8 kB / 1.124 GB, free: 8.621 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.145e-05/0.9164, allocations: 4 kB / 1.124 GB, free: 8.617 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002532/0.9167, allocations: 47.88 kB / 1.125 GB, free: 8.57 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001086/0.9168, allocations: 23.97 kB / 1.125 GB, free: 8.547 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.854e-05/0.9168, allocations: 4 kB / 1.125 GB, free: 8.543 MB / 0.7292 GB Notification: Performance of sort global known variables: time 0.0002356/0.9171, allocations: 239.1 kB / 1.125 GB, free: 8.312 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0004896/0.9176, allocations: 119.8 kB / 1.125 GB, free: 8.195 MB / 0.7292 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.0005177/0.9181, allocations: 273 kB / 1.125 GB, free: 7.926 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0006484/0.9188, allocations: 0.5332 MB / 1.126 GB, free: 7.355 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.9188, allocations: 0 / 1.126 GB, free: 7.355 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.000296/0.9191, allocations: 267.8 kB / 1.126 GB, free: 7.078 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003786/0.9195, allocations: 54.02 kB / 1.126 GB, free: 7.023 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000924/0.9204, allocations: 0.4919 MB / 1.126 GB, free: 6.5 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004634/0.9209, allocations: 0.8135 MB / 1.127 GB, free: 5.66 MB / 0.7292 GB Notification: Performance of SimCode: time 2.7e-07/0.9209, allocations: 0 / 1.127 GB, free: 5.66 MB / 0.7292 GB Notification: Performance of Templates: time 0.01014/0.931, allocations: 5.27 MB / 1.132 GB, free: 492 kB / 0.7292 GB make -j1 -f Buildings_8_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor.makefile (rm -f Buildings_8_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor.pipe ; mkfifo Buildings_8_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor.pipe >> ../files/Buildings_8_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor.sim & ./Buildings_8_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor.pipe 2>&1)