Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingOnly.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.Examples.CoolingOnly,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingOnly") translateModel(IBPSA.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingOnly,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingOnly") [: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.001156/0.001156, allocations: 188 kB / 7.804 MB, free: 2.438 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.4447/0.4447, allocations: 90.85 MB / 99.08 MB, free: 14.94 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.247/1.247, allocations: 221.4 MB / 342.7 MB, free: 5.445 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.0009428/0.0009427, allocations: 101.6 kB / 415.5 MB, free: 6.465 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 7.935e-06/7.955e-06, allocations: 4 kB / 493.9 MB, free: 8.105 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3618/0.3618, allocations: 72.3 MB / 0.5529 GB, free: 73.44 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 3.778/4.14, allocations: 2.135 GB / 2.688 GB, free: 168.4 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002951/4.14, allocations: 95.94 kB / 2.688 GB, free: 168.4 MB / 0.6042 GB Notification: Performance of FrontEnd: time 3.062/7.202, allocations: 0.8849 GB / 3.573 GB, free: 59.57 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 0.0002995/7.202, allocations: 59.36 kB / 3.573 GB, free: 59.55 MB / 0.6198 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 331 * Number of variables: 331 Notification: Performance of Generate backend data structure: time 0.005319/7.208, allocations: 2.355 MB / 3.575 GB, free: 58.44 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.795e-05/7.208, allocations: 12.78 kB / 3.575 GB, free: 58.44 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002232/7.21, allocations: 393.5 kB / 3.576 GB, free: 58.31 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004792/7.215, allocations: 2.079 MB / 3.578 GB, free: 57.97 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.318e-05/7.215, allocations: 42.41 kB / 3.578 GB, free: 57.97 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003822/7.215, allocations: 83.62 kB / 3.578 GB, free: 57.97 MB / 0.6198 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002286/7.218, allocations: 1.138 MB / 3.579 GB, free: 57.96 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002466/7.22, allocations: 1.392 MB / 3.58 GB, free: 57.8 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.654e-05/7.22, allocations: 7.594 kB / 3.58 GB, free: 57.8 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001041/7.22, allocations: 2.938 kB / 3.58 GB, free: 57.8 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.343e-05/7.22, allocations: 52.75 kB / 3.58 GB, free: 57.79 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009363/7.23, allocations: 6.768 MB / 3.587 GB, free: 55.31 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008655/7.231, allocations: 0.6623 MB / 3.588 GB, free: 55.28 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006566/7.231, allocations: 0.586 MB / 3.588 GB, free: 55.27 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005115/7.232, allocations: 0.6866 MB / 3.589 GB, free: 54.52 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.371e-05/7.232, allocations: 44.94 kB / 3.589 GB, free: 54.48 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=83): time 3.647e-06/7.232, allocations: 3.703 kB / 3.589 GB, free: 54.48 MB / 0.6198 GB Notification: Performance of matching and sorting (n=85): time 0.00506/7.237, allocations: 2.762 MB / 3.592 GB, free: 53.81 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.091e-05/7.237, allocations: 196 kB / 3.592 GB, free: 53.59 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001859/7.239, allocations: 1.516 MB / 3.593 GB, free: 53.43 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 8.464e-05/7.239, allocations: 31.42 kB / 3.593 GB, free: 53.4 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002834/7.239, allocations: 0.5679 MB / 3.594 GB, free: 53.11 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002264/7.24, allocations: 288.8 kB / 3.594 GB, free: 52.92 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.76e-05/7.24, allocations: 0 / 3.594 GB, free: 52.92 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 6.775e-05/7.24, allocations: 341.1 kB / 3.594 GB, free: 52.61 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006537/7.24, allocations: 0.577 MB / 3.595 GB, free: 52.61 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000765/7.241, allocations: 0.8289 MB / 3.596 GB, free: 52.37 MB / 0.6198 GB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: vol.dynBal.medium.p = vol.dynBal.p_start (bou.p = vol.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.003752/7.245, allocations: 2.176 MB / 3.598 GB, free: 52.07 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.677e-06/7.245, allocations: 3.469 kB / 3.598 GB, free: 52.07 MB / 0.6198 GB Notification: Performance of matching and sorting (n=120) (initialization): time 0.002147/7.247, allocations: 1.546 MB / 3.599 GB, free: 51.93 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002401/7.247, allocations: 1.458 MB / 3.601 GB, free: 50.41 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.137e-06/7.247, allocations: 3.844 kB / 3.601 GB, free: 50.41 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.296e-05/7.247, allocations: 9.312 kB / 3.601 GB, free: 50.41 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000728/7.248, allocations: 179.3 kB / 3.601 GB, free: 50.41 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.025e-05/7.248, allocations: 17.48 kB / 3.601 GB, free: 50.41 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001353/7.249, allocations: 97.88 kB / 3.601 GB, free: 50.4 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.758e-05/7.25, allocations: 45.94 kB / 3.601 GB, free: 50.4 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 6.031e-06/7.25, allocations: 3.312 kB / 3.601 GB, free: 50.4 MB / 0.6198 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001756/7.251, allocations: 1.344 MB / 3.603 GB, free: 50.38 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.171e-06/7.251, allocations: 6.219 kB / 3.603 GB, free: 50.38 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.747e-06/7.251, allocations: 13.06 kB / 3.603 GB, free: 50.38 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007066/7.252, allocations: 179.4 kB / 3.603 GB, free: 50.38 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.584e-06/7.252, allocations: 9.625 kB / 3.603 GB, free: 50.38 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001269/7.253, allocations: 106 kB / 3.603 GB, free: 50.37 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.734e-05/7.253, allocations: 43 kB / 3.603 GB, free: 50.37 MB / 0.6198 GB Warning: Assuming redundant initial conditions for the following 1 initial equations: vol.dynBal.medium.p = vol.dynBal.p_start Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 4 (beaCoo.conCoo.mod.temDif_mod.i,beaCoo.conCoo.mod.watFlo_mod.i,beaCoo.conCoo.mod.airFlo_mod.i,conPID.I.trigger_internal) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (106): * Single equations (assignments): 100 * 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.0002668/7.254, allocations: 229 kB / 3.603 GB, free: 50.16 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002267/7.254, allocations: 174.2 kB / 3.603 GB, free: 50.07 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002008/7.256, allocations: 1.289 MB / 3.605 GB, free: 50 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.217e-05/7.256, allocations: 13.2 kB / 3.605 GB, free: 50 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.63e-06/7.256, allocations: 0 / 3.605 GB, free: 50 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001517/7.257, allocations: 1.379 MB / 3.606 GB, free: 49.54 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005548/7.263, allocations: 3.275 MB / 3.609 GB, free: 49.08 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.512e-06/7.263, allocations: 3.719 kB / 3.609 GB, free: 49.08 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007597/7.264, allocations: 173 kB / 3.609 GB, free: 49.08 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.121e-05/7.264, allocations: 6.938 kB / 3.609 GB, free: 49.08 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.272e-05/7.264, allocations: 20.94 kB / 3.609 GB, free: 49.08 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.003e-06/7.264, allocations: 6.969 kB / 3.609 GB, free: 49.08 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.731e-06/7.264, allocations: 5.406 kB / 3.609 GB, free: 49.08 MB / 0.6198 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002533/7.266, allocations: 2.512 MB / 3.612 GB, free: 48.29 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007752/7.267, allocations: 437.6 kB / 3.612 GB, free: 48.1 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002475/7.268, allocations: 17.22 kB / 3.612 GB, free: 48.1 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001004/7.269, allocations: 87.88 kB / 3.612 GB, free: 48.09 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001904/7.269, allocations: 87.69 kB / 3.612 GB, free: 48.09 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.453e-05/7.269, allocations: 44.36 kB / 3.612 GB, free: 48.09 MB / 0.6198 GB Notification: Performance of sort global known variables: time 0.001464/7.27, allocations: 1.154 MB / 3.614 GB, free: 47.98 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.002556/7.273, allocations: 0.8993 MB / 3.614 GB, free: 47.93 MB / 0.6198 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 20 * Number of states: 4 (conPID.I.y,vol.dynBal.medium.Xi[1],vol.dynBal.U,beaCoo.conCoo.hex.vol.dynBal.U) * Number of discrete variables: 3 (beaCoo.conCoo.mod.temDif_mod.i,beaCoo.conCoo.mod.watFlo_mod.i,beaCoo.conCoo.mod.airFlo_mod.i) * Number of discrete states: 3 (beaCoo.conCoo.mod.airFlo_mod.i,beaCoo.conCoo.mod.watFlo_mod.i,beaCoo.conCoo.mod.temDif_mod.i) * Top-level inputs: 0 Notification: Strong component statistics for simulation (84): * Single equations (assignments): 79 * Array equations: 0 * Algorithm blocks: 3 * Record equations: 2 * 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.002909/7.276, allocations: 2.388 MB / 3.617 GB, free: 47.31 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.002598/7.278, allocations: 2.375 MB / 3.619 GB, free: 46.91 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 7.444e-06/7.278, allocations: 3.719 kB / 3.619 GB, free: 46.91 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.001026/7.279, allocations: 0.9039 MB / 3.62 GB, free: 46.8 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003545/7.283, allocations: 0.8058 MB / 3.621 GB, free: 46.79 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005729/7.289, allocations: 3.129 MB / 3.624 GB, free: 46 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001383/7.29, allocations: 1.695 MB / 3.625 GB, free: 45.27 MB / 0.6198 GB Notification: Performance of SimCode: time 7.41e-07/7.29, allocations: 0 / 3.625 GB, free: 45.27 MB / 0.6198 GB Notification: Performance of Templates: time 0.07547/7.366, allocations: 48.66 MB / 3.673 GB, free: 42.86 MB / 0.6198 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingOnly.makefile (rm -f IBPSA_latest_IBPSA.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingOnly.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingOnly.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingOnly.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingOnly.sim & ./IBPSA_latest_IBPSA.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingOnly -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingOnly.pipe 2>&1)