Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingOnly.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.CoolingOnly,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingOnly") translateModel(BuildSysPro.IBPSA.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingOnly,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.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/BuildSysPro 3.5.0/package.mo): time 0.7598/0.7598, allocations: 127.4 MB / 134.6 MB, free: 4.066 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.001468/0.001469, allocations: 189.3 kB / 164.4 MB, free: 6.852 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.804/1.804, allocations: 205.1 MB / 399.1 MB, free: 6.066 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.00101/0.00101, allocations: 89.2 kB / 476.3 MB, free: 8.812 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 8.155e-06/8.185e-06, allocations: 4 kB / 0.546 GB, free: 42.7 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1786/0.1786, allocations: 76.73 MB / 0.6209 GB, free: 13.89 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.155/6.333, allocations: 2.414 GB / 3.035 GB, free: 36.36 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003078/6.334, allocations: 99.94 kB / 3.035 GB, free: 36.26 MB / 0.6355 GB Notification: Performance of FrontEnd: time 3.31/9.644, allocations: 0.8663 GB / 3.901 GB, free: 80.07 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 0.0004557/9.645, allocations: 56.36 kB / 3.901 GB, free: 80.06 MB / 0.6667 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 355 * Number of variables: 355 Notification: Performance of Generate backend data structure: time 0.009026/9.654, allocations: 2.424 MB / 3.904 GB, free: 78.93 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 5.206e-05/9.654, allocations: 11.66 kB / 3.904 GB, free: 78.93 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00329/9.657, allocations: 391 kB / 3.904 GB, free: 78.8 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01395/9.671, allocations: 4.641 MB / 3.909 GB, free: 78.34 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001364/9.671, allocations: 46.88 kB / 3.909 GB, free: 78.34 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007253/9.672, allocations: 90.59 kB / 3.909 GB, free: 78.34 MB / 0.6667 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003798/9.676, allocations: 1.188 MB / 3.91 GB, free: 78.33 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004535/9.68, allocations: 1.475 MB / 3.911 GB, free: 78.14 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.697e-05/9.68, allocations: 11.38 kB / 3.911 GB, free: 78.14 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001344/9.68, allocations: 3.75 kB / 3.911 GB, free: 78.14 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.05e-05/9.68, allocations: 54.31 kB / 3.911 GB, free: 78.13 MB / 0.6667 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01202/9.693, allocations: 7.186 MB / 3.918 GB, free: 75.2 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001492/9.694, allocations: 0.8901 MB / 3.919 GB, free: 75.16 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006996/9.695, allocations: 0.5521 MB / 3.92 GB, free: 75.15 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004408/9.695, allocations: 444.2 kB / 3.92 GB, free: 74.68 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.27e-05/9.695, allocations: 41.16 kB / 3.92 GB, free: 74.64 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=76): time 5.14e-06/9.695, allocations: 0 / 3.92 GB, free: 74.64 MB / 0.6667 GB Notification: Performance of matching and sorting (n=78): time 0.006964/9.702, allocations: 2.678 MB / 3.923 GB, free: 73.96 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001061/9.702, allocations: 197.6 kB / 3.923 GB, free: 73.75 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002949/9.705, allocations: 1.547 MB / 3.925 GB, free: 73.54 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 0.000196/9.706, allocations: 30.33 kB / 3.925 GB, free: 73.51 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004283/9.706, allocations: 0.6507 MB / 3.925 GB, free: 73.16 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002665/9.706, allocations: 261 kB / 3.926 GB, free: 72.99 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.104e-05/9.706, allocations: 3.156 kB / 3.926 GB, free: 72.99 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.0001022/9.707, allocations: 347 kB / 3.926 GB, free: 72.68 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000763/9.707, allocations: 0.5781 MB / 3.926 GB, free: 72.68 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001041/9.708, allocations: 0.8866 MB / 3.927 GB, free: 72.36 MB / 0.6667 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.004251/9.713, allocations: 2.182 MB / 3.929 GB, free: 72.05 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.975e-06/9.713, allocations: 0 / 3.929 GB, free: 72.05 MB / 0.6667 GB Notification: Performance of matching and sorting (n=129) (initialization): time 0.003015/9.716, allocations: 1.59 MB / 3.931 GB, free: 71.91 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 0.0009166/9.717, allocations: 2.278 MB / 3.933 GB, free: 69.54 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.186e-05/9.717, allocations: 6.969 kB / 3.933 GB, free: 69.54 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.281e-05/9.717, allocations: 10.19 kB / 3.933 GB, free: 69.54 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009986/9.718, allocations: 217.3 kB / 3.933 GB, free: 69.54 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.622e-05/9.718, allocations: 15.62 kB / 3.933 GB, free: 69.54 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002134/9.72, allocations: 104.3 kB / 3.934 GB, free: 69.53 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000137/9.72, allocations: 52.23 kB / 3.934 GB, free: 69.53 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 1.479e-05/9.72, allocations: 5.688 kB / 3.934 GB, free: 69.53 MB / 0.6667 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002152/9.722, allocations: 1.368 MB / 3.935 GB, free: 69.51 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.534e-06/9.722, allocations: 3.594 kB / 3.935 GB, free: 69.51 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.556e-05/9.722, allocations: 10.78 kB / 3.935 GB, free: 69.51 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007642/9.723, allocations: 195.5 kB / 3.935 GB, free: 69.51 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.295e-05/9.723, allocations: 21.42 kB / 3.935 GB, free: 69.51 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001815/9.725, allocations: 88.02 kB / 3.935 GB, free: 69.5 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001003/9.725, allocations: 47.22 kB / 3.935 GB, free: 69.5 MB / 0.6667 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: 25 * 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 (115): * Single equations (assignments): 109 * 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.0003763/9.725, allocations: 230 kB / 3.936 GB, free: 69.3 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000308/9.726, allocations: 183.1 kB / 3.936 GB, free: 69.2 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002192/9.728, allocations: 1.204 MB / 3.937 GB, free: 69.12 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.297e-05/9.728, allocations: 5.594 kB / 3.937 GB, free: 69.12 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.961e-06/9.728, allocations: 0 / 3.937 GB, free: 69.12 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001441/9.729, allocations: 1.308 MB / 3.938 GB, free: 68.68 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00526/9.735, allocations: 3.066 MB / 3.941 GB, free: 68.25 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.344e-06/9.735, allocations: 5 kB / 3.941 GB, free: 68.25 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007867/9.735, allocations: 158.4 kB / 3.941 GB, free: 68.25 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.171e-05/9.735, allocations: 4.969 kB / 3.941 GB, free: 68.25 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.459e-05/9.736, allocations: 11.28 kB / 3.941 GB, free: 68.25 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.547e-06/9.736, allocations: 15.62 kB / 3.941 GB, free: 68.25 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.429e-06/9.736, allocations: 3.812 kB / 3.941 GB, free: 68.25 MB / 0.6667 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.00284/9.738, allocations: 2.286 MB / 3.944 GB, free: 67.58 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001046/9.739, allocations: 435.4 kB / 3.944 GB, free: 67.39 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002642/9.74, allocations: 12.34 kB / 3.944 GB, free: 67.39 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001233/9.741, allocations: 92.7 kB / 3.944 GB, free: 67.39 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002068/9.741, allocations: 77.05 kB / 3.944 GB, free: 67.39 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.911e-05/9.741, allocations: 40.17 kB / 3.944 GB, free: 67.39 MB / 0.6667 GB Notification: Performance of sort global known variables: time 0.001934/9.743, allocations: 1.174 MB / 3.945 GB, free: 67.24 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.00352/9.747, allocations: 0.9156 MB / 3.946 GB, free: 67.21 MB / 0.6667 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 4 (conPID.I.y,vol.dynBal.U,vol.dynBal.mXi[1],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.temDif_mod.i,beaCoo.conCoo.mod.watFlo_mod.i) * Top-level inputs: 0 Notification: Strong component statistics for simulation (76): * Single equations (assignments): 72 * Array equations: 0 * Algorithm blocks: 3 * Record equations: 1 * 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.003766/9.751, allocations: 2.409 MB / 3.949 GB, free: 66.55 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.003177/9.754, allocations: 2.381 MB / 3.951 GB, free: 66.14 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 5.561e-06/9.754, allocations: 0 / 3.951 GB, free: 66.14 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.0009457/9.755, allocations: 0.8022 MB / 3.952 GB, free: 66.05 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004138/9.759, allocations: 0.8125 MB / 3.953 GB, free: 66.01 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006573/9.765, allocations: 3.093 MB / 3.956 GB, free: 65.25 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00157/9.767, allocations: 1.714 MB / 3.957 GB, free: 64.52 MB / 0.6667 GB Notification: Performance of SimCode: time 1.733e-06/9.767, allocations: 5.969 kB / 3.957 GB, free: 64.52 MB / 0.6667 GB Notification: Performance of Templates: time 0.1085/9.876, allocations: 49.76 MB / 4.006 GB, free: 59.43 MB / 0.6667 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingOnly.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingOnly.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingOnly.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingOnly.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingOnly.sim & ./BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingOnly -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingOnly.pipe 2>&1)