Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_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_IDEAS_Fluid_MixingVolumes_Validation_CoupledVolumesWater",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.MixingVolumes.Validation.CoupledVolumesWater,fileNamePrefix="IDEAS_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.003573/0.003573, allocations: 183 kB / 7.459 MB, free: 2.508 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7453/0.7453, allocations: 133.5 MB / 141.4 MB, free: 15.69 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.675/1.675, allocations: 221.3 MB / 395 MB, free: 10.21 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.001022/0.001022, allocations: 98.64 kB / 477.8 MB, free: 10.88 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.4291/0.4302, allocations: 88.42 MB / 0.5529 GB, free: 88.96 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2432/0.6734, allocations: 82.3 MB / 0.6333 GB, free: 14.02 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.263/1.936, allocations: 373.3 MB / 0.9978 GB, free: 260.6 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003681/1.936, allocations: 85.2 kB / 0.9979 GB, free: 260.5 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.4767/2.413, allocations: 246.8 MB / 1.239 GB, free: 11.58 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.932e-05/2.413, allocations: 8 kB / 1.239 GB, free: 11.57 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003823/2.414, allocations: 91.05 kB / 1.239 GB, free: 11.48 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.3608/2.774, allocations: 12.46 MB / 1.251 GB, free: 238.9 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.678e-05/2.775, allocations: 14.19 kB / 1.251 GB, free: 238.9 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.12e-05/2.775, allocations: 29.72 kB / 1.251 GB, free: 238.9 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000577/2.775, allocations: 268.3 kB / 1.251 GB, free: 238.9 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006216/2.776, allocations: 428.6 kB / 1.252 GB, free: 238.7 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.305e-05/2.776, allocations: 3.188 kB / 1.252 GB, free: 238.7 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.491e-05/2.776, allocations: 3.531 kB / 1.252 GB, free: 238.7 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.15e-05/2.776, allocations: 20.94 kB / 1.252 GB, free: 238.7 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002955/2.779, allocations: 2.663 MB / 1.254 GB, free: 237 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000193/2.779, allocations: 126 kB / 1.255 GB, free: 237 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001393/2.779, allocations: 98.72 kB / 1.255 GB, free: 237 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003755/2.78, allocations: 342.4 kB / 1.255 GB, free: 236.6 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.509e-05/2.78, allocations: 38.66 kB / 1.255 GB, free: 236.6 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=22): time 5.21e-06/2.78, allocations: 0 / 1.255 GB, free: 236.6 MB / 0.6823 GB Notification: Performance of matching and sorting (n=22): time 0.0007074/2.78, allocations: 230.5 kB / 1.255 GB, free: 236.5 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.769e-05/2.78, allocations: 58.84 kB / 1.255 GB, free: 236.4 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005503/2.781, allocations: 435.8 kB / 1.256 GB, free: 236.3 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 3.417e-05/2.781, allocations: 29.58 kB / 1.256 GB, free: 236.3 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001784/2.781, allocations: 269.5 kB / 1.256 GB, free: 236.1 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 6.973e-05/2.781, allocations: 78.48 kB / 1.256 GB, free: 236.1 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.169e-05/2.781, allocations: 0 / 1.256 GB, free: 236.1 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001206/2.781, allocations: 359.9 kB / 1.256 GB, free: 235.8 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001215/2.782, allocations: 77.48 kB / 1.257 GB, free: 235.8 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000186/2.782, allocations: 227 kB / 1.257 GB, free: 235.6 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000245/2.782, allocations: 127.8 kB / 1.257 GB, free: 235.6 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.727e-06/2.782, allocations: 0 / 1.257 GB, free: 235.6 MB / 0.6823 GB Notification: Performance of matching and sorting (n=44) (initialization): time 0.000539/2.783, allocations: 349.3 kB / 1.257 GB, free: 235.6 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.000408/2.783, allocations: 1.656 MB / 1.259 GB, free: 233.8 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.249e-05/2.783, allocations: 7.094 kB / 1.259 GB, free: 233.8 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.677e-05/2.783, allocations: 3.844 kB / 1.259 GB, free: 233.8 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002864/2.783, allocations: 80.25 kB / 1.259 GB, free: 233.8 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.152e-05/2.783, allocations: 9.062 kB / 1.259 GB, free: 233.8 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005098/2.784, allocations: 48.67 kB / 1.259 GB, free: 233.8 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.316e-05/2.784, allocations: 20.38 kB / 1.259 GB, free: 233.8 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 8.075e-06/2.784, allocations: 7.453 kB / 1.259 GB, free: 233.8 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0004304/2.784, allocations: 270.8 kB / 1.259 GB, free: 233.8 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.699e-06/2.784, allocations: 7.281 kB / 1.259 GB, free: 233.8 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.754e-06/2.784, allocations: 11.31 kB / 1.259 GB, free: 233.8 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002306/2.785, allocations: 75.42 kB / 1.259 GB, free: 233.8 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.372e-06/2.785, allocations: 13.03 kB / 1.259 GB, free: 233.8 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003648/2.785, allocations: 45.86 kB / 1.259 GB, free: 233.8 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.552e-05/2.785, allocations: 17.44 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 0.0001127/2.785, allocations: 118.3 kB / 1.26 GB, free: 233.7 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.133e-05/2.785, allocations: 54.75 kB / 1.26 GB, free: 233.7 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005334/2.786, allocations: 270.2 kB / 1.26 GB, free: 233.6 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.168e-06/2.786, allocations: 3.969 kB / 1.26 GB, free: 233.6 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.711e-06/2.786, allocations: 0 / 1.26 GB, free: 233.6 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0003844/2.786, allocations: 370.2 kB / 1.26 GB, free: 233.4 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001477/2.788, allocations: 0.9585 MB / 1.261 GB, free: 232.9 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.37e-06/2.788, allocations: 0 / 1.261 GB, free: 232.9 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002359/2.788, allocations: 53.08 kB / 1.261 GB, free: 232.9 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.532e-06/2.788, allocations: 3.781 kB / 1.261 GB, free: 232.9 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.311e-05/2.788, allocations: 7.219 kB / 1.261 GB, free: 232.9 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.041e-06/2.788, allocations: 6.656 kB / 1.261 GB, free: 232.9 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.957e-06/2.788, allocations: 0 / 1.261 GB, free: 232.9 MB / 0.6823 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0006804/2.789, allocations: 0.5988 MB / 1.262 GB, free: 232.6 MB / 0.6823 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0008436/2.79, allocations: 1.112 MB / 1.263 GB, free: 231.8 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001961/2.79, allocations: 177.6 kB / 1.263 GB, free: 231.7 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.741e-05/2.79, allocations: 3.969 kB / 1.263 GB, free: 231.7 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003925/2.79, allocations: 29.72 kB / 1.263 GB, free: 231.7 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.745e-05/2.79, allocations: 23.02 kB / 1.263 GB, free: 231.7 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.926e-05/2.79, allocations: 20.16 kB / 1.263 GB, free: 231.7 MB / 0.6823 GB Notification: Performance of sort global known variables: time 0.0003503/2.791, allocations: 332.2 kB / 1.263 GB, free: 231.6 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.002746/2.794, allocations: 444.8 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.0009559/2.794, allocations: 405.3 kB / 1.264 GB, free: 231.5 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0006519/2.795, allocations: 384.5 kB / 1.265 GB, free: 231.5 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 3.006e-06/2.795, allocations: 0 / 1.265 GB, free: 231.5 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0001143/2.795, allocations: 102 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.001483/2.797, allocations: 315.8 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.001934/2.799, allocations: 0.8347 MB / 1.266 GB, free: 231.2 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005817/2.799, allocations: 0.9711 MB / 1.267 GB, free: 230.5 MB / 0.6823 GB Notification: Performance of SimCode: time 4.6e-07/2.799, allocations: 0 / 1.267 GB, free: 230.5 MB / 0.6823 GB (rm -f IDEAS_IDEAS.Fluid.MixingVolumes.Validation.CoupledVolumesWater.pipe ; mkfifo IDEAS_IDEAS.Fluid.MixingVolumes.Validation.CoupledVolumesWater.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.MixingVolumes.Validation.CoupledVolumesWater.pipe >> ../files/IDEAS_IDEAS.Fluid.MixingVolumes.Validation.CoupledVolumesWater.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_MixingVolumes_Validation_CoupledVolumesWater_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_MixingVolumes_Validation_CoupledVolumesWater.fmu > IDEAS_IDEAS.Fluid.MixingVolumes.Validation.CoupledVolumesWater.pipe 2>&1)