Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Fluid.MixingVolumes.Validation.CoupledVolumesSpecializedWaterTemperatureDependentDensity.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.CoupledVolumesSpecializedWaterTemperatureDependentDensity,fileNamePrefix="IDEAS_IDEAS_Fluid_MixingVolumes_Validation_CoupledVolumesSpecializedWaterTemperatureDependentDensity",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.MixingVolumes.Validation.CoupledVolumesSpecializedWaterTemperatureDependentDensity,fileNamePrefix="IDEAS_IDEAS_Fluid_MixingVolumes_Validation_CoupledVolumesSpecializedWaterTemperatureDependentDensity",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.004827/0.004827, allocations: 178.4 kB / 7.455 MB, free: 2.316 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8279/0.8279, allocations: 133.5 MB / 141.4 MB, free: 15.65 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.647/1.647, allocations: 221.3 MB / 395 MB, free: 10.23 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.001316/0.001316, allocations: 93.55 kB / 477.8 MB, free: 10.83 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.4694/0.4708, allocations: 88.43 MB / 0.5529 GB, free: 89.16 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.188/0.6588, allocations: 82.31 MB / 0.6333 GB, free: 14.04 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.428/2.086, allocations: 0.576 GB / 1.209 GB, free: 25.74 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000291/2.087, allocations: 86.7 kB / 1.209 GB, free: 25.7 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.7614/2.848, allocations: 165.3 MB / 1.371 GB, free: 139.7 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.868e-05/2.848, allocations: 8 kB / 1.371 GB, free: 139.7 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002546/2.851, allocations: 298.7 kB / 1.371 GB, free: 139.4 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001316/2.852, allocations: 0.7009 MB / 1.372 GB, free: 138.6 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.681e-05/2.852, allocations: 16 kB / 1.372 GB, free: 138.6 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.898e-05/2.852, allocations: 27.91 kB / 1.372 GB, free: 138.6 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006542/2.853, allocations: 297.9 kB / 1.372 GB, free: 138.3 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000661/2.854, allocations: 439 kB / 1.373 GB, free: 137.8 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.543e-05/2.854, allocations: 4 kB / 1.373 GB, free: 137.8 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.455e-05/2.854, allocations: 0 / 1.373 GB, free: 137.8 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.893e-05/2.854, allocations: 15.98 kB / 1.373 GB, free: 137.8 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002595/2.856, allocations: 2.73 MB / 1.375 GB, free: 134.9 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002532/2.857, allocations: 200.8 kB / 1.375 GB, free: 134.7 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001613/2.857, allocations: 134.2 kB / 1.376 GB, free: 134.5 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004729/2.857, allocations: 0.661 MB / 1.376 GB, free: 133.7 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.846e-05/2.857, allocations: 42.78 kB / 1.376 GB, free: 133.7 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=28): time 1.713e-06/2.857, allocations: 0 / 1.376 GB, free: 133.7 MB / 0.6823 GB Notification: Performance of matching and sorting (n=40): time 0.004883/2.862, allocations: 1.655 MB / 1.378 GB, free: 132 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.533e-05/2.862, allocations: 85.05 kB / 1.378 GB, free: 131.9 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004644/2.863, allocations: 410.3 kB / 1.378 GB, free: 131.5 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 3.43e-05/2.863, allocations: 29.7 kB / 1.378 GB, free: 131.4 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 9.766e-05/2.863, allocations: 252.3 kB / 1.379 GB, free: 131.2 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 8.834e-05/2.863, allocations: 134 kB / 1.379 GB, free: 131 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.205e-05/2.863, allocations: 0 / 1.379 GB, free: 131 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 9.964e-05/2.863, allocations: 362.8 kB / 1.379 GB, free: 130.7 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001925/2.863, allocations: 145 kB / 1.379 GB, free: 130.5 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002348/2.864, allocations: 266.5 kB / 1.38 GB, free: 130.2 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003772/2.864, allocations: 199.8 kB / 1.38 GB, free: 130 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.765e-06/2.864, allocations: 3.906 kB / 1.38 GB, free: 130 MB / 0.6823 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.001486/2.865, allocations: 0.6694 MB / 1.38 GB, free: 129.3 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002425/2.866, allocations: 1.227 MB / 1.382 GB, free: 128 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.448e-06/2.866, allocations: 3.984 kB / 1.382 GB, free: 128 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008802/2.867, allocations: 261.5 kB / 1.382 GB, free: 127.8 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002934/2.867, allocations: 71.89 kB / 1.382 GB, free: 127.7 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004488/2.871, allocations: 3.846 MB / 1.386 GB, free: 123.6 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001324/2.873, allocations: 75.88 kB / 1.386 GB, free: 123.5 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.986e-05/2.873, allocations: 16.12 kB / 1.386 GB, free: 123.5 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 9.087e-06/2.873, allocations: 7.906 kB / 1.386 GB, free: 123.5 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001485/2.874, allocations: 0.5792 MB / 1.386 GB, free: 122.9 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.06e-06/2.874, allocations: 4.25 kB / 1.386 GB, free: 122.9 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008341/2.875, allocations: 269.4 kB / 1.387 GB, free: 122.7 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002694/2.875, allocations: 63.91 kB / 1.387 GB, free: 122.6 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004314/2.88, allocations: 3.87 MB / 1.39 GB, free: 118.5 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00134/2.881, allocations: 71.83 kB / 1.39 GB, free: 118.4 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.771e-05/2.881, allocations: 23.98 kB / 1.39 GB, free: 118.4 MB / 0.6823 GB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: $DER.vol1.dynBal.medium.T:DUMMY_DER(fixed = false ) "Temperature of medium" type: Real vol1.ports[1].m_flow:VARIABLE(flow=true min = -100000.0 max = 100000.0 unit = "kg/s" ) "Mass flow rate from the connection point into the component" type: Real [1] Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: $DER.vol.dynBal.medium.T:DUMMY_DER(fixed = false ) "Temperature of medium" type: Real vol.dynBal.mb_flow:VARIABLE(unit = "kg/s" protected = true ) "Mass flows across boundaries" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (39): * Single equations (assignments): 37 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {2 8,2 6} Notification: Performance of prepare postOptimizeDAE: time 0.0002819/2.881, allocations: 126.9 kB / 1.391 GB, free: 118.3 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001457/2.882, allocations: 59.25 kB / 1.391 GB, free: 118.2 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001721/2.883, allocations: 0.6133 MB / 1.391 GB, free: 117.6 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.441e-06/2.883, allocations: 4 kB / 1.391 GB, free: 117.6 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.733e-06/2.883, allocations: 0 / 1.391 GB, free: 117.6 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001259/2.885, allocations: 0.6943 MB / 1.392 GB, free: 116.9 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00275/2.887, allocations: 1.574 MB / 1.393 GB, free: 115.2 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.539e-06/2.887, allocations: 3.984 kB / 1.393 GB, free: 115.2 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002428/2.888, allocations: 52 kB / 1.394 GB, free: 115.2 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008475/2.889, allocations: 237.5 kB / 1.394 GB, free: 114.9 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.282e-05/2.889, allocations: 7.984 kB / 1.394 GB, free: 114.9 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004027/2.893, allocations: 3.644 MB / 1.397 GB, free: 111.1 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.516e-06/2.893, allocations: 0 / 1.397 GB, free: 111.1 MB / 0.6823 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001778/2.894, allocations: 0.8942 MB / 1.398 GB, free: 110.1 MB / 0.6823 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.002035/2.896, allocations: 1.499 MB / 1.4 GB, free: 108.6 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003814/2.897, allocations: 192.3 kB / 1.4 GB, free: 108.4 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.854e-05/2.897, allocations: 8 kB / 1.4 GB, free: 108.4 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001096/2.898, allocations: 63.91 kB / 1.4 GB, free: 108.3 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.396e-05/2.898, allocations: 19.97 kB / 1.4 GB, free: 108.3 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.204e-05/2.898, allocations: 24.03 kB / 1.4 GB, free: 108.3 MB / 0.6823 GB Notification: Performance of sort global known variables: time 0.0005382/2.899, allocations: 310.9 kB / 1.4 GB, free: 108 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.003484/2.902, allocations: 495.8 kB / 1.401 GB, free: 107.5 MB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 2 (vol.ports[2].h_outflow,vol1.ports[1].h_outflow) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (28): * Single equations (assignments): 26 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {2 6,2 4} Notification: Performance of Backend phase and start with SimCode phase: time 0.0008124/2.903, allocations: 319.7 kB / 1.401 GB, free: 107.2 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.002462/2.906, allocations: 1.171 MB / 1.402 GB, free: 106 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 3.687e-06/2.906, allocations: 0 / 1.402 GB, free: 106 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.00106/2.907, allocations: 483.4 kB / 1.403 GB, free: 105.5 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001714/2.908, allocations: 315.4 kB / 1.403 GB, free: 105.2 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002374/2.911, allocations: 0.9261 MB / 1.404 GB, free: 104.2 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006726/2.911, allocations: 0.9819 MB / 1.405 GB, free: 103.2 MB / 0.6823 GB Notification: Performance of SimCode: time 1.252e-06/2.911, allocations: 0 / 1.405 GB, free: 103.2 MB / 0.6823 GB (rm -f IDEAS_IDEAS.Fluid.MixingVolumes.Validation.CoupledVolumesSpecializedWaterTemperatureDependentDensity.pipe ; mkfifo IDEAS_IDEAS.Fluid.MixingVolumes.Validation.CoupledVolumesSpecializedWaterTemperatureDependentDensity.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.MixingVolumes.Validation.CoupledVolumesSpecializedWaterTemperatureDependentDensity.pipe >> ../files/IDEAS_IDEAS.Fluid.MixingVolumes.Validation.CoupledVolumesSpecializedWaterTemperatureDependentDensity.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_MixingVolumes_Validation_CoupledVolumesSpecializedWaterTemperatureDependentDensity_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_MixingVolumes_Validation_CoupledVolumesSpecializedWaterTemperatureDependentDensity.fmu > IDEAS_IDEAS.Fluid.MixingVolumes.Validation.CoupledVolumesSpecializedWaterTemperatureDependentDensity.pipe 2>&1)