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: "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortWater,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_MixingVolumes_BaseClasses_Validation_MixingVolumeHeatPortWater",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortWater,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_MixingVolumes_BaseClasses_Validation_MixingVolumeHeatPortWater",fmuType="me",version="2.0",platforms={"static"}) [: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.7499/0.7499, 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.001281/0.001281, allocations: 189.3 kB / 164.4 MB, free: 6.875 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.181/2.181, allocations: 205.1 MB / 399.1 MB, free: 6.086 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.0009712/0.0009711, allocations: 78.03 kB / 476.3 MB, free: 8.836 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 0.3611/0.3621, allocations: 82.89 MB / 0.5461 GB, free: 42.65 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2017/0.5639, allocations: 76.76 MB / 0.621 GB, free: 13.81 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.264/1.828, allocations: 360.4 MB / 0.973 GB, free: 121.5 MB / 0.6198 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003776/1.828, allocations: 97.44 kB / 0.9731 GB, free: 121.4 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: 183 * Number of variables: 183 Notification: Performance of Generate backend data structure: time 0.9937/2.822, allocations: 235.9 MB / 1.203 GB, free: 159 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 8.202e-05/2.822, allocations: 13.95 kB / 1.203 GB, free: 159 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001336/2.823, allocations: 131.4 kB / 1.204 GB, free: 159 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01997/2.843, allocations: 7.563 MB / 1.211 GB, free: 151.7 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.184e-05/2.843, allocations: 20 kB / 1.211 GB, free: 151.7 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003849/2.844, allocations: 47.75 kB / 1.211 GB, free: 151.7 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001647/2.846, allocations: 0.6364 MB / 1.212 GB, free: 151 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001664/2.847, allocations: 0.8459 MB / 1.212 GB, free: 150.1 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.687e-05/2.847, allocations: 7.922 kB / 1.212 GB, free: 150.1 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000105/2.847, allocations: 8 kB / 1.213 GB, free: 150.1 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.8e-05/2.847, allocations: 23.94 kB / 1.213 GB, free: 150.1 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00725/2.855, allocations: 4.883 MB / 1.217 GB, free: 144.8 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003138/2.855, allocations: 241.8 kB / 1.218 GB, free: 144.6 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002292/2.855, allocations: 192.8 kB / 1.218 GB, free: 144.4 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001137/2.855, allocations: 96.39 kB / 1.218 GB, free: 144.3 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.941e-05/2.855, allocations: 42.56 kB / 1.218 GB, free: 144.2 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=31): time 3.106e-06/2.855, allocations: 0 / 1.218 GB, free: 144.2 MB / 0.6355 GB Notification: Performance of matching and sorting (n=31): time 0.003289/2.859, allocations: 0.6264 MB / 1.218 GB, free: 143.6 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.349e-05/2.859, allocations: 55.41 kB / 1.219 GB, free: 143.5 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001309/2.86, allocations: 0.7777 MB / 1.219 GB, free: 142.7 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 8.01e-05/2.86, allocations: 25.7 kB / 1.219 GB, free: 142.7 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003111/2.861, allocations: 394.7 kB / 1.22 GB, free: 142.3 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001598/2.861, allocations: 110.4 kB / 1.22 GB, free: 142.2 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.517e-05/2.861, allocations: 0 / 1.22 GB, free: 142.2 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001018/2.861, allocations: 330 kB / 1.22 GB, free: 141.9 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002568/2.861, allocations: 188.9 kB / 1.22 GB, free: 141.7 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000346/2.861, allocations: 406.4 kB / 1.221 GB, free: 141.2 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005552/2.862, allocations: 287.8 kB / 1.221 GB, free: 140.9 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.149e-06/2.862, allocations: 0 / 1.221 GB, free: 140.9 MB / 0.6355 GB Notification: Performance of matching and sorting (n=62) (initialization): time 0.002879/2.865, allocations: 0.8049 MB / 1.222 GB, free: 140.1 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 0.0007053/2.866, allocations: 2.181 MB / 1.224 GB, free: 137.8 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.759e-05/2.866, allocations: 4 kB / 1.224 GB, free: 137.8 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002721/2.866, allocations: 72.81 kB / 1.224 GB, free: 137.7 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003947/2.866, allocations: 107.8 kB / 1.224 GB, free: 137.6 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005598/2.867, allocations: 0.603 MB / 1.225 GB, free: 136.9 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001171/2.868, allocations: 99.42 kB / 1.225 GB, free: 136.8 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.796e-05/2.868, allocations: 28 kB / 1.225 GB, free: 136.8 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.159e-05/2.868, allocations: 4 kB / 1.225 GB, free: 136.8 MB / 0.6355 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0009829/2.869, allocations: 0.5274 MB / 1.225 GB, free: 136.3 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.158e-05/2.869, allocations: 4 kB / 1.225 GB, free: 136.3 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001429/2.869, allocations: 40.83 kB / 1.225 GB, free: 136.2 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003209/2.87, allocations: 104.3 kB / 1.225 GB, free: 136.1 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001266/2.871, allocations: 1.41 MB / 1.227 GB, free: 134.6 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009151/2.872, allocations: 67.66 kB / 1.227 GB, free: 134.6 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.218e-05/2.872, allocations: 27.94 kB / 1.227 GB, free: 134.5 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.0001918/2.872, allocations: 124.8 kB / 1.227 GB, free: 134.4 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002667/2.873, allocations: 82.97 kB / 1.227 GB, free: 134.3 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002108/2.875, allocations: 0.5925 MB / 1.228 GB, free: 133.7 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.069e-06/2.875, allocations: 4 kB / 1.228 GB, free: 133.7 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.703e-06/2.875, allocations: 4 kB / 1.228 GB, free: 133.7 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001807/2.876, allocations: 0.805 MB / 1.228 GB, free: 132.8 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001353/2.878, allocations: 0.6786 MB / 1.229 GB, free: 132.1 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.141e-06/2.878, allocations: 0 / 1.229 GB, free: 132.1 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000308/2.878, allocations: 63.89 kB / 1.229 GB, free: 132 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001523/2.878, allocations: 52.83 kB / 1.229 GB, free: 132 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.714e-05/2.878, allocations: 4 kB / 1.229 GB, free: 132 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00295/2.881, allocations: 1.649 MB / 1.231 GB, free: 130.2 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.137e-06/2.881, allocations: 0 / 1.231 GB, free: 130.2 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002343/2.884, allocations: 0.885 MB / 1.232 GB, free: 129.3 MB / 0.6355 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.002791/2.887, allocations: 1.543 MB / 1.233 GB, free: 127.7 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007925/2.887, allocations: 231.9 kB / 1.233 GB, free: 127.5 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003041/2.888, allocations: 0 / 1.233 GB, free: 127.5 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008564/2.889, allocations: 59.78 kB / 1.233 GB, free: 127.4 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.177e-05/2.889, allocations: 19.98 kB / 1.233 GB, free: 127.4 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.657e-05/2.889, allocations: 19.92 kB / 1.234 GB, free: 127.4 MB / 0.6355 GB Notification: Performance of sort global known variables: time 0.0009964/2.89, allocations: 0.6006 MB / 1.234 GB, free: 126.8 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.004534/2.894, allocations: 0.6236 MB / 1.235 GB, free: 126.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.001326/2.896, allocations: 398.2 kB / 1.235 GB, free: 125.8 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.001871/2.897, allocations: 0.8408 MB / 1.236 GB, free: 125 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 6.001e-06/2.897, allocations: 4 kB / 1.236 GB, free: 124.9 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0003766/2.898, allocations: 285.7 kB / 1.236 GB, free: 124.7 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00253/2.9, allocations: 479.1 kB / 1.237 GB, free: 124.2 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003476/2.904, allocations: 1.588 MB / 1.238 GB, free: 122.6 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001027/2.905, allocations: 1.32 MB / 1.239 GB, free: 121.2 MB / 0.6355 GB Notification: Performance of SimCode: time 8.62e-07/2.905, allocations: 0 / 1.239 GB, free: 121.2 MB / 0.6355 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Fluid_MixingVolumes_BaseClasses_Validation_MixingVolumeHeatPortWater_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Fluid_MixingVolumes_BaseClasses_Validation_MixingVolumeHeatPortWater.fmu > BuildSysPro_BuildSysPro.IBPSA.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortWater.pipe 2>&1)