Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatExchangers.ActiveBeams.Examples.HeatingOnly.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/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 BuildSysPro with version 3.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo) Running command: translateModel(BuildSysPro.IBPSA.Fluid.HeatExchangers.ActiveBeams.Examples.HeatingOnly,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatExchangers.ActiveBeams.Examples.HeatingOnly") translateModel(BuildSysPro.IBPSA.Fluid.HeatExchangers.ActiveBeams.Examples.HeatingOnly,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatExchangers.ActiveBeams.Examples.HeatingOnly") [: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/BuildSysPro 3.5.0/package.mo): time 0.8119/0.8119, allocations: 127.4 MB / 134.6 MB, free: 4.07 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001219/0.001219, allocations: 177.3 kB / 164.4 MB, free: 6.871 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.596/1.596, allocations: 205.1 MB / 399.1 MB, free: 6.051 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009505/0.0009504, allocations: 80.66 kB / 476.3 MB, free: 8.816 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 8.516e-06/8.536e-06, allocations: 0 / 0.546 GB, free: 42.73 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1835/0.1835, allocations: 76.75 MB / 0.6209 GB, free: 13.9 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.155/6.339, allocations: 2.416 GB / 3.037 GB, free: 36.29 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002844/6.339, allocations: 101.4 kB / 3.037 GB, free: 36.19 MB / 0.6355 GB Notification: Performance of FrontEnd: time 4.67/11.01, allocations: 1.219 GB / 4.256 GB, free: 58.85 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0007059/11.01, allocations: 79.97 kB / 4.256 GB, free: 58.84 MB / 0.6823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 521 * Number of variables: 521 Notification: Performance of Generate backend data structure: time 0.01182/11.02, allocations: 3.576 MB / 4.259 GB, free: 56.76 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.232e-05/11.02, allocations: 9.531 kB / 4.259 GB, free: 56.76 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004102/11.03, allocations: 0.5408 MB / 4.26 GB, free: 56.55 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02601/11.05, allocations: 7.757 MB / 4.267 GB, free: 53.55 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002393/11.05, allocations: 67.66 kB / 4.267 GB, free: 53.55 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001273/11.05, allocations: 135.3 kB / 4.267 GB, free: 53.55 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.006792/11.06, allocations: 1.826 MB / 4.269 GB, free: 52.79 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008663/11.07, allocations: 2.279 MB / 4.271 GB, free: 51.73 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001207/11.07, allocations: 6.688 kB / 4.271 GB, free: 51.72 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006881/11.07, allocations: 7.594 kB / 4.271 GB, free: 51.72 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001982/11.07, allocations: 79.31 kB / 4.272 GB, free: 51.71 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02671/11.1, allocations: 11.4 MB / 4.283 GB, free: 44.17 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002651/11.1, allocations: 1.278 MB / 4.284 GB, free: 43.69 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001308/11.1, allocations: 0.8457 MB / 4.285 GB, free: 43.35 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005807/11.1, allocations: 0.5956 MB / 4.285 GB, free: 42.68 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.202e-05/11.1, allocations: 53.34 kB / 4.285 GB, free: 42.63 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=100): time 4.829e-06/11.1, allocations: 3.938 kB / 4.285 GB, free: 42.63 MB / 0.6823 GB Notification: Performance of matching and sorting (n=102): time 0.0141/11.12, allocations: 4.103 MB / 4.289 GB, free: 40.67 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001475/11.12, allocations: 286 kB / 4.29 GB, free: 40.35 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008836/11.13, allocations: 2.628 MB / 4.292 GB, free: 39.26 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0006178/11.13, allocations: 32.52 kB / 4.292 GB, free: 39.23 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.001551/11.13, allocations: 0.9802 MB / 4.293 GB, free: 38.55 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008921/11.13, allocations: 343.6 kB / 4.294 GB, free: 38.29 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002421/11.13, allocations: 3.438 kB / 4.294 GB, free: 38.29 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0002042/11.13, allocations: 368.6 kB / 4.294 GB, free: 37.96 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002097/11.13, allocations: 0.998 MB / 4.295 GB, free: 37.55 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002498/11.13, allocations: 1.513 MB / 4.296 GB, free: 36.53 MB / 0.6823 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.008521/11.14, allocations: 3.626 MB / 4.3 GB, free: 34.01 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.963e-05/11.14, allocations: 4.562 kB / 4.3 GB, free: 34.01 MB / 0.6823 GB Notification: Performance of matching and sorting (n=196) (initialization): time 0.00598/11.15, allocations: 2.669 MB / 4.303 GB, free: 31.56 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.001594/11.15, allocations: 4.507 MB / 4.307 GB, free: 26.63 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.536e-05/11.15, allocations: 14.97 kB / 4.307 GB, free: 26.62 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.797e-05/11.15, allocations: 20.52 kB / 4.307 GB, free: 26.6 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002238/11.15, allocations: 341.3 kB / 4.307 GB, free: 26.3 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008055/11.15, allocations: 0.6662 MB / 4.308 GB, free: 25.61 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003709/11.16, allocations: 162.5 kB / 4.308 GB, free: 25.46 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003752/11.16, allocations: 71.98 kB / 4.308 GB, free: 25.39 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.261e-05/11.16, allocations: 4 kB / 4.308 GB, free: 25.39 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003935/11.16, allocations: 2.324 MB / 4.31 GB, free: 23.08 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.177e-05/11.16, allocations: 15.94 kB / 4.31 GB, free: 23.07 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.239e-05/11.16, allocations: 20 kB / 4.31 GB, free: 23.05 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00113/11.16, allocations: 279.6 kB / 4.311 GB, free: 22.77 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.692e-05/11.16, allocations: 26.95 kB / 4.311 GB, free: 22.75 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003392/11.17, allocations: 132.8 kB / 4.311 GB, free: 22.63 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002714/11.17, allocations: 77.7 kB / 4.311 GB, free: 22.55 MB / 0.6823 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: 47 * Number of states: 0 () * Number of discrete variables: 7 (beaCooHea.conCoo.mod.temDif_mod.i,beaCooHea.conCoo.mod.watFlo_mod.i,beaCooHea.conCoo.mod.airFlo_mod.i,beaCooHea.conHea.mod.temDif_mod.i,beaCooHea.conHea.mod.watFlo_mod.i,beaCooHea.conHea.mod.airFlo_mod.i,conPID.I.trigger_internal) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (168): * Single equations (assignments): 155 * Array equations: 0 * Algorithm blocks: 12 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0008257/11.17, allocations: 334.7 kB / 4.311 GB, free: 22.19 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001139/11.17, allocations: 284.4 kB / 4.312 GB, free: 21.91 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004126/11.17, allocations: 1.891 MB / 4.313 GB, free: 20 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.387e-05/11.17, allocations: 12 kB / 4.313 GB, free: 19.99 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.528e-06/11.17, allocations: 3.984 kB / 4.313 GB, free: 19.99 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002237/11.17, allocations: 1.736 MB / 4.315 GB, free: 18.2 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01225/11.19, allocations: 4.786 MB / 4.32 GB, free: 13.34 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.216e-05/11.19, allocations: 4 kB / 4.32 GB, free: 13.34 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001701/11.19, allocations: 246.5 kB / 4.32 GB, free: 13.1 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.802e-05/11.19, allocations: 8 kB / 4.32 GB, free: 13.09 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001227/11.19, allocations: 19.94 kB / 4.32 GB, free: 13.07 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001566/11.19, allocations: 1.447 MB / 4.321 GB, free: 11.52 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.199e-06/11.19, allocations: 4 kB / 4.321 GB, free: 11.52 MB / 0.6823 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.00497/11.2, allocations: 3.582 MB / 4.325 GB, free: 7.773 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002469/11.2, allocations: 0.6301 MB / 4.326 GB, free: 7.121 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001372/11.2, allocations: 20 kB / 4.326 GB, free: 7.102 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002868/11.2, allocations: 131.2 kB / 4.326 GB, free: 6.984 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003224/11.2, allocations: 127.3 kB / 4.326 GB, free: 6.863 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001893/11.2, allocations: 51.95 kB / 4.326 GB, free: 6.812 MB / 0.6823 GB Notification: Performance of sort global known variables: time 0.004554/11.21, allocations: 1.982 MB / 4.328 GB, free: 4.836 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.007926/11.22, allocations: 1.341 MB / 4.329 GB, free: 3.496 MB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * Number of states: 5 (conPID.I.y,vol.dynBal.U,vol.dynBal.mXi[1],beaCooHea.conCoo.hex.vol.dynBal.U,beaCooHea.conHea.hex.vol.dynBal.U) * Number of discrete variables: 6 (beaCooHea.conCoo.mod.temDif_mod.i,beaCooHea.conCoo.mod.watFlo_mod.i,beaCooHea.conCoo.mod.airFlo_mod.i,beaCooHea.conHea.mod.temDif_mod.i,beaCooHea.conHea.mod.watFlo_mod.i,beaCooHea.conHea.mod.airFlo_mod.i) * Number of discrete states: 6 (beaCooHea.conHea.mod.airFlo_mod.i,beaCooHea.conCoo.mod.airFlo_mod.i,beaCooHea.conCoo.mod.watFlo_mod.i,beaCooHea.conCoo.mod.temDif_mod.i,beaCooHea.conHea.mod.temDif_mod.i,beaCooHea.conHea.mod.watFlo_mod.i) * Top-level inputs: 0 Notification: Strong component statistics for simulation (97): * Single equations (assignments): 89 * Array equations: 0 * Algorithm blocks: 6 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00601/11.22, allocations: 2.97 MB / 4.332 GB, free: 0.6953 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.009288/11.23, allocations: 4.116 MB / 4.336 GB, free: 12.43 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 1.419e-05/11.23, allocations: 1.562 kB / 4.336 GB, free: 12.43 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.003577/11.23, allocations: 1.482 MB / 4.338 GB, free: 10.91 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008239/11.24, allocations: 1.298 MB / 4.339 GB, free: 9.672 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01553/11.26, allocations: 4.827 MB / 4.343 GB, free: 4.777 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004012/11.26, allocations: 2.297 MB / 4.346 GB, free: 2.461 MB / 0.698 GB Notification: Performance of SimCode: time 1.272e-06/11.26, allocations: 4 kB / 4.346 GB, free: 2.457 MB / 0.698 GB Notification: Performance of Templates: time 0.6199/11.88, allocations: 74.29 MB / 4.418 GB, free: 112.2 MB / 0.698 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatExchangers.ActiveBeams.Examples.HeatingOnly.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatExchangers.ActiveBeams.Examples.HeatingOnly.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatExchangers.ActiveBeams.Examples.HeatingOnly.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatExchangers.ActiveBeams.Examples.HeatingOnly.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatExchangers.ActiveBeams.Examples.HeatingOnly.sim & ./BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatExchangers.ActiveBeams.Examples.HeatingOnly -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatExchangers.ActiveBeams.Examples.HeatingOnly.pipe 2>&1)