Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_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_dev_IDEAS_Fluid_MixingVolumes_Validation_CoupledVolumesGlycol47",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.MixingVolumes.Validation.CoupledVolumesGlycol47,fileNamePrefix="IDEAS_dev_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.00301/0.00301, allocations: 179.6 kB / 7.458 MB, free: 2.5 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7952/0.7952, allocations: 133.5 MB / 141.4 MB, free: 15.66 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.774/1.774, 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.001018/0.001018, allocations: 101.4 kB / 477.8 MB, free: 10.95 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.468/0.469, allocations: 88.43 MB / 0.5529 GB, free: 88.96 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1702/0.6393, allocations: 82.3 MB / 0.6333 GB, free: 14.04 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.196/1.835, allocations: 494.6 MB / 1.116 GB, free: 140.8 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002122/1.836, allocations: 91.94 kB / 1.116 GB, free: 140.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: 112 * Number of variables: 112 Notification: Performance of Generate backend data structure: time 1.762/3.598, allocations: 0.5392 GB / 1.656 GB, free: 140.3 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.536e-05/3.598, allocations: 8 kB / 1.656 GB, free: 140.3 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001026/3.599, allocations: 150.9 kB / 1.656 GB, free: 140.2 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009832/3.609, allocations: 4.306 MB / 1.66 GB, free: 136 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.333e-05/3.609, allocations: 16 kB / 1.66 GB, free: 136 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.641e-05/3.609, allocations: 28 kB / 1.66 GB, free: 135.9 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006982/3.609, allocations: 289.9 kB / 1.66 GB, free: 135.7 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006946/3.61, allocations: 453 kB / 1.661 GB, free: 135.2 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.159e-05/3.61, allocations: 2.312 kB / 1.661 GB, free: 135.2 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.578e-05/3.61, allocations: 0 / 1.661 GB, free: 135.2 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.332e-05/3.61, allocations: 12 kB / 1.661 GB, free: 135.2 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002477/3.613, allocations: 2.222 MB / 1.663 GB, free: 132.9 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002655/3.613, allocations: 201 kB / 1.663 GB, free: 132.7 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001636/3.613, allocations: 124.8 kB / 1.663 GB, free: 132.6 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001274/3.615, allocations: 2.294 MB / 1.665 GB, free: 129.7 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.651e-05/3.615, allocations: 34.56 kB / 1.665 GB, free: 129.7 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=31): time 2.545e-06/3.615, allocations: 0 / 1.665 GB, free: 129.7 MB / 0.6823 GB Notification: Performance of matching and sorting (n=43): time 0.005711/3.62, allocations: 1.76 MB / 1.667 GB, free: 127.9 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.378e-05/3.62, allocations: 59.22 kB / 1.667 GB, free: 127.8 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005484/3.621, allocations: 414.3 kB / 1.668 GB, free: 127.4 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 4.114e-05/3.621, allocations: 29.7 kB / 1.668 GB, free: 127.3 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001262/3.621, allocations: 248.3 kB / 1.668 GB, free: 127.1 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001104/3.621, allocations: 145.9 kB / 1.668 GB, free: 126.9 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.003e-05/3.621, allocations: 0 / 1.668 GB, free: 126.9 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001056/3.621, allocations: 362.8 kB / 1.668 GB, free: 126.6 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002157/3.622, allocations: 141 kB / 1.669 GB, free: 126.4 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002409/3.622, allocations: 255.8 kB / 1.669 GB, free: 126.2 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008962/3.623, allocations: 246.3 kB / 1.669 GB, free: 125.9 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.527e-06/3.623, allocations: 7.984 kB / 1.669 GB, free: 125.9 MB / 0.6823 GB Notification: Performance of matching and sorting (n=57) (initialization): time 0.001706/3.624, allocations: 0.6492 MB / 1.67 GB, free: 125.3 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002452/3.625, allocations: 1.127 MB / 1.671 GB, free: 124 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.071e-05/3.625, allocations: 10.94 kB / 1.671 GB, free: 124 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005182/3.625, allocations: 188.1 kB / 1.671 GB, free: 123.9 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002659/3.626, allocations: 71.89 kB / 1.671 GB, free: 123.8 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001241/3.627, allocations: 1.415 MB / 1.672 GB, free: 122.3 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005188/3.627, allocations: 27.77 kB / 1.672 GB, free: 122.3 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.739e-05/3.627, allocations: 39.98 kB / 1.672 GB, free: 122.3 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.192e-05/3.627, allocations: 4 kB / 1.672 GB, free: 122.3 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001534/3.629, allocations: 0.5616 MB / 1.673 GB, free: 121.7 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.919e-06/3.629, allocations: 96 / 1.673 GB, free: 121.7 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005233/3.629, allocations: 189 kB / 1.673 GB, free: 121.5 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002392/3.63, allocations: 67.91 kB / 1.673 GB, free: 121.4 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001316/3.631, allocations: 1.421 MB / 1.675 GB, free: 120 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005454/3.632, allocations: 15.98 kB / 1.675 GB, free: 120 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.122e-05/3.632, allocations: 46.48 kB / 1.675 GB, free: 119.9 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.000274/3.632, allocations: 123.2 kB / 1.675 GB, free: 119.8 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003018/3.632, allocations: 78.84 kB / 1.675 GB, free: 119.7 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002625/3.635, allocations: 0.9099 MB / 1.676 GB, free: 118.9 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.054e-05/3.635, allocations: 8 kB / 1.676 GB, free: 118.9 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.308e-06/3.635, allocations: 3.938 kB / 1.676 GB, free: 118.8 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001609/3.637, allocations: 0.784 MB / 1.677 GB, free: 118 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003015/3.64, allocations: 1.488 MB / 1.678 GB, free: 116.5 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.7e-06/3.64, allocations: 3.938 kB / 1.678 GB, free: 116.5 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001927/3.64, allocations: 43.98 kB / 1.678 GB, free: 116.4 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004975/3.64, allocations: 173 kB / 1.678 GB, free: 116.3 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.201e-05/3.64, allocations: 8 kB / 1.678 GB, free: 116.3 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001234/3.642, allocations: 1.415 MB / 1.68 GB, free: 114.8 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.168e-06/3.642, allocations: 0 / 1.68 GB, free: 114.8 MB / 0.6823 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002064/3.644, allocations: 1.051 MB / 1.681 GB, free: 113.7 MB / 0.6823 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.002546/3.646, allocations: 1.754 MB / 1.682 GB, free: 111.9 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004257/3.647, allocations: 204.3 kB / 1.683 GB, free: 111.7 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001017/3.647, allocations: 11.62 kB / 1.683 GB, free: 111.7 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004507/3.647, allocations: 23.88 kB / 1.683 GB, free: 111.7 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.96e-05/3.647, allocations: 23.86 kB / 1.683 GB, free: 111.7 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.933e-05/3.647, allocations: 23.98 kB / 1.683 GB, free: 111.6 MB / 0.6823 GB Notification: Performance of sort global known variables: time 0.0004316/3.648, allocations: 330.4 kB / 1.683 GB, free: 111.3 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.003583/3.651, allocations: 0.6986 MB / 1.684 GB, free: 110.6 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.001685/3.653, allocations: 0.6289 MB / 1.684 GB, free: 110.1 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.001485/3.655, allocations: 0.737 MB / 1.685 GB, free: 109.3 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 3.026e-06/3.655, allocations: 0 / 1.685 GB, free: 109.3 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0004782/3.655, allocations: 284.1 kB / 1.685 GB, free: 109.1 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001404/3.657, allocations: 288.5 kB / 1.685 GB, free: 108.8 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002058/3.659, allocations: 0.9904 MB / 1.686 GB, free: 107.9 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006663/3.659, allocations: 1.042 MB / 1.687 GB, free: 106.8 MB / 0.6823 GB Notification: Performance of SimCode: time 5.71e-07/3.659, allocations: 0 / 1.687 GB, free: 106.8 MB / 0.6823 GB (rm -f IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.CoupledVolumesGlycol47.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.CoupledVolumesGlycol47.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.CoupledVolumesGlycol47.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.CoupledVolumesGlycol47.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_MixingVolumes_Validation_CoupledVolumesGlycol47_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_MixingVolumes_Validation_CoupledVolumesGlycol47.fmu > IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.CoupledVolumesGlycol47.pipe 2>&1)