Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.MixingVolumes.Validation.CoupledVolumesWater.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.MixingVolumes.Validation.CoupledVolumesWater,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.MixingVolumes.Validation.CoupledVolumesWater") translateModel(BuildSysPro.IBPSA.Fluid.MixingVolumes.Validation.CoupledVolumesWater,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.MixingVolumes.Validation.CoupledVolumesWater") [: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.7802/0.7802, allocations: 127.4 MB / 134.6 MB, free: 4.094 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.001347/0.001347, allocations: 185.2 kB / 164.4 MB, free: 6.887 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.03/2.03, allocations: 205.1 MB / 399.1 MB, free: 6.16 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.0009086/0.0009089, allocations: 89.84 kB / 476.3 MB, free: 8.906 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 4.659e-06/4.679e-06, allocations: 0 / 0.546 GB, free: 42.76 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2244/0.2244, allocations: 76.74 MB / 0.6209 GB, free: 13.94 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.318/1.543, allocations: 359.8 MB / 0.9723 GB, free: 122.3 MB / 0.6198 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003326/1.543, allocations: 93.62 kB / 0.9724 GB, free: 122.2 MB / 0.6198 GB Notification: Performance of FrontEnd: time 0.9242/2.467, allocations: 231.8 MB / 1.199 GB, free: 156.7 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 0.0001216/2.467, allocations: 20.72 kB / 1.199 GB, free: 156.7 MB / 0.6355 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 110 * Number of variables: 110 Notification: Performance of Generate backend data structure: time 0.002419/2.47, allocations: 0.8615 MB / 1.2 GB, free: 156 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.419e-05/2.47, allocations: 9.625 kB / 1.2 GB, free: 156 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006766/2.471, allocations: 87.72 kB / 1.2 GB, free: 156 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03501/2.506, allocations: 11.83 MB / 1.211 GB, free: 148.9 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.364e-05/2.506, allocations: 17.78 kB / 1.211 GB, free: 148.9 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001716/2.506, allocations: 26.81 kB / 1.211 GB, free: 148.9 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008427/2.507, allocations: 255.1 kB / 1.212 GB, free: 148.8 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009738/2.508, allocations: 413.6 kB / 1.212 GB, free: 148.6 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.746e-05/2.508, allocations: 4.859 kB / 1.212 GB, free: 148.6 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.765e-05/2.508, allocations: 5.438 kB / 1.212 GB, free: 148.5 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.743e-05/2.508, allocations: 16.91 kB / 1.212 GB, free: 148.5 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00414/2.512, allocations: 2.808 MB / 1.215 GB, free: 145.8 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000161/2.512, allocations: 109.7 kB / 1.215 GB, free: 145.7 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001004/2.512, allocations: 81.05 kB / 1.215 GB, free: 145.6 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001565/2.512, allocations: 174.2 kB / 1.215 GB, free: 145.4 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.141e-05/2.512, allocations: 30.56 kB / 1.215 GB, free: 145.4 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=18): time 2.755e-06/2.512, allocations: 4 kB / 1.215 GB, free: 145.4 MB / 0.6355 GB Notification: Performance of matching and sorting (n=18): time 0.0007389/2.513, allocations: 211.1 kB / 1.215 GB, free: 145.2 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.393e-05/2.513, allocations: 51.41 kB / 1.215 GB, free: 145.1 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005852/2.514, allocations: 442.2 kB / 1.216 GB, free: 144.7 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 3.51e-05/2.514, allocations: 25.7 kB / 1.216 GB, free: 144.6 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001529/2.514, allocations: 283 kB / 1.216 GB, free: 144.3 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 5.82e-05/2.514, allocations: 59.11 kB / 1.216 GB, free: 144.3 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.189e-05/2.514, allocations: 0 / 1.216 GB, free: 144.3 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.000101/2.514, allocations: 366.8 kB / 1.216 GB, free: 143.9 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001076/2.514, allocations: 67.98 kB / 1.217 GB, free: 143.8 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000171/2.515, allocations: 238.2 kB / 1.217 GB, free: 143.5 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002663/2.515, allocations: 127.8 kB / 1.217 GB, free: 143.4 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.729e-06/2.515, allocations: 4 kB / 1.217 GB, free: 143.4 MB / 0.6355 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0006145/2.515, allocations: 335.6 kB / 1.217 GB, free: 143.1 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.724e-05/2.515, allocations: 4 kB / 1.217 GB, free: 143.1 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.039e-05/2.516, allocations: 8 kB / 1.217 GB, free: 143.1 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.123e-05/2.516, allocations: 11.98 kB / 1.217 GB, free: 143.1 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002472/2.516, allocations: 71.91 kB / 1.217 GB, free: 143 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.085e-05/2.516, allocations: 11.94 kB / 1.217 GB, free: 143 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005969/2.516, allocations: 59.72 kB / 1.217 GB, free: 142.9 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.86e-05/2.516, allocations: 20 kB / 1.217 GB, free: 142.9 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (43): * Single equations (assignments): 43 * Array equations: 0 * Algorithm blocks: 0 * 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.0001009/2.517, allocations: 112.8 kB / 1.217 GB, free: 142.8 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000111/2.517, allocations: 63.22 kB / 1.218 GB, free: 142.7 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003954/2.517, allocations: 210 kB / 1.218 GB, free: 142.5 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.161e-06/2.517, allocations: 0 / 1.218 GB, free: 142.5 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.134e-06/2.517, allocations: 0 / 1.218 GB, free: 142.5 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002702/2.517, allocations: 327.8 kB / 1.218 GB, free: 142.1 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001156/2.519, allocations: 0.735 MB / 1.219 GB, free: 141.4 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.833e-06/2.519, allocations: 7.906 kB / 1.219 GB, free: 141.3 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001948/2.519, allocations: 39.98 kB / 1.219 GB, free: 141.3 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.23e-06/2.519, allocations: 3.938 kB / 1.219 GB, free: 141.3 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.888e-05/2.519, allocations: 4 kB / 1.219 GB, free: 141.3 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.537e-06/2.519, allocations: 0 / 1.219 GB, free: 141.3 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.279e-06/2.519, allocations: 4 kB / 1.219 GB, free: 141.3 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0005889/2.519, allocations: 440.2 kB / 1.219 GB, free: 140.8 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003064/2.52, allocations: 160.5 kB / 1.219 GB, free: 140.6 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001077/2.52, allocations: 4.062 kB / 1.219 GB, free: 140.6 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003551/2.52, allocations: 19.92 kB / 1.219 GB, free: 140.6 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.397e-05/2.52, allocations: 19.83 kB / 1.219 GB, free: 140.6 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.162e-05/2.52, allocations: 11.98 kB / 1.219 GB, free: 140.6 MB / 0.6355 GB Notification: Performance of sort global known variables: time 0.0003729/2.521, allocations: 330.9 kB / 1.22 GB, free: 140.3 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.00113/2.522, allocations: 227.5 kB / 1.22 GB, free: 140 MB / 0.6355 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 2 (vol.dynBal.U,vol1.dynBal.U) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (18): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 0 * 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.001092/2.523, allocations: 388.6 kB / 1.22 GB, free: 139.7 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0004154/2.523, allocations: 203.8 kB / 1.221 GB, free: 139.5 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 5.12e-06/2.523, allocations: 0 / 1.221 GB, free: 139.5 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 8.976e-05/2.523, allocations: 75.92 kB / 1.221 GB, free: 139.4 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001429/2.525, allocations: 272.5 kB / 1.221 GB, free: 139.2 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001766/2.527, allocations: 0.7204 MB / 1.222 GB, free: 138.4 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006172/2.527, allocations: 0.9599 MB / 1.223 GB, free: 137.4 MB / 0.6355 GB Notification: Performance of SimCode: time 3.7e-07/2.527, allocations: 4 kB / 1.223 GB, free: 137.4 MB / 0.6355 GB Notification: Performance of Templates: time 0.01744/2.545, allocations: 10.01 MB / 1.232 GB, free: 127.6 MB / 0.6355 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Fluid.MixingVolumes.Validation.CoupledVolumesWater.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.MixingVolumes.Validation.CoupledVolumesWater.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.MixingVolumes.Validation.CoupledVolumesWater.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.MixingVolumes.Validation.CoupledVolumesWater.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.MixingVolumes.Validation.CoupledVolumesWater.sim & ./BuildSysPro_BuildSysPro.IBPSA.Fluid.MixingVolumes.Validation.CoupledVolumesWater -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Fluid.MixingVolumes.Validation.CoupledVolumesWater.pipe 2>&1)