Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.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/IDEAS 3.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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.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(IDEAS.Fluid.MixingVolumes.Validation.CoupledVolumesWater,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_MixingVolumes_Validation_CoupledVolumesWater",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.MixingVolumes.Validation.CoupledVolumesWater,fileNamePrefix="IDEAS_dev_IDEAS_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.003845/0.003844, allocations: 187 kB / 7.46 MB, free: 2.52 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7084/0.7084, allocations: 133.5 MB / 141.4 MB, free: 15.68 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.522/1.522, allocations: 221.3 MB / 395 MB, free: 10.2 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009589/0.000959, allocations: 103.3 kB / 477.8 MB, free: 10.83 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.4435/0.4445, allocations: 88.42 MB / 0.5529 GB, free: 89.12 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1893/0.6339, allocations: 82.31 MB / 0.6333 GB, free: 14.05 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.143/1.777, allocations: 373.3 MB / 0.9978 GB, free: 260.6 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003187/1.777, allocations: 85.83 kB / 0.9979 GB, free: 260.6 MB / 0.6823 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.4478/2.225, allocations: 246.8 MB / 1.239 GB, free: 11.62 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 3.881e-05/2.225, allocations: 8 kB / 1.239 GB, free: 11.62 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003167/2.225, allocations: 87.05 kB / 1.239 GB, free: 11.53 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.3389/2.564, allocations: 12.46 MB / 1.251 GB, free: 238.9 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.722e-05/2.564, allocations: 17.53 kB / 1.251 GB, free: 238.9 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.673e-05/2.564, allocations: 27.69 kB / 1.251 GB, free: 238.9 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005295/2.565, allocations: 270.5 kB / 1.251 GB, free: 238.9 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005958/2.565, allocations: 423.9 kB / 1.252 GB, free: 238.8 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.918e-05/2.565, allocations: 0 / 1.252 GB, free: 238.8 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.016e-05/2.565, allocations: 3.844 kB / 1.252 GB, free: 238.8 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.651e-05/2.565, allocations: 21.8 kB / 1.252 GB, free: 238.8 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002443/2.568, allocations: 2.661 MB / 1.254 GB, free: 237 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001709/2.568, allocations: 128.8 kB / 1.255 GB, free: 237 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001123/2.568, allocations: 90.48 kB / 1.255 GB, free: 237 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002598/2.568, allocations: 347.2 kB / 1.255 GB, free: 236.6 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.223e-05/2.568, allocations: 34.25 kB / 1.255 GB, free: 236.6 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=22): time 1.713e-06/2.568, allocations: 0 / 1.255 GB, free: 236.6 MB / 0.6823 GB Notification: Performance of matching and sorting (n=22): time 0.000498/2.569, allocations: 226.7 kB / 1.255 GB, free: 236.5 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.807e-05/2.569, allocations: 62.41 kB / 1.255 GB, free: 236.4 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000447/2.569, allocations: 435.7 kB / 1.256 GB, free: 236.3 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 2.86e-05/2.569, allocations: 28.23 kB / 1.256 GB, free: 236.3 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001222/2.57, allocations: 279.6 kB / 1.256 GB, free: 236.2 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 5.933e-05/2.57, allocations: 77.2 kB / 1.256 GB, free: 236.1 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.152e-05/2.57, allocations: 3.656 kB / 1.256 GB, free: 236.1 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 9.241e-05/2.57, allocations: 357.2 kB / 1.256 GB, free: 235.8 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001097/2.57, allocations: 77.33 kB / 1.257 GB, free: 235.8 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000176/2.57, allocations: 221.9 kB / 1.257 GB, free: 235.6 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002265/2.57, allocations: 123.3 kB / 1.257 GB, free: 235.6 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.228e-06/2.57, allocations: 3.219 kB / 1.257 GB, free: 235.6 MB / 0.6823 GB Notification: Performance of matching and sorting (n=44) (initialization): time 0.000501/2.571, allocations: 348.7 kB / 1.257 GB, free: 235.6 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.000366/2.571, allocations: 1.654 MB / 1.259 GB, free: 233.9 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.241e-05/2.571, allocations: 11.28 kB / 1.259 GB, free: 233.9 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.985e-05/2.571, allocations: 3.781 kB / 1.259 GB, free: 233.9 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002738/2.571, allocations: 80.59 kB / 1.259 GB, free: 233.9 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.085e-05/2.572, allocations: 12.56 kB / 1.259 GB, free: 233.8 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004496/2.572, allocations: 52.5 kB / 1.259 GB, free: 233.8 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.386e-05/2.572, allocations: 18.25 kB / 1.259 GB, free: 233.8 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 8.666e-06/2.572, allocations: 6.906 kB / 1.259 GB, free: 233.8 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0003995/2.572, allocations: 270.6 kB / 1.259 GB, free: 233.8 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.338e-06/2.572, allocations: 3.906 kB / 1.259 GB, free: 233.8 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.743e-06/2.572, allocations: 10.56 kB / 1.259 GB, free: 233.8 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002212/2.573, allocations: 76.69 kB / 1.259 GB, free: 233.8 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.561e-06/2.573, allocations: 10.11 kB / 1.259 GB, free: 233.8 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003267/2.573, allocations: 46 kB / 1.259 GB, free: 233.8 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.407e-05/2.573, allocations: 17.09 kB / 1.259 GB, free: 233.8 MB / 0.6823 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 7.99e-05/2.573, allocations: 118.1 kB / 1.26 GB, free: 233.7 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.408e-05/2.573, allocations: 57.03 kB / 1.26 GB, free: 233.7 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005002/2.574, allocations: 266.3 kB / 1.26 GB, free: 233.6 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.873e-06/2.574, allocations: 3.875 kB / 1.26 GB, free: 233.6 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.923e-06/2.574, allocations: 3.891 kB / 1.26 GB, free: 233.6 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0003335/2.574, allocations: 369.7 kB / 1.26 GB, free: 233.4 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001264/2.575, allocations: 0.9631 MB / 1.261 GB, free: 232.9 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.178e-06/2.575, allocations: 3.938 kB / 1.261 GB, free: 232.9 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002107/2.576, allocations: 48.5 kB / 1.261 GB, free: 232.9 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.919e-06/2.576, allocations: 6.219 kB / 1.261 GB, free: 232.9 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.09e-05/2.576, allocations: 10.75 kB / 1.261 GB, free: 232.9 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.515e-06/2.576, allocations: 0 / 1.261 GB, free: 232.9 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.246e-06/2.576, allocations: 3.75 kB / 1.261 GB, free: 232.9 MB / 0.6823 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0005445/2.576, allocations: 0.6023 MB / 1.262 GB, free: 232.6 MB / 0.6823 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0008078/2.577, allocations: 1.105 MB / 1.263 GB, free: 231.8 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001933/2.577, allocations: 174.5 kB / 1.263 GB, free: 231.7 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.848e-05/2.577, allocations: 3.938 kB / 1.263 GB, free: 231.7 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003509/2.578, allocations: 28.75 kB / 1.263 GB, free: 231.7 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.307e-05/2.578, allocations: 22.47 kB / 1.263 GB, free: 231.7 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.804e-05/2.578, allocations: 15.47 kB / 1.263 GB, free: 231.7 MB / 0.6823 GB Notification: Performance of sort global known variables: time 0.0003409/2.578, allocations: 338.7 kB / 1.263 GB, free: 231.6 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.002523/2.581, allocations: 448.6 kB / 1.264 GB, free: 231.6 MB / 0.6823 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.0006853/2.581, allocations: 406.2 kB / 1.264 GB, free: 231.5 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0005058/2.582, allocations: 381.8 kB / 1.265 GB, free: 231.5 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/2.582, allocations: 0 / 1.265 GB, free: 231.5 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0001137/2.582, allocations: 98.28 kB / 1.265 GB, free: 231.5 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001446/2.583, allocations: 314.1 kB / 1.265 GB, free: 231.5 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001343/2.585, allocations: 0.8283 MB / 1.266 GB, free: 231.2 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004221/2.585, allocations: 0.9761 MB / 1.267 GB, free: 230.5 MB / 0.6823 GB Notification: Performance of SimCode: time 2.7e-07/2.585, allocations: 1.688 kB / 1.267 GB, free: 230.5 MB / 0.6823 GB (rm -f IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.CoupledVolumesWater.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.CoupledVolumesWater.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.CoupledVolumesWater.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.CoupledVolumesWater.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_MixingVolumes_Validation_CoupledVolumesWater_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_MixingVolumes_Validation_CoupledVolumesWater.fmu > IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.CoupledVolumesWater.pipe 2>&1)