Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_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_dev_IDEAS_Fluid_MixingVolumes_Validation_CoupledVolumesSpecializedWaterTemperatureDependentDensity",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.MixingVolumes.Validation.CoupledVolumesSpecializedWaterTemperatureDependentDensity,fileNamePrefix="IDEAS_dev_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.003797/0.003797, allocations: 180.8 kB / 7.457 MB, free: 2.516 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7106/0.7106, allocations: 133.5 MB / 141.4 MB, free: 15.72 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.532/1.532, allocations: 221.3 MB / 395 MB, free: 10.26 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.001001/0.001001, allocations: 94.72 kB / 477.8 MB, free: 10.89 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.449/0.45, allocations: 88.42 MB / 0.5529 GB, free: 88.92 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1714/0.6214, allocations: 82.3 MB / 0.6333 GB, free: 14.07 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.249/1.871, allocations: 0.576 GB / 1.209 GB, free: 24.02 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002077/1.871, allocations: 89.27 kB / 1.209 GB, free: 23.97 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.6522/2.523, allocations: 165.3 MB / 1.371 GB, free: 147.7 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 3.816e-05/2.523, allocations: 11.94 kB / 1.371 GB, free: 147.7 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002429/2.526, allocations: 302.6 kB / 1.371 GB, free: 147.4 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001304/2.527, allocations: 0.7022 MB / 1.372 GB, free: 146.7 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.045e-05/2.527, allocations: 16 kB / 1.372 GB, free: 146.6 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.561e-05/2.527, allocations: 31.91 kB / 1.372 GB, free: 146.6 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005465/2.528, allocations: 289.9 kB / 1.372 GB, free: 146.3 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005797/2.528, allocations: 443 kB / 1.373 GB, free: 145.9 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.824e-05/2.528, allocations: 0 / 1.373 GB, free: 145.9 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.96e-05/2.528, allocations: 0 / 1.373 GB, free: 145.9 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.243e-05/2.528, allocations: 19.98 kB / 1.373 GB, free: 145.8 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002355/2.531, allocations: 2.727 MB / 1.375 GB, free: 142.9 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000247/2.531, allocations: 200.5 kB / 1.375 GB, free: 142.7 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001529/2.531, allocations: 134.2 kB / 1.376 GB, free: 142.6 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004024/2.532, allocations: 0.6612 MB / 1.376 GB, free: 141.7 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.359e-05/2.532, allocations: 42.83 kB / 1.376 GB, free: 141.7 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=28): time 2.174e-06/2.532, allocations: 0 / 1.376 GB, free: 141.7 MB / 0.6823 GB Notification: Performance of matching and sorting (n=40): time 0.004884/2.537, allocations: 1.663 MB / 1.378 GB, free: 140 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.356e-05/2.537, allocations: 85.09 kB / 1.378 GB, free: 139.9 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005106/2.537, allocations: 402.3 kB / 1.378 GB, free: 139.5 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 3.67e-05/2.537, allocations: 29.7 kB / 1.378 GB, free: 139.4 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001133/2.537, allocations: 248.3 kB / 1.379 GB, free: 139.2 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 9.211e-05/2.537, allocations: 130 kB / 1.379 GB, free: 139.1 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.163e-05/2.537, allocations: 4 kB / 1.379 GB, free: 139.1 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001034/2.538, allocations: 370.8 kB / 1.379 GB, free: 138.7 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002001/2.538, allocations: 137 kB / 1.379 GB, free: 138.5 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002472/2.538, allocations: 278.3 kB / 1.38 GB, free: 138.2 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003857/2.538, allocations: 191.8 kB / 1.38 GB, free: 138 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.168e-06/2.538, allocations: 7.906 kB / 1.38 GB, free: 138 MB / 0.6823 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.001512/2.54, allocations: 0.658 MB / 1.38 GB, free: 137.4 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003516/2.54, allocations: 1.235 MB / 1.382 GB, free: 136 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.197e-05/2.54, allocations: 4 kB / 1.382 GB, free: 136 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009519/2.541, allocations: 257.6 kB / 1.382 GB, free: 135.8 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003263/2.542, allocations: 71.91 kB / 1.382 GB, free: 135.7 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005032/2.547, allocations: 3.846 MB / 1.386 GB, free: 131.6 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0013/2.548, allocations: 79.81 kB / 1.386 GB, free: 131.5 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.833e-05/2.548, allocations: 20 kB / 1.386 GB, free: 131.5 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 8.976e-06/2.548, allocations: 7.906 kB / 1.386 GB, free: 131.5 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00145/2.549, allocations: 0.5871 MB / 1.386 GB, free: 130.9 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.28e-06/2.55, allocations: 4 kB / 1.386 GB, free: 130.9 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008169/2.55, allocations: 257.8 kB / 1.387 GB, free: 130.7 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000262/2.551, allocations: 63.91 kB / 1.387 GB, free: 130.6 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004268/2.555, allocations: 3.874 MB / 1.39 GB, free: 126.5 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001337/2.556, allocations: 79.81 kB / 1.39 GB, free: 126.4 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.02e-05/2.556, allocations: 16 kB / 1.39 GB, free: 126.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.0003032/2.557, allocations: 125.4 kB / 1.391 GB, free: 126.3 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001529/2.557, allocations: 67.17 kB / 1.391 GB, free: 126.2 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001774/2.559, allocations: 0.6058 MB / 1.391 GB, free: 125.6 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.169e-06/2.559, allocations: 4 kB / 1.391 GB, free: 125.6 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.374e-06/2.559, allocations: 0 / 1.391 GB, free: 125.6 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001256/2.56, allocations: 0.6982 MB / 1.392 GB, free: 124.8 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002683/2.563, allocations: 1.574 MB / 1.393 GB, free: 123.2 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.649e-06/2.563, allocations: 0 / 1.393 GB, free: 123.2 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002434/2.563, allocations: 51.91 kB / 1.394 GB, free: 123.1 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008469/2.564, allocations: 241.5 kB / 1.394 GB, free: 122.9 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.419e-05/2.564, allocations: 4 kB / 1.394 GB, free: 122.9 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003972/2.568, allocations: 3.632 MB / 1.397 GB, free: 119 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.486e-06/2.568, allocations: 160 / 1.397 GB, free: 119 MB / 0.6823 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001648/2.569, allocations: 0.8933 MB / 1.398 GB, free: 118.1 MB / 0.6823 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.00197/2.571, allocations: 1.503 MB / 1.4 GB, free: 116.6 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002935/2.572, allocations: 192.4 kB / 1.4 GB, free: 116.4 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.529e-05/2.572, allocations: 11.98 kB / 1.4 GB, free: 116.3 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001034/2.573, allocations: 59.98 kB / 1.4 GB, free: 116.3 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.547e-05/2.573, allocations: 23.97 kB / 1.4 GB, free: 116.3 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.41e-05/2.573, allocations: 19.89 kB / 1.4 GB, free: 116.2 MB / 0.6823 GB Notification: Performance of sort global known variables: time 0.0003726/2.573, allocations: 314.9 kB / 1.4 GB, free: 115.9 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.003102/2.576, allocations: 491.8 kB / 1.401 GB, free: 115.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.0006644/2.577, allocations: 317.7 kB / 1.401 GB, free: 115.1 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.002396/2.579, allocations: 1.168 MB / 1.402 GB, free: 113.9 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 3.106e-06/2.579, allocations: 0 / 1.402 GB, free: 113.9 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.001057/2.581, allocations: 487.4 kB / 1.403 GB, free: 113.4 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001506/2.582, allocations: 307.8 kB / 1.403 GB, free: 113.1 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001839/2.584, allocations: 0.934 MB / 1.404 GB, free: 112.2 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004932/2.584, allocations: 0.9818 MB / 1.405 GB, free: 111.2 MB / 0.6823 GB Notification: Performance of SimCode: time 9.11e-07/2.584, allocations: 0 / 1.405 GB, free: 111.2 MB / 0.6823 GB (rm -f IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.CoupledVolumesSpecializedWaterTemperatureDependentDensity.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.CoupledVolumesSpecializedWaterTemperatureDependentDensity.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.CoupledVolumesSpecializedWaterTemperatureDependentDensity.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.CoupledVolumesSpecializedWaterTemperatureDependentDensity.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_MixingVolumes_Validation_CoupledVolumesSpecializedWaterTemperatureDependentDensity_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_MixingVolumes_Validation_CoupledVolumesSpecializedWaterTemperatureDependentDensity.fmu > IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.CoupledVolumesSpecializedWaterTemperatureDependentDensity.pipe 2>&1)