Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MSLFlueGasSixComponents.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo", uses=false) 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/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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.MSLFlueGasSixComponents,fileNamePrefix="Buildings_9_Buildings_Fluid_MixingVolumes_Validation_MSLFlueGasSixComponents",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.MSLFlueGasSixComponents,fileNamePrefix="Buildings_9_Buildings_Fluid_MixingVolumes_Validation_MSLFlueGasSixComponents",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/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.136/2.136, allocations: 387.2 MB / 394.5 MB, free: 13.65 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001419/0.001418, allocations: 181.2 kB / 487 MB, free: 5.348 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.52/1.52, allocations: 221.3 MB / 0.7819 GB, free: 1.34 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000975/0.000975, allocations: 100.3 kB / 0.9213 GB, free: 2.586 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.6498/0.6508, allocations: 148.5 MB / 1.066 GB, free: 168.2 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.252/0.9028, allocations: 142.3 MB / 1.205 GB, free: 26.12 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 2.056/2.959, allocations: 0.8131 GB / 2.018 GB, free: 146.2 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003417/2.96, allocations: 80.64 kB / 2.018 GB, free: 146.2 MB / 1.151 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 215 * Number of variables: 215 Notification: Performance of Generate backend data structure: time 2.864/5.824, allocations: 0.912 GB / 2.931 GB, free: 132.3 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 4.908e-05/5.824, allocations: 12 kB / 2.931 GB, free: 132.3 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002605/5.826, allocations: 487 kB / 2.931 GB, free: 131.8 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001956/5.828, allocations: 0.9918 MB / 2.932 GB, free: 130.8 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.849e-05/5.828, allocations: 31.94 kB / 2.932 GB, free: 130.8 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001265/5.829, allocations: 51.98 kB / 2.932 GB, free: 130.7 MB / 1.167 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001257/5.83, allocations: 0.902 MB / 2.933 GB, free: 129.8 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00138/5.831, allocations: 0.9014 MB / 2.934 GB, free: 128.9 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.694e-05/5.831, allocations: 0 / 2.934 GB, free: 128.9 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.318e-05/5.831, allocations: 4 kB / 2.934 GB, free: 128.9 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.37e-05/5.831, allocations: 30 kB / 2.934 GB, free: 128.9 MB / 1.167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004975/5.836, allocations: 3.58 MB / 2.937 GB, free: 125.1 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007979/5.837, allocations: 0.6179 MB / 2.938 GB, free: 124.5 MB / 1.167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004565/5.838, allocations: 426.8 kB / 2.938 GB, free: 124 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002828/5.838, allocations: 210.7 kB / 2.939 GB, free: 123.8 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.235e-05/5.838, allocations: 43.05 kB / 2.939 GB, free: 123.8 MB / 1.167 GB Notification: Performance of pre-optimization done (n=62): time 3.116e-06/5.838, allocations: 4 kB / 2.939 GB, free: 123.8 MB / 1.167 GB Notification: Performance of matching and sorting (n=62): time 0.00234/5.84, allocations: 0.9575 MB / 2.94 GB, free: 122.8 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.79e-05/5.84, allocations: 63.84 kB / 2.94 GB, free: 122.7 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005269/5.841, allocations: 470.3 kB / 2.94 GB, free: 122.2 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 5.438e-05/5.841, allocations: 25.7 kB / 2.94 GB, free: 122.2 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.000137/5.841, allocations: 331.8 kB / 2.94 GB, free: 121.9 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001598/5.841, allocations: 220.7 kB / 2.941 GB, free: 121.7 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.75e-05/5.841, allocations: 0 / 2.941 GB, free: 121.7 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 0.0001359/5.842, allocations: 374.8 kB / 2.941 GB, free: 121.3 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003402/5.842, allocations: 293.2 kB / 2.941 GB, free: 121 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003934/5.842, allocations: 409.4 kB / 2.942 GB, free: 120.6 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008582/5.843, allocations: 487.3 kB / 2.942 GB, free: 120.1 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.116e-06/5.843, allocations: 0 / 2.942 GB, free: 120.1 MB / 1.167 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001393/5.845, allocations: 0.9206 MB / 2.943 GB, free: 119.2 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001135/5.845, allocations: 447.7 kB / 2.943 GB, free: 118.7 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.516e-06/5.845, allocations: 4 kB / 2.943 GB, free: 118.7 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.034e-05/5.845, allocations: 7.906 kB / 2.943 GB, free: 118.7 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006785/5.845, allocations: 139.8 kB / 2.944 GB, free: 118.5 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003666/5.846, allocations: 0.6017 MB / 2.944 GB, free: 117.9 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008815/5.847, allocations: 111.6 kB / 2.944 GB, free: 117.8 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.112e-05/5.847, allocations: 35.91 kB / 2.944 GB, free: 117.8 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 1.307e-05/5.847, allocations: 4 kB / 2.944 GB, free: 117.8 MB / 1.167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001368/5.848, allocations: 0.8221 MB / 2.945 GB, free: 116.9 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.839e-06/5.848, allocations: 0 / 2.945 GB, free: 116.9 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.156e-06/5.848, allocations: 8.125 kB / 2.945 GB, free: 116.9 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000466/5.849, allocations: 131.8 kB / 2.945 GB, free: 116.8 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.338e-06/5.849, allocations: 4 kB / 2.945 GB, free: 116.8 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000942/5.85, allocations: 107.4 kB / 2.945 GB, free: 116.7 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.437e-05/5.85, allocations: 35.92 kB / 2.945 GB, free: 116.7 MB / 1.167 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (74): * Single equations (assignments): 73 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002519/5.85, allocations: 116.9 kB / 2.945 GB, free: 116.5 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001444/5.85, allocations: 75.14 kB / 2.946 GB, free: 116.5 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001774/5.852, allocations: 0.9526 MB / 2.946 GB, free: 115.5 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.267e-06/5.852, allocations: 8 kB / 2.946 GB, free: 115.5 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.464e-06/5.852, allocations: 3.984 kB / 2.946 GB, free: 115.5 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001227/5.853, allocations: 0.9136 MB / 2.947 GB, free: 114.6 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003664/5.857, allocations: 2.514 MB / 2.95 GB, free: 111.9 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.148e-06/5.857, allocations: 0 / 2.95 GB, free: 111.9 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006098/5.858, allocations: 144.2 kB / 2.95 GB, free: 111.8 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001458/5.858, allocations: 48.84 kB / 2.95 GB, free: 111.7 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.456e-05/5.858, allocations: 19.98 kB / 2.95 GB, free: 111.7 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00047/5.858, allocations: 1.193 MB / 2.951 GB, free: 110.5 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.631e-06/5.858, allocations: 4 kB / 2.951 GB, free: 110.5 MB / 1.167 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001802/5.86, allocations: 1.599 MB / 2.953 GB, free: 108.7 MB / 1.167 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.002467/5.862, allocations: 2.461 MB / 2.955 GB, free: 106.1 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005018/5.863, allocations: 256 kB / 2.955 GB, free: 105.8 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001117/5.863, allocations: 8 kB / 2.955 GB, free: 105.8 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006787/5.864, allocations: 67.78 kB / 2.955 GB, free: 105.7 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.07e-05/5.864, allocations: 52.22 kB / 2.956 GB, free: 105.7 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.144e-05/5.864, allocations: 31.98 kB / 2.956 GB, free: 105.7 MB / 1.167 GB Notification: Performance of sort global known variables: time 0.0004433/5.864, allocations: 374.9 kB / 2.956 GB, free: 105.3 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.003748/5.868, allocations: 1.025 MB / 2.957 GB, free: 104.3 MB / 1.167 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * Number of states: 8 (vol.dynBal.medium.Xi[1],vol.dynBal.medium.Xi[2],vol.dynBal.medium.Xi[3],vol.dynBal.medium.Xi[4],vol.dynBal.medium.Xi[5],vol.dynBal.medium.Xi[6],vol.dynBal.U,vol.dynBal.m) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (62): * Single equations (assignments): 60 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.00302/5.871, allocations: 1.475 MB / 2.958 GB, free: 102.8 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.001658/5.873, allocations: 1.167 MB / 2.96 GB, free: 101.6 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 5.29e-06/5.873, allocations: 0.5 kB / 2.96 GB, free: 101.6 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.0005322/5.873, allocations: 405.3 kB / 2.96 GB, free: 101.2 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001989/5.875, allocations: 412.5 kB / 2.96 GB, free: 100.8 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003156/5.879, allocations: 1.974 MB / 2.962 GB, free: 98.79 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007784/5.879, allocations: 1.228 MB / 2.963 GB, free: 97.54 MB / 1.167 GB Notification: Performance of SimCode: time 9.42e-07/5.879, allocations: 0 / 2.963 GB, free: 97.54 MB / 1.167 GB (rm -f Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MSLFlueGasSixComponents.pipe ; mkfifo Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MSLFlueGasSixComponents.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MSLFlueGasSixComponents.pipe >> ../files/Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MSLFlueGasSixComponents.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MSLFlueGasSixComponents_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_MixingVolumes_Validation_MSLFlueGasSixComponents_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_MixingVolumes_Validation_MSLFlueGasSixComponents.fmu > Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MSLFlueGasSixComponents.pipe 2>&1)