Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.CoupledVolumesWater.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(IBPSA.Fluid.MixingVolumes.Validation.CoupledVolumesWater,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_MixingVolumes_Validation_CoupledVolumesWater",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.MixingVolumes.Validation.CoupledVolumesWater,fileNamePrefix="IBPSA_latest_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/Complex 4.0.0+maint.om/package.mo): time 0.001535/0.001536, allocations: 191 kB / 7.803 MB, free: 2.504 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.4647/0.4647, allocations: 90.86 MB / 99.07 MB, free: 14.97 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.283/1.283, allocations: 221.4 MB / 342.7 MB, free: 5.297 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001056/0.001056, allocations: 103.1 kB / 415.5 MB, free: 6.438 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1923/0.1934, allocations: 78.45 MB / 494 MB, free: 7.988 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.403/0.5964, allocations: 72.3 MB / 0.553 GB, free: 73.36 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6189/1.215, allocations: 363.6 MB / 0.908 GB, free: 8.402 MB / 0.573 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002122/1.216, allocations: 87.39 kB / 0.9081 GB, free: 8.359 MB / 0.573 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.7494/1.965, allocations: 248.5 MB / 1.151 GB, free: 47.06 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.917e-05/1.965, allocations: 8 kB / 1.151 GB, free: 47.05 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004971/1.966, allocations: 87.05 kB / 1.151 GB, free: 46.97 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02686/1.992, allocations: 12.45 MB / 1.163 GB, free: 34.34 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.703e-05/1.992, allocations: 16 kB / 1.163 GB, free: 34.32 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.812e-05/1.993, allocations: 31.84 kB / 1.163 GB, free: 34.29 MB / 0.6042 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005092/1.993, allocations: 265.9 kB / 1.163 GB, free: 34.03 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006299/1.994, allocations: 426.2 kB / 1.164 GB, free: 33.58 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.998e-05/1.994, allocations: 0 / 1.164 GB, free: 33.58 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.118e-05/1.994, allocations: 4 kB / 1.164 GB, free: 33.58 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.278e-05/1.994, allocations: 12 kB / 1.164 GB, free: 33.57 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002633/1.996, allocations: 2.662 MB / 1.166 GB, free: 30.69 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001689/1.997, allocations: 130 kB / 1.166 GB, free: 30.56 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001149/1.997, allocations: 93.12 kB / 1.167 GB, free: 30.46 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002593/1.997, allocations: 340.6 kB / 1.167 GB, free: 30.06 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.359e-05/1.997, allocations: 34.75 kB / 1.167 GB, free: 30.02 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=22): time 1.663e-06/1.997, allocations: 0 / 1.167 GB, free: 30.02 MB / 0.6042 GB Notification: Performance of matching and sorting (n=22): time 0.0005417/1.998, allocations: 239.1 kB / 1.167 GB, free: 29.78 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.663e-05/1.998, allocations: 51.41 kB / 1.167 GB, free: 29.72 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004514/1.998, allocations: 438.2 kB / 1.168 GB, free: 29.29 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 2.943e-05/1.998, allocations: 29.7 kB / 1.168 GB, free: 29.25 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001095/1.998, allocations: 267.3 kB / 1.168 GB, free: 28.98 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 5.678e-05/1.998, allocations: 82.84 kB / 1.168 GB, free: 28.9 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.152e-05/1.998, allocations: 0 / 1.168 GB, free: 28.9 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 7.507e-05/1.998, allocations: 362.8 kB / 1.168 GB, free: 28.54 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001124/1.999, allocations: 83.92 kB / 1.168 GB, free: 28.46 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001613/1.999, allocations: 231.2 kB / 1.169 GB, free: 28.16 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00025/1.999, allocations: 123.8 kB / 1.169 GB, free: 28.04 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.689e-06/1.999, allocations: 7.984 kB / 1.169 GB, free: 28.04 MB / 0.6042 GB Notification: Performance of matching and sorting (n=44) (initialization): time 0.0005512/2, allocations: 348.5 kB / 1.169 GB, free: 27.69 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002827/2, allocations: 1.662 MB / 1.171 GB, free: 25.9 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.797e-06/2, allocations: 4 kB / 1.171 GB, free: 25.89 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.896e-05/2, allocations: 8 kB / 1.171 GB, free: 25.89 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002723/2, allocations: 71.91 kB / 1.171 GB, free: 25.82 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.307e-06/2, allocations: 8 kB / 1.171 GB, free: 25.81 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004688/2.001, allocations: 59.56 kB / 1.171 GB, free: 25.75 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.553e-05/2.001, allocations: 20 kB / 1.171 GB, free: 25.73 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 7.183e-06/2.001, allocations: 7.938 kB / 1.171 GB, free: 25.72 MB / 0.6042 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0004184/2.001, allocations: 259.5 kB / 1.171 GB, free: 25.47 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.901e-06/2.001, allocations: 4 kB / 1.171 GB, free: 25.46 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.803e-06/2.001, allocations: 8 kB / 1.171 GB, free: 25.46 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002546/2.001, allocations: 79.84 kB / 1.171 GB, free: 25.38 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.422e-06/2.001, allocations: 8.562 kB / 1.171 GB, free: 25.37 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003964/2.002, allocations: 43.66 kB / 1.171 GB, free: 25.33 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.871e-05/2.002, allocations: 20 kB / 1.171 GB, free: 25.31 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (44): * Single equations (assignments): 44 * 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.718e-05/2.002, allocations: 116.8 kB / 1.171 GB, free: 25.19 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.867e-05/2.002, allocations: 59.34 kB / 1.171 GB, free: 25.13 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004863/2.003, allocations: 272.2 kB / 1.172 GB, free: 24.86 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.865e-06/2.003, allocations: 3.984 kB / 1.172 GB, free: 24.85 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.242e-05/2.003, allocations: 3.906 kB / 1.172 GB, free: 24.85 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0003144/2.003, allocations: 369.5 kB / 1.172 GB, free: 24.44 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001285/2.004, allocations: 0.956 MB / 1.173 GB, free: 23.39 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.378e-06/2.004, allocations: 4 kB / 1.173 GB, free: 23.39 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002144/2.004, allocations: 60.09 kB / 1.173 GB, free: 23.33 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.67e-06/2.004, allocations: 8 kB / 1.173 GB, free: 23.32 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.971e-05/2.005, allocations: 4 kB / 1.173 GB, free: 23.32 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.897e-06/2.005, allocations: 4 kB / 1.173 GB, free: 23.31 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.178e-06/2.005, allocations: 4 kB / 1.173 GB, free: 23.31 MB / 0.6042 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0005777/2.005, allocations: 0.5968 MB / 1.174 GB, free: 22.61 MB / 0.6042 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.000731/2.006, allocations: 1.106 MB / 1.175 GB, free: 21.41 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002185/2.006, allocations: 180.3 kB / 1.175 GB, free: 21.21 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.125e-05/2.006, allocations: 4 kB / 1.175 GB, free: 21.21 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003662/2.007, allocations: 27.89 kB / 1.175 GB, free: 21.18 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.935e-05/2.007, allocations: 19.97 kB / 1.175 GB, free: 21.16 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.841e-05/2.007, allocations: 12 kB / 1.175 GB, free: 21.15 MB / 0.6042 GB Notification: Performance of sort global known variables: time 0.0003193/2.007, allocations: 338.9 kB / 1.175 GB, free: 20.82 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.002485/2.009, allocations: 447 kB / 1.176 GB, free: 20.38 MB / 0.6042 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * 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 (25): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 0 * 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.0008121/2.01, allocations: 414.1 kB / 1.176 GB, free: 19.98 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0005498/2.011, allocations: 380.9 kB / 1.177 GB, free: 19.61 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 3.928e-06/2.011, allocations: 0 / 1.177 GB, free: 19.61 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0001217/2.011, allocations: 99.84 kB / 1.177 GB, free: 19.51 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001478/2.012, allocations: 305.5 kB / 1.177 GB, free: 19.21 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001512/2.014, allocations: 0.8203 MB / 1.178 GB, free: 18.34 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005371/2.015, allocations: 0.9795 MB / 1.179 GB, free: 17.34 MB / 0.6042 GB Notification: Performance of SimCode: time 5.21e-07/2.015, allocations: 0 / 1.179 GB, free: 17.34 MB / 0.6042 GB (rm -f IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.CoupledVolumesWater.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.CoupledVolumesWater.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.CoupledVolumesWater.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.CoupledVolumesWater.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_MixingVolumes_Validation_CoupledVolumesWater_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_MixingVolumes_Validation_CoupledVolumesWater.fmu > IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.CoupledVolumesWater.pipe 2>&1)