Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.MSLCombustionAir.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.MSLCombustionAir,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_MixingVolumes_Validation_MSLCombustionAir",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.MixingVolumes.Validation.MSLCombustionAir,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_MixingVolumes_Validation_MSLCombustionAir",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.001314/0.001314, allocations: 186.5 kB / 7.8 MB, free: 2.504 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.4659/0.4659, allocations: 90.84 MB / 99.06 MB, free: 14.97 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.293/1.293, allocations: 221.4 MB / 342.8 MB, free: 5.203 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.0009698/0.00097, allocations: 88.97 kB / 415.5 MB, free: 9.852 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.188/0.189, allocations: 78.45 MB / 493.9 MB, free: 11.49 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4506/0.6396, allocations: 72.31 MB / 0.553 GB, free: 44.77 MB / 410.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.453/2.093, allocations: 0.7544 GB / 1.307 GB, free: 106.2 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002492/2.093, allocations: 90.2 kB / 1.308 GB, free: 106.1 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: 119 * Number of variables: 119 Notification: Performance of Generate backend data structure: time 1.379/3.472, allocations: 467.8 MB / 1.764 GB, free: 114.3 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.575e-05/3.472, allocations: 8 kB / 1.764 GB, free: 114.3 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001512/3.474, allocations: 269.3 kB / 1.765 GB, free: 114.1 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001091/3.475, allocations: 0.6552 MB / 1.765 GB, free: 113.4 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.86e-05/3.475, allocations: 16 kB / 1.765 GB, free: 113.4 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.637e-05/3.475, allocations: 31.06 kB / 1.765 GB, free: 113.3 MB / 0.6042 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000607/3.475, allocations: 433.8 kB / 1.766 GB, free: 112.9 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007029/3.476, allocations: 0.5146 MB / 1.766 GB, free: 112.4 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.818e-05/3.476, allocations: 0 / 1.766 GB, free: 112.4 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.296e-05/3.476, allocations: 0 / 1.766 GB, free: 112.4 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.865e-05/3.476, allocations: 17 kB / 1.766 GB, free: 112.4 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002251/3.479, allocations: 2.191 MB / 1.768 GB, free: 110.1 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004344/3.479, allocations: 334.1 kB / 1.769 GB, free: 109.8 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002253/3.479, allocations: 199.8 kB / 1.769 GB, free: 109.6 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001893/3.479, allocations: 178.5 kB / 1.769 GB, free: 109.4 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.813e-05/3.479, allocations: 42.83 kB / 1.769 GB, free: 109.3 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=34): time 1.783e-06/3.479, allocations: 0 / 1.769 GB, free: 109.3 MB / 0.6042 GB Notification: Performance of matching and sorting (n=34): time 0.001531/3.481, allocations: 0.5348 MB / 1.77 GB, free: 108.8 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.878e-05/3.481, allocations: 55.41 kB / 1.77 GB, free: 108.7 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003169/3.481, allocations: 341.1 kB / 1.77 GB, free: 108.4 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 3.175e-05/3.481, allocations: 29.7 kB / 1.77 GB, free: 108.3 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 8.673e-05/3.481, allocations: 232.5 kB / 1.77 GB, free: 108.1 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 7.007e-05/3.482, allocations: 114.3 kB / 1.77 GB, free: 108 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.51e-05/3.482, allocations: 3.5 kB / 1.77 GB, free: 108 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 6.639e-05/3.482, allocations: 354.7 kB / 1.771 GB, free: 107.6 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001691/3.482, allocations: 136 kB / 1.771 GB, free: 107.5 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001927/3.482, allocations: 206.7 kB / 1.771 GB, free: 107.3 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006222/3.483, allocations: 264.4 kB / 1.771 GB, free: 107 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.256e-06/3.483, allocations: 2.953 kB / 1.771 GB, free: 107 MB / 0.6042 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0009218/3.484, allocations: 0.4962 MB / 1.772 GB, free: 106.5 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001174/3.484, allocations: 452.8 kB / 1.772 GB, free: 106 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.865e-06/3.484, allocations: 0 / 1.772 GB, free: 106 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.808e-05/3.484, allocations: 4 kB / 1.772 GB, free: 106 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005112/3.484, allocations: 87.89 kB / 1.772 GB, free: 106 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003241/3.485, allocations: 0.6088 MB / 1.773 GB, free: 105.3 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004697/3.485, allocations: 51.11 kB / 1.773 GB, free: 105.3 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.516e-05/3.485, allocations: 16 kB / 1.773 GB, free: 105.3 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 8.697e-06/3.485, allocations: 7.906 kB / 1.773 GB, free: 105.3 MB / 0.6042 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0007997/3.486, allocations: 435.1 kB / 1.773 GB, free: 104.8 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.955e-06/3.486, allocations: 7.406 kB / 1.773 GB, free: 104.8 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.328e-06/3.486, allocations: 0 / 1.773 GB, free: 104.8 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002861/3.486, allocations: 71.91 kB / 1.773 GB, free: 104.8 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.096e-06/3.486, allocations: 4 kB / 1.773 GB, free: 104.8 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000412/3.487, allocations: 51.64 kB / 1.773 GB, free: 104.7 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.539e-05/3.487, allocations: 23.89 kB / 1.773 GB, free: 104.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 (42): * Single equations (assignments): 41 * 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.0001225/3.487, allocations: 113.6 kB / 1.774 GB, free: 104.6 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.358e-05/3.487, allocations: 51.19 kB / 1.774 GB, free: 104.5 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001092/3.488, allocations: 0.5206 MB / 1.774 GB, free: 104 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.16e-06/3.488, allocations: 4 kB / 1.774 GB, free: 104 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.319e-06/3.488, allocations: 3.906 kB / 1.774 GB, free: 104 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008495/3.489, allocations: 0.7579 MB / 1.775 GB, free: 103.1 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002197/3.491, allocations: 1.407 MB / 1.776 GB, free: 101.6 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.788e-06/3.491, allocations: 0 / 1.776 GB, free: 101.6 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004196/3.492, allocations: 79.88 kB / 1.776 GB, free: 101.6 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001567/3.492, allocations: 36.67 kB / 1.776 GB, free: 101.5 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.293e-05/3.492, allocations: 7.984 kB / 1.776 GB, free: 101.5 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004983/3.492, allocations: 1.165 MB / 1.778 GB, free: 100.3 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.587e-06/3.492, allocations: 4.031 kB / 1.778 GB, free: 100.3 MB / 0.6042 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001184/3.494, allocations: 0.858 MB / 1.778 GB, free: 99.38 MB / 0.6042 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001528/3.495, allocations: 1.493 MB / 1.78 GB, free: 97.82 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003116/3.495, allocations: 172.4 kB / 1.78 GB, free: 97.63 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.941e-05/3.495, allocations: 11.98 kB / 1.78 GB, free: 97.62 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004106/3.496, allocations: 30.91 kB / 1.78 GB, free: 97.59 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.237e-05/3.496, allocations: 27.22 kB / 1.78 GB, free: 97.57 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.851e-05/3.496, allocations: 27.92 kB / 1.78 GB, free: 97.54 MB / 0.6042 GB Notification: Performance of sort global known variables: time 0.0002675/3.496, allocations: 267.2 kB / 1.78 GB, free: 97.28 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.002986/3.499, allocations: 0.7675 MB / 1.781 GB, free: 96.51 MB / 0.6042 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 4 (vol.dynBal.medium.Xi[1],vol.dynBal.medium.Xi[2],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 (34): * Single equations (assignments): 32 * 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.002022/3.501, allocations: 1.282 MB / 1.782 GB, free: 95.5 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.001042/3.502, allocations: 0.5678 MB / 1.783 GB, free: 94.93 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 4.138e-06/3.502, allocations: 4 kB / 1.783 GB, free: 94.93 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0003299/3.503, allocations: 195.8 kB / 1.783 GB, free: 94.74 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001255/3.504, allocations: 287 kB / 1.783 GB, free: 94.48 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001609/3.506, allocations: 1.045 MB / 1.784 GB, free: 93.46 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004382/3.506, allocations: 0.9955 MB / 1.785 GB, free: 92.44 MB / 0.6042 GB Notification: Performance of SimCode: time 3.41e-07/3.506, allocations: 3.391 kB / 1.785 GB, free: 92.44 MB / 0.6042 GB (rm -f IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.MSLCombustionAir.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.MSLCombustionAir.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.MSLCombustionAir.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.MSLCombustionAir.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_MixingVolumes_Validation_MSLCombustionAir_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_MixingVolumes_Validation_MSLCombustionAir.fmu > IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.MSLCombustionAir.pipe 2>&1)