Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.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/IBPSA 4.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 IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.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(IBPSA.Fluid.MixingVolumes.Validation.CoupledVolumesGlycol47,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_MixingVolumes_Validation_CoupledVolumesGlycol47",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.MixingVolumes.Validation.CoupledVolumesGlycol47,fileNamePrefix="IBPSA_latest_IBPSA_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.001073/0.001072, allocations: 187.6 kB / 7.803 MB, free: 2.492 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.4586/0.4586, allocations: 90.85 MB / 99.08 MB, free: 14.95 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.23/1.23, allocations: 221.4 MB / 342.8 MB, free: 5.492 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009831/0.0009833, allocations: 103.3 kB / 415.5 MB, free: 6.453 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1568/0.1578, allocations: 78.44 MB / 493.9 MB, free: 8.004 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3736/0.5314, allocations: 72.31 MB / 0.553 GB, free: 73.27 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.9529/1.484, allocations: 484.9 MB / 1.026 GB, free: 154.6 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000228/1.485, allocations: 87.2 kB / 1.027 GB, free: 154.6 MB / 0.6042 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.554/3.039, allocations: 0.5475 GB / 1.574 GB, free: 91.71 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 5.674e-05/3.039, allocations: 12 kB / 1.574 GB, free: 91.7 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001631/3.041, allocations: 146.2 kB / 1.574 GB, free: 91.56 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01065/3.052, allocations: 4.286 MB / 1.578 GB, free: 87.36 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.641e-05/3.052, allocations: 12 kB / 1.578 GB, free: 87.35 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001317/3.052, allocations: 31.91 kB / 1.578 GB, free: 87.32 MB / 0.6042 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006555/3.052, allocations: 301.9 kB / 1.579 GB, free: 87.03 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006983/3.053, allocations: 445.9 kB / 1.579 GB, free: 86.56 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.947e-05/3.053, allocations: 0 / 1.579 GB, free: 86.56 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.45e-05/3.053, allocations: 4 kB / 1.579 GB, free: 86.56 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.217e-05/3.053, allocations: 12 kB / 1.579 GB, free: 86.55 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002704/3.056, allocations: 2.215 MB / 1.581 GB, free: 84.27 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002624/3.056, allocations: 185.6 kB / 1.581 GB, free: 84.08 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001625/3.056, allocations: 139 kB / 1.582 GB, free: 83.95 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001076/3.057, allocations: 2.297 MB / 1.584 GB, free: 81.14 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.621e-05/3.057, allocations: 38.5 kB / 1.584 GB, free: 81.09 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=31): time 2.074e-06/3.058, allocations: 3.125 kB / 1.584 GB, free: 81.09 MB / 0.6042 GB Notification: Performance of matching and sorting (n=43): time 0.005844/3.063, allocations: 1.755 MB / 1.586 GB, free: 79.25 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.327e-05/3.063, allocations: 55.41 kB / 1.586 GB, free: 79.18 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005227/3.064, allocations: 418.2 kB / 1.586 GB, free: 78.77 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 4.233e-05/3.064, allocations: 25.7 kB / 1.586 GB, free: 78.74 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001033/3.064, allocations: 244.4 kB / 1.586 GB, free: 78.49 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001124/3.064, allocations: 149.7 kB / 1.586 GB, free: 78.34 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.969e-05/3.064, allocations: 3.469 kB / 1.586 GB, free: 78.34 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 8.298e-05/3.064, allocations: 366.8 kB / 1.587 GB, free: 77.98 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001903/3.065, allocations: 137 kB / 1.587 GB, free: 77.84 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002345/3.065, allocations: 257.3 kB / 1.587 GB, free: 77.54 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000939/3.066, allocations: 245.8 kB / 1.587 GB, free: 77.31 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/3.066, allocations: 0 / 1.587 GB, free: 77.31 MB / 0.6042 GB Notification: Performance of matching and sorting (n=57) (initialization): time 0.001829/3.068, allocations: 0.661 MB / 1.588 GB, free: 76.64 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002466/3.068, allocations: 1.132 MB / 1.589 GB, free: 75.43 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.003e-05/3.068, allocations: 11.09 kB / 1.589 GB, free: 75.42 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005121/3.068, allocations: 177.5 kB / 1.589 GB, free: 75.24 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002529/3.069, allocations: 75.89 kB / 1.589 GB, free: 75.17 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001267/3.07, allocations: 1.415 MB / 1.591 GB, free: 73.71 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005461/3.07, allocations: 23.89 kB / 1.591 GB, free: 73.69 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.701e-05/3.071, allocations: 43.45 kB / 1.591 GB, free: 73.65 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.084e-05/3.071, allocations: 9.969 kB / 1.591 GB, free: 73.64 MB / 0.6042 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00147/3.072, allocations: 0.5427 MB / 1.591 GB, free: 73.09 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.932e-06/3.072, allocations: 7.906 kB / 1.591 GB, free: 73.09 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004437/3.073, allocations: 181.6 kB / 1.592 GB, free: 72.9 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002303/3.073, allocations: 78.98 kB / 1.592 GB, free: 72.83 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001176/3.074, allocations: 1.419 MB / 1.593 GB, free: 71.37 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000527/3.074, allocations: 30.95 kB / 1.593 GB, free: 71.34 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.06e-05/3.075, allocations: 35.98 kB / 1.593 GB, free: 71.3 MB / 0.6042 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.0002175/3.075, allocations: 121.4 kB / 1.593 GB, free: 71.18 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003181/3.075, allocations: 79.22 kB / 1.593 GB, free: 71.11 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002494/3.078, allocations: 0.8935 MB / 1.594 GB, free: 70.26 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.684e-05/3.078, allocations: 11.28 kB / 1.594 GB, free: 70.25 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.084e-06/3.078, allocations: 7.938 kB / 1.594 GB, free: 70.24 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001577/3.079, allocations: 0.7798 MB / 1.595 GB, free: 69.41 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002817/3.082, allocations: 1.499 MB / 1.596 GB, free: 67.87 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.103e-06/3.082, allocations: 4 kB / 1.596 GB, free: 67.87 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001985/3.082, allocations: 51.84 kB / 1.596 GB, free: 67.82 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004977/3.083, allocations: 172.6 kB / 1.597 GB, free: 67.65 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.14e-05/3.083, allocations: 11.94 kB / 1.597 GB, free: 67.64 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001118/3.084, allocations: 1.401 MB / 1.598 GB, free: 66.19 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.436e-06/3.084, allocations: 0 / 1.598 GB, free: 66.19 MB / 0.6042 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002015/3.086, allocations: 1.06 MB / 1.599 GB, free: 65.1 MB / 0.6042 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.002512/3.089, allocations: 1.748 MB / 1.601 GB, free: 63.33 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003807/3.089, allocations: 216.2 kB / 1.601 GB, free: 63.1 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001178/3.089, allocations: 0 / 1.601 GB, free: 63.1 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004623/3.09, allocations: 27.59 kB / 1.601 GB, free: 63.07 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.628e-05/3.09, allocations: 27.88 kB / 1.601 GB, free: 63.05 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.623e-05/3.09, allocations: 23.98 kB / 1.601 GB, free: 63.02 MB / 0.6042 GB Notification: Performance of sort global known variables: time 0.0004302/3.09, allocations: 322.9 kB / 1.601 GB, free: 62.71 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.003747/3.094, allocations: 0.7026 MB / 1.602 GB, free: 62.01 MB / 0.6042 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.001902/3.096, allocations: 0.6292 MB / 1.603 GB, free: 61.46 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.001455/3.097, allocations: 0.739 MB / 1.603 GB, free: 60.73 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 3.917e-06/3.097, allocations: 0 / 1.603 GB, free: 60.73 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0005202/3.098, allocations: 283 kB / 1.604 GB, free: 60.45 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001453/3.099, allocations: 299.9 kB / 1.604 GB, free: 60.18 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002027/3.101, allocations: 0.9828 MB / 1.605 GB, free: 59.2 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006844/3.102, allocations: 1.04 MB / 1.606 GB, free: 58.12 MB / 0.6042 GB Notification: Performance of SimCode: time 1.022e-06/3.102, allocations: 0 / 1.606 GB, free: 58.12 MB / 0.6042 GB (rm -f IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.CoupledVolumesGlycol47.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.CoupledVolumesGlycol47.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.CoupledVolumesGlycol47.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.CoupledVolumesGlycol47.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_MixingVolumes_Validation_CoupledVolumesGlycol47_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_MixingVolumes_Validation_CoupledVolumesGlycol47.fmu > IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.CoupledVolumesGlycol47.pipe 2>&1)