Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortWater.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.BaseClasses.Validation.MixingVolumeHeatPortWater,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortWater") translateModel(BuildSysPro.IBPSA.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortWater,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortWater") [: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.734/0.734, 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.001322/0.001322, allocations: 181.3 kB / 164.4 MB, free: 6.891 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.673/1.673, allocations: 205.1 MB / 399.1 MB, free: 6.152 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.001005/0.001005, allocations: 88.38 kB / 476.3 MB, free: 8.906 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 9.268e-06/9.278e-06, allocations: 0 / 0.546 GB, free: 42.77 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2092/0.2093, allocations: 76.75 MB / 0.6209 GB, free: 13.95 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.305/1.514, allocations: 360.4 MB / 0.9729 GB, free: 121.9 MB / 0.6198 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002881/1.515, allocations: 96.62 kB / 0.973 GB, free: 121.9 MB / 0.6198 GB Notification: Performance of FrontEnd: time 0.9413/2.456, allocations: 234.7 MB / 1.202 GB, free: 160.2 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 0.0002569/2.456, allocations: 35.36 kB / 1.202 GB, free: 160.2 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: 183 * Number of variables: 183 Notification: Performance of Generate backend data structure: time 0.00453/2.461, allocations: 1.163 MB / 1.203 GB, free: 159.3 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 7.36e-05/2.461, allocations: 8.812 kB / 1.203 GB, free: 159.3 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001227/2.462, allocations: 137.1 kB / 1.203 GB, free: 159.2 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02035/2.482, allocations: 7.57 MB / 1.211 GB, free: 152.2 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.561e-05/2.483, allocations: 28 kB / 1.211 GB, free: 152.1 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003158/2.483, allocations: 44 kB / 1.211 GB, free: 152.1 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001599/2.485, allocations: 0.6364 MB / 1.212 GB, free: 151.4 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001649/2.486, allocations: 0.8497 MB / 1.212 GB, free: 150.5 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.949e-05/2.486, allocations: 4 kB / 1.212 GB, free: 150.5 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.967e-05/2.486, allocations: 0 / 1.212 GB, free: 150.5 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.147e-05/2.486, allocations: 27.98 kB / 1.212 GB, free: 150.5 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006745/2.493, allocations: 4.884 MB / 1.217 GB, free: 145.2 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003241/2.494, allocations: 257.7 kB / 1.217 GB, free: 145 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002384/2.494, allocations: 188.8 kB / 1.218 GB, free: 144.8 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000112/2.494, allocations: 100.8 kB / 1.218 GB, free: 144.7 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.861e-05/2.494, allocations: 30.56 kB / 1.218 GB, free: 144.6 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=31): time 2.745e-06/2.494, allocations: 4 kB / 1.218 GB, free: 144.6 MB / 0.6355 GB Notification: Performance of matching and sorting (n=31): time 0.003119/2.497, allocations: 0.6303 MB / 1.218 GB, free: 144 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.216e-05/2.497, allocations: 55.41 kB / 1.218 GB, free: 143.9 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001244/2.498, allocations: 0.7777 MB / 1.219 GB, free: 143.2 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 9.313e-05/2.498, allocations: 25.7 kB / 1.219 GB, free: 143.1 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003421/2.499, allocations: 394.7 kB / 1.22 GB, free: 142.7 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001806/2.499, allocations: 110.4 kB / 1.22 GB, free: 142.6 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.616e-05/2.499, allocations: 0 / 1.22 GB, free: 142.6 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001002/2.499, allocations: 330 kB / 1.22 GB, free: 142.3 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002474/2.499, allocations: 188.9 kB / 1.22 GB, free: 142.1 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003548/2.5, allocations: 402.4 kB / 1.221 GB, free: 141.6 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005407/2.5, allocations: 287.8 kB / 1.221 GB, free: 141.3 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.571e-06/2.5, allocations: 4 kB / 1.221 GB, free: 141.3 MB / 0.6355 GB Notification: Performance of matching and sorting (n=62) (initialization): time 0.002814/2.503, allocations: 0.8088 MB / 1.222 GB, free: 140.5 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 0.0008102/2.504, allocations: 2.177 MB / 1.224 GB, free: 138.2 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.489e-05/2.504, allocations: 4 kB / 1.224 GB, free: 138.2 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000286/2.504, allocations: 60.83 kB / 1.224 GB, free: 138.1 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003755/2.505, allocations: 103.8 kB / 1.224 GB, free: 138 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005057/2.505, allocations: 0.6147 MB / 1.225 GB, free: 137.4 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001151/2.506, allocations: 91.42 kB / 1.225 GB, free: 137.3 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.414e-05/2.506, allocations: 28 kB / 1.225 GB, free: 137.2 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.04e-05/2.507, allocations: 4 kB / 1.225 GB, free: 137.2 MB / 0.6355 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0009889/2.507, allocations: 0.5238 MB / 1.225 GB, free: 136.7 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.107e-05/2.508, allocations: 12.12 kB / 1.225 GB, free: 136.7 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001434/2.508, allocations: 40.83 kB / 1.225 GB, free: 136.7 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003164/2.508, allocations: 103.8 kB / 1.225 GB, free: 136.6 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001336/2.509, allocations: 1.415 MB / 1.227 GB, free: 135 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009897/2.51, allocations: 67.66 kB / 1.227 GB, free: 135 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.742e-05/2.51, allocations: 28 kB / 1.227 GB, free: 134.9 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 25 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (59): * Single equations (assignments): 58 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 3} Notification: Performance of prepare postOptimizeDAE: time 0.0002232/2.511, allocations: 124.8 kB / 1.227 GB, free: 134.8 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002489/2.511, allocations: 82.97 kB / 1.227 GB, free: 134.7 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002148/2.513, allocations: 0.6003 MB / 1.228 GB, free: 134.1 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.071e-06/2.513, allocations: 0 / 1.228 GB, free: 134.1 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.248e-06/2.513, allocations: 4 kB / 1.228 GB, free: 134.1 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001816/2.515, allocations: 0.8087 MB / 1.228 GB, free: 133.2 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001474/2.516, allocations: 0.6687 MB / 1.229 GB, free: 132.5 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.707e-06/2.516, allocations: 4 kB / 1.229 GB, free: 132.5 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003114/2.517, allocations: 59.97 kB / 1.229 GB, free: 132.4 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001489/2.517, allocations: 52.83 kB / 1.229 GB, free: 132.4 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.831e-05/2.517, allocations: 4 kB / 1.229 GB, free: 132.4 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00297/2.52, allocations: 1.649 MB / 1.231 GB, free: 130.6 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.519e-06/2.52, allocations: 0 / 1.231 GB, free: 130.6 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002242/2.522, allocations: 0.8888 MB / 1.232 GB, free: 129.7 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006755/2.523, allocations: 239.9 kB / 1.232 GB, free: 129.5 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002526/2.523, allocations: 0 / 1.232 GB, free: 129.5 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007886/2.524, allocations: 59.84 kB / 1.232 GB, free: 129.4 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.454e-05/2.524, allocations: 19.92 kB / 1.232 GB, free: 129.4 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.285e-05/2.524, allocations: 11.98 kB / 1.232 GB, free: 129.4 MB / 0.6355 GB Notification: Performance of sort global known variables: time 0.0008129/2.525, allocations: 0.6045 MB / 1.233 GB, free: 128.8 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.002906/2.528, allocations: 0.5493 MB / 1.233 GB, free: 128.2 MB / 0.6355 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (vol[1].dynBal.U,vol[2].dynBal.U,vol[3].dynBal.U) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (28): * Single equations (assignments): 27 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.001148/2.529, allocations: 385.2 kB / 1.233 GB, free: 127.9 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.001488/2.531, allocations: 0.8495 MB / 1.234 GB, free: 127 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 5.551e-06/2.531, allocations: 4 kB / 1.234 GB, free: 127 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0003328/2.531, allocations: 289.7 kB / 1.235 GB, free: 126.7 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002503/2.533, allocations: 484.6 kB / 1.235 GB, free: 126.2 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003566/2.537, allocations: 1.578 MB / 1.237 GB, free: 124.6 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00109/2.538, allocations: 1.309 MB / 1.238 GB, free: 123.3 MB / 0.6355 GB Notification: Performance of SimCode: time 7.01e-07/2.538, allocations: 0 / 1.238 GB, free: 123.3 MB / 0.6355 GB Notification: Performance of Templates: time 0.03778/2.576, allocations: 21.22 MB / 1.259 GB, free: 102.3 MB / 0.6355 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortWater.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortWater.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortWater.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortWater.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortWater.sim & ./BuildSysPro_BuildSysPro.IBPSA.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortWater -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortWater.pipe 2>&1)