Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.MSLFlueGasSixComponents.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.MSLFlueGasSixComponents,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_MixingVolumes_Validation_MSLFlueGasSixComponents",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.MixingVolumes.Validation.MSLFlueGasSixComponents,fileNamePrefix="IBPSA_latest_IBPSA_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/Complex 4.0.0+maint.om/package.mo): time 0.00113/0.00113, allocations: 188.2 kB / 7.804 MB, free: 2.488 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.461/0.461, allocations: 90.85 MB / 99.07 MB, free: 14.94 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.317/1.317, allocations: 221.4 MB / 342.8 MB, free: 5.445 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.001048/0.001049, allocations: 89.36 kB / 415.5 MB, free: 9.879 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1655/0.1666, allocations: 78.45 MB / 494 MB, free: 11.5 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3924/0.5589, allocations: 72.3 MB / 0.553 GB, free: 44.77 MB / 410.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.495/2.054, allocations: 0.7665 GB / 1.319 GB, free: 72.93 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002142/2.054, allocations: 88.8 kB / 1.32 GB, free: 72.89 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: 215 * Number of variables: 215 Notification: Performance of Generate backend data structure: time 3.052/5.106, allocations: 0.9119 GB / 2.231 GB, free: 83.18 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.386e-05/5.106, allocations: 8 kB / 2.231 GB, free: 83.18 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00294/5.109, allocations: 484.2 kB / 2.232 GB, free: 82.71 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002506/5.112, allocations: 1.001 MB / 2.233 GB, free: 81.69 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.945e-05/5.112, allocations: 27.39 kB / 2.233 GB, free: 81.67 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002437/5.112, allocations: 55.91 kB / 2.233 GB, free: 81.61 MB / 0.6042 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001706/5.114, allocations: 0.9059 MB / 2.234 GB, free: 80.71 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001602/5.115, allocations: 0.8976 MB / 2.235 GB, free: 79.8 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.511e-05/5.115, allocations: 0 / 2.235 GB, free: 79.8 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.242e-05/5.115, allocations: 3.938 kB / 2.235 GB, free: 79.8 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.811e-05/5.115, allocations: 36.25 kB / 2.235 GB, free: 79.77 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004733/5.12, allocations: 3.554 MB / 2.238 GB, free: 76.09 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007862/5.121, allocations: 0.6208 MB / 2.239 GB, free: 75.45 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004564/5.121, allocations: 430.7 kB / 2.239 GB, free: 75.03 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002332/5.122, allocations: 214.3 kB / 2.239 GB, free: 74.79 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.33e-05/5.122, allocations: 43.06 kB / 2.24 GB, free: 74.74 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=62): time 2.274e-06/5.122, allocations: 4 kB / 2.24 GB, free: 74.73 MB / 0.6042 GB Notification: Performance of matching and sorting (n=62): time 0.002463/5.124, allocations: 0.9612 MB / 2.24 GB, free: 73.77 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.465e-05/5.124, allocations: 55.91 kB / 2.241 GB, free: 73.7 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005883/5.125, allocations: 474.2 kB / 2.241 GB, free: 73.23 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 8.547e-05/5.125, allocations: 27.34 kB / 2.241 GB, free: 73.2 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001698/5.125, allocations: 327.8 kB / 2.241 GB, free: 72.87 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001986/5.125, allocations: 216.6 kB / 2.242 GB, free: 72.66 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.79e-05/5.125, allocations: 0 / 2.242 GB, free: 72.66 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 0.0001302/5.125, allocations: 378.8 kB / 2.242 GB, free: 72.28 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003778/5.126, allocations: 301.1 kB / 2.242 GB, free: 71.99 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004312/5.126, allocations: 393.5 kB / 2.243 GB, free: 71.58 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009584/5.127, allocations: 491 kB / 2.243 GB, free: 71.11 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.135e-06/5.127, allocations: 0 / 2.243 GB, free: 71.11 MB / 0.6042 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001525/5.129, allocations: 0.9244 MB / 2.244 GB, free: 70.17 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001333/5.129, allocations: 452 kB / 2.244 GB, free: 69.7 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.858e-06/5.129, allocations: 0 / 2.244 GB, free: 69.7 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.314e-05/5.129, allocations: 6.906 kB / 2.244 GB, free: 69.7 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007035/5.13, allocations: 139.8 kB / 2.244 GB, free: 69.56 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003205/5.13, allocations: 0.6016 MB / 2.245 GB, free: 68.94 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008815/5.131, allocations: 118 kB / 2.245 GB, free: 68.84 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.544e-05/5.131, allocations: 31.98 kB / 2.245 GB, free: 68.8 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 8.175e-06/5.131, allocations: 4 kB / 2.245 GB, free: 68.8 MB / 0.6042 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001356/5.132, allocations: 0.8182 MB / 2.246 GB, free: 67.98 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.437e-06/5.132, allocations: 4 kB / 2.246 GB, free: 67.98 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.065e-06/5.132, allocations: 4 kB / 2.246 GB, free: 67.97 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004823/5.133, allocations: 134.6 kB / 2.246 GB, free: 67.84 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.057e-06/5.133, allocations: 7.984 kB / 2.246 GB, free: 67.84 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008702/5.134, allocations: 113.5 kB / 2.246 GB, free: 67.73 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.454e-05/5.134, allocations: 31.98 kB / 2.246 GB, free: 67.7 MB / 0.6042 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.0001833/5.134, allocations: 112.9 kB / 2.246 GB, free: 67.59 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001661/5.134, allocations: 71.16 kB / 2.246 GB, free: 67.52 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001824/5.136, allocations: 0.9554 MB / 2.247 GB, free: 66.55 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.935e-06/5.136, allocations: 8 kB / 2.247 GB, free: 66.55 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.682e-06/5.136, allocations: 2.844 kB / 2.247 GB, free: 66.55 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001334/5.137, allocations: 0.9059 MB / 2.248 GB, free: 65.61 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003956/5.141, allocations: 2.511 MB / 2.251 GB, free: 62.99 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.454e-06/5.141, allocations: 4 kB / 2.251 GB, free: 62.99 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006456/5.142, allocations: 143.3 kB / 2.251 GB, free: 62.85 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001569/5.142, allocations: 40.83 kB / 2.251 GB, free: 62.81 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.167e-05/5.142, allocations: 16 kB / 2.251 GB, free: 62.79 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005462/5.143, allocations: 1.207 MB / 2.252 GB, free: 61.54 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.265e-06/5.143, allocations: 8.062 kB / 2.252 GB, free: 61.54 MB / 0.6042 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002093/5.145, allocations: 1.608 MB / 2.254 GB, free: 59.8 MB / 0.6042 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.002634/5.148, allocations: 2.466 MB / 2.256 GB, free: 57.2 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005106/5.148, allocations: 248.1 kB / 2.256 GB, free: 56.94 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001667/5.148, allocations: 11.89 kB / 2.256 GB, free: 56.93 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007979/5.149, allocations: 66.09 kB / 2.256 GB, free: 56.87 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.821e-05/5.149, allocations: 46.75 kB / 2.256 GB, free: 56.82 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.08e-05/5.149, allocations: 31.98 kB / 2.257 GB, free: 56.79 MB / 0.6042 GB Notification: Performance of sort global known variables: time 0.0004016/5.15, allocations: 370.9 kB / 2.257 GB, free: 56.43 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.004126/5.154, allocations: 1.029 MB / 2.258 GB, free: 55.4 MB / 0.6042 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.003155/5.157, allocations: 1.484 MB / 2.259 GB, free: 54.24 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.001862/5.159, allocations: 1.167 MB / 2.26 GB, free: 53.08 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 5.54e-06/5.159, allocations: 0 / 2.26 GB, free: 53.08 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0006074/5.16, allocations: 405.1 kB / 2.261 GB, free: 52.69 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002274/5.162, allocations: 426.3 kB / 2.261 GB, free: 52.3 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003666/5.166, allocations: 1.952 MB / 2.263 GB, free: 50.49 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000982/5.167, allocations: 1.236 MB / 2.264 GB, free: 49.23 MB / 0.6042 GB Notification: Performance of SimCode: time 7.31e-07/5.167, allocations: 0 / 2.264 GB, free: 49.23 MB / 0.6042 GB (rm -f IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.MSLFlueGasSixComponents.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.MSLFlueGasSixComponents.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.MSLFlueGasSixComponents.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.MSLFlueGasSixComponents.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_MixingVolumes_Validation_MSLFlueGasSixComponents_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_MixingVolumes_Validation_MSLFlueGasSixComponents.fmu > IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.MSLFlueGasSixComponents.pipe 2>&1)