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: "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.MixingVolumes.Validation.CoupledVolumesWater,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_MixingVolumes_Validation_CoupledVolumesWater",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.MixingVolumes.Validation.CoupledVolumesWater,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_MixingVolumes_Validation_CoupledVolumesWater",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.7574/0.7574, 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.001292/0.001292, allocations: 185.2 kB / 164.4 MB, free: 6.867 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.884/1.884, allocations: 205.1 MB / 399.1 MB, free: 6.078 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.001322/0.001323, allocations: 93.62 kB / 476.3 MB, free: 8.82 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 0.3595/0.3609, allocations: 82.88 MB / 0.5461 GB, free: 42.63 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2032/0.5641, allocations: 76.74 MB / 0.621 GB, free: 13.81 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.115/1.679, allocations: 359.8 MB / 0.9724 GB, free: 122 MB / 0.6198 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002688/1.68, allocations: 85.64 kB / 0.9725 GB, free: 121.9 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: 110 * Number of variables: 110 Notification: Performance of Generate backend data structure: time 0.8834/2.563, allocations: 232.7 MB / 1.2 GB, free: 125.5 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.564e-05/2.563, allocations: 7.812 kB / 1.2 GB, free: 125.5 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000514/2.564, allocations: 87.84 kB / 1.2 GB, free: 125.5 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02899/2.593, allocations: 11.84 MB / 1.211 GB, free: 119 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.924e-05/2.593, allocations: 15.62 kB / 1.211 GB, free: 119 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001417/2.593, allocations: 27.34 kB / 1.211 GB, free: 119 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006558/2.594, allocations: 262.8 kB / 1.212 GB, free: 118.9 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000719/2.594, allocations: 410.2 kB / 1.212 GB, free: 118.6 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.89e-05/2.594, allocations: 7.844 kB / 1.212 GB, free: 118.6 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.231e-05/2.594, allocations: 0 / 1.212 GB, free: 118.6 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.881e-05/2.594, allocations: 19.66 kB / 1.212 GB, free: 118.6 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003221/2.598, allocations: 2.816 MB / 1.215 GB, free: 115.9 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001491/2.598, allocations: 109.4 kB / 1.215 GB, free: 115.9 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001013/2.598, allocations: 76.22 kB / 1.215 GB, free: 115.8 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001447/2.598, allocations: 169.9 kB / 1.215 GB, free: 115.6 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.189e-05/2.598, allocations: 42.47 kB / 1.215 GB, free: 115.6 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=18): time 2.455e-06/2.598, allocations: 0 / 1.215 GB, free: 115.6 MB / 0.6355 GB Notification: Performance of matching and sorting (n=18): time 0.0007089/2.599, allocations: 210.7 kB / 1.215 GB, free: 115.5 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.974e-05/2.599, allocations: 51.41 kB / 1.215 GB, free: 115.4 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006585/2.6, allocations: 437.9 kB / 1.216 GB, free: 115.2 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 3.476e-05/2.6, allocations: 25.7 kB / 1.216 GB, free: 115.1 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001665/2.6, allocations: 282.3 kB / 1.216 GB, free: 114.9 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 7.077e-05/2.6, allocations: 66.81 kB / 1.216 GB, free: 114.8 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.293e-05/2.6, allocations: 4 kB / 1.216 GB, free: 114.8 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001019/2.6, allocations: 362.5 kB / 1.217 GB, free: 114.5 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001169/2.6, allocations: 67.05 kB / 1.217 GB, free: 114.4 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001941/2.6, allocations: 232.3 kB / 1.217 GB, free: 114.2 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003144/2.601, allocations: 122.7 kB / 1.217 GB, free: 114.1 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.877e-06/2.601, allocations: 0 / 1.217 GB, free: 114.1 MB / 0.6355 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0006512/2.601, allocations: 346.5 kB / 1.217 GB, free: 113.9 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.062e-05/2.601, allocations: 3.906 kB / 1.217 GB, free: 113.9 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.633e-05/2.601, allocations: 10.75 kB / 1.217 GB, free: 113.9 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.197e-05/2.601, allocations: 7.656 kB / 1.217 GB, free: 113.9 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00028/2.602, allocations: 74.34 kB / 1.217 GB, free: 113.9 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.215e-05/2.602, allocations: 11.66 kB / 1.217 GB, free: 113.9 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005888/2.602, allocations: 59.16 kB / 1.217 GB, free: 113.9 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.547e-05/2.602, allocations: 19.58 kB / 1.217 GB, free: 113.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 8.54e-05/2.602, allocations: 120.7 kB / 1.218 GB, free: 113.8 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.677e-05/2.603, allocations: 58.84 kB / 1.218 GB, free: 113.7 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003799/2.603, allocations: 206.5 kB / 1.218 GB, free: 113.6 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.659e-06/2.603, allocations: 3.969 kB / 1.218 GB, free: 113.6 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.4e-06/2.603, allocations: 0 / 1.218 GB, free: 113.6 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002536/2.603, allocations: 327.7 kB / 1.218 GB, free: 113.3 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001334/2.605, allocations: 0.725 MB / 1.219 GB, free: 112.7 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.348e-06/2.605, allocations: 7.75 kB / 1.219 GB, free: 112.7 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000255/2.605, allocations: 43.14 kB / 1.219 GB, free: 112.7 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.127e-05/2.605, allocations: 3.984 kB / 1.219 GB, free: 112.7 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.782e-05/2.605, allocations: 3.906 kB / 1.219 GB, free: 112.7 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.082e-06/2.605, allocations: 3.906 kB / 1.219 GB, free: 112.7 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.809e-06/2.605, allocations: 0 / 1.219 GB, free: 112.7 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0007102/2.606, allocations: 445.1 kB / 1.219 GB, free: 112.3 MB / 0.6355 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0008985/2.607, allocations: 0.9062 MB / 1.22 GB, free: 111.6 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003266/2.607, allocations: 160.2 kB / 1.22 GB, free: 111.4 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000124/2.607, allocations: 3.938 kB / 1.22 GB, free: 111.4 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004689/2.608, allocations: 19.78 kB / 1.22 GB, free: 111.4 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.638e-05/2.608, allocations: 15.86 kB / 1.22 GB, free: 111.4 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.539e-05/2.608, allocations: 15.78 kB / 1.22 GB, free: 111.4 MB / 0.6355 GB Notification: Performance of sort global known variables: time 0.000402/2.608, allocations: 332 kB / 1.221 GB, free: 111.2 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.001663/2.61, allocations: 263.3 kB / 1.221 GB, free: 111.1 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.001007/2.611, allocations: 393.9 kB / 1.221 GB, free: 110.9 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0004017/2.611, allocations: 196.2 kB / 1.222 GB, free: 110.8 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 4.207e-06/2.611, allocations: 0 / 1.222 GB, free: 110.8 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 8.999e-05/2.611, allocations: 74.47 kB / 1.222 GB, free: 110.8 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001431/2.613, allocations: 265.5 kB / 1.222 GB, free: 110.7 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001832/2.615, allocations: 0.7283 MB / 1.223 GB, free: 110.2 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006941/2.615, allocations: 0.959 MB / 1.224 GB, free: 109.4 MB / 0.6355 GB Notification: Performance of SimCode: time 6.91e-07/2.615, allocations: 0 / 1.224 GB, free: 109.4 MB / 0.6355 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Fluid_MixingVolumes_Validation_CoupledVolumesWater_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Fluid_MixingVolumes_Validation_CoupledVolumesWater.fmu > BuildSysPro_BuildSysPro.IBPSA.Fluid.MixingVolumes.Validation.CoupledVolumesWater.pipe 2>&1)