Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Fluid.MixingVolumes.Validation.CoupledVolumesGlycol47.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.CoupledVolumesGlycol47,fileNamePrefix="IDEAS_IDEAS_Fluid_MixingVolumes_Validation_CoupledVolumesGlycol47",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.MixingVolumes.Validation.CoupledVolumesGlycol47,fileNamePrefix="IDEAS_IDEAS_Fluid_MixingVolumes_Validation_CoupledVolumesGlycol47",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.003564/0.003564, allocations: 187 kB / 7.463 MB, free: 2.238 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8092/0.8092, 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.402/1.402, allocations: 221.3 MB / 395 MB, free: 10.16 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.001068/0.001068, allocations: 98.25 kB / 477.8 MB, free: 10.78 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.392/0.3931, allocations: 88.42 MB / 0.5529 GB, free: 89.11 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1817/0.5749, allocations: 82.29 MB / 0.6333 GB, free: 13.99 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.16/1.735, allocations: 494.6 MB / 1.116 GB, free: 140.6 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003639/1.735, allocations: 91.28 kB / 1.116 GB, free: 140.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: 112 * Number of variables: 112 Notification: Performance of Generate backend data structure: time 1.773/3.509, allocations: 0.5392 GB / 1.656 GB, free: 140.8 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.152e-05/3.509, allocations: 8 kB / 1.656 GB, free: 140.8 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009742/3.51, allocations: 146.9 kB / 1.656 GB, free: 140.6 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009397/3.519, allocations: 4.299 MB / 1.66 GB, free: 136.4 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.375e-05/3.519, allocations: 12 kB / 1.66 GB, free: 136.4 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.745e-05/3.519, allocations: 28.66 kB / 1.66 GB, free: 136.4 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005571/3.52, allocations: 293.5 kB / 1.66 GB, free: 136.1 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006351/3.52, allocations: 450.1 kB / 1.661 GB, free: 135.7 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.26e-05/3.52, allocations: 3.938 kB / 1.661 GB, free: 135.7 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.391e-05/3.521, allocations: 2.781 kB / 1.661 GB, free: 135.7 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.33e-05/3.521, allocations: 12 kB / 1.661 GB, free: 135.6 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002385/3.523, allocations: 2.22 MB / 1.663 GB, free: 133.3 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002552/3.523, allocations: 193 kB / 1.663 GB, free: 133.2 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000161/3.523, allocations: 128.8 kB / 1.663 GB, free: 133 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001378/3.525, allocations: 2.293 MB / 1.665 GB, free: 130.2 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.231e-05/3.525, allocations: 38.5 kB / 1.665 GB, free: 130.2 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=31): time 2.554e-06/3.525, allocations: 0 / 1.665 GB, free: 130.2 MB / 0.6823 GB Notification: Performance of matching and sorting (n=43): time 0.005787/3.531, allocations: 1.759 MB / 1.667 GB, free: 128.3 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.555e-05/3.531, allocations: 63.41 kB / 1.667 GB, free: 128.2 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005515/3.531, allocations: 418.2 kB / 1.668 GB, free: 127.8 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 3.95e-05/3.531, allocations: 25.7 kB / 1.668 GB, free: 127.8 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001316/3.531, allocations: 248.3 kB / 1.668 GB, free: 127.6 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001178/3.532, allocations: 145.5 kB / 1.668 GB, free: 127.4 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.004e-05/3.532, allocations: 0 / 1.668 GB, free: 127.4 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001121/3.532, allocations: 362.8 kB / 1.668 GB, free: 127.1 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001917/3.532, allocations: 141 kB / 1.669 GB, free: 126.9 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002406/3.532, allocations: 254 kB / 1.669 GB, free: 126.6 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008978/3.533, allocations: 246.3 kB / 1.669 GB, free: 126.4 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/3.533, allocations: 4 kB / 1.669 GB, free: 126.4 MB / 0.6823 GB Notification: Performance of matching and sorting (n=57) (initialization): time 0.001689/3.535, allocations: 0.6567 MB / 1.67 GB, free: 125.7 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002909/3.535, allocations: 1.136 MB / 1.671 GB, free: 124.5 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.081e-05/3.535, allocations: 3.906 kB / 1.671 GB, free: 124.5 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005137/3.536, allocations: 176.9 kB / 1.671 GB, free: 124.3 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002537/3.536, allocations: 75.84 kB / 1.671 GB, free: 124.3 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00132/3.537, allocations: 1.416 MB / 1.672 GB, free: 122.8 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004928/3.538, allocations: 30.44 kB / 1.672 GB, free: 122.8 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.618e-05/3.538, allocations: 42.88 kB / 1.672 GB, free: 122.7 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.039e-05/3.538, allocations: 1.562 kB / 1.672 GB, free: 122.7 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001435/3.539, allocations: 0.5588 MB / 1.673 GB, free: 122.2 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.587e-06/3.539, allocations: 3.938 kB / 1.673 GB, free: 122.2 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000423/3.54, allocations: 184.1 kB / 1.673 GB, free: 122 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002108/3.54, allocations: 71.84 kB / 1.673 GB, free: 121.9 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001184/3.541, allocations: 1.42 MB / 1.675 GB, free: 120.4 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004629/3.542, allocations: 18.95 kB / 1.675 GB, free: 120.4 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.819e-05/3.542, allocations: 43.91 kB / 1.675 GB, free: 120.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: 13 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (41): * Single equations (assignments): 39 * 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.0002732/3.542, allocations: 134.2 kB / 1.675 GB, free: 120.3 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003005/3.542, allocations: 75.22 kB / 1.675 GB, free: 120.2 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002535/3.545, allocations: 0.9066 MB / 1.676 GB, free: 119.3 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.286e-05/3.545, allocations: 8 kB / 1.676 GB, free: 119.3 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.831e-06/3.545, allocations: 0 / 1.676 GB, free: 119.3 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001488/3.546, allocations: 0.7872 MB / 1.677 GB, free: 118.5 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002744/3.549, allocations: 1.484 MB / 1.678 GB, free: 116.9 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.579e-06/3.549, allocations: 3.406 kB / 1.678 GB, free: 116.9 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001831/3.549, allocations: 55.84 kB / 1.678 GB, free: 116.9 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000459/3.55, allocations: 169.2 kB / 1.678 GB, free: 116.7 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.69e-05/3.55, allocations: 8 kB / 1.678 GB, free: 116.7 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001076/3.551, allocations: 1.407 MB / 1.68 GB, free: 115.3 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.886e-06/3.551, allocations: 0 / 1.68 GB, free: 115.3 MB / 0.6823 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001926/3.553, allocations: 1.058 MB / 1.681 GB, free: 114.2 MB / 0.6823 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.002335/3.555, allocations: 1.747 MB / 1.682 GB, free: 112.4 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003794/3.556, allocations: 208.2 kB / 1.683 GB, free: 112.2 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.479e-05/3.556, allocations: 15.28 kB / 1.683 GB, free: 112.2 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004137/3.556, allocations: 23.83 kB / 1.683 GB, free: 112.1 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.782e-05/3.556, allocations: 23.95 kB / 1.683 GB, free: 112.1 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.295e-05/3.556, allocations: 27.7 kB / 1.683 GB, free: 112.1 MB / 0.6823 GB Notification: Performance of sort global known variables: time 0.0003937/3.557, allocations: 322.9 kB / 1.683 GB, free: 111.8 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.003285/3.56, allocations: 0.691 MB / 1.684 GB, free: 111.1 MB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 2 (vol.dynBal.medium.T_degC,vol1.dynBal.medium.T_degC) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (32): * Single equations (assignments): 27 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 1 * 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 7,2 5} Notification: Performance of Backend phase and start with SimCode phase: time 0.001726/3.562, allocations: 0.6321 MB / 1.684 GB, free: 110.5 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.001477/3.563, allocations: 0.7354 MB / 1.685 GB, free: 109.8 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 3.657e-06/3.563, allocations: 4 kB / 1.685 GB, free: 109.8 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0004738/3.564, allocations: 279.7 kB / 1.685 GB, free: 109.5 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00151/3.565, allocations: 297 kB / 1.685 GB, free: 109.3 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001994/3.567, allocations: 0.9869 MB / 1.686 GB, free: 108.3 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000693/3.568, allocations: 1.044 MB / 1.687 GB, free: 107.3 MB / 0.6823 GB Notification: Performance of SimCode: time 8.11e-07/3.568, allocations: 3.031 kB / 1.687 GB, free: 107.3 MB / 0.6823 GB (rm -f IDEAS_IDEAS.Fluid.MixingVolumes.Validation.CoupledVolumesGlycol47.pipe ; mkfifo IDEAS_IDEAS.Fluid.MixingVolumes.Validation.CoupledVolumesGlycol47.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.MixingVolumes.Validation.CoupledVolumesGlycol47.pipe >> ../files/IDEAS_IDEAS.Fluid.MixingVolumes.Validation.CoupledVolumesGlycol47.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_MixingVolumes_Validation_CoupledVolumesGlycol47_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_MixingVolumes_Validation_CoupledVolumesGlycol47.fmu > IDEAS_IDEAS.Fluid.MixingVolumes.Validation.CoupledVolumesGlycol47.pipe 2>&1)