Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Validation.WetCoilDiscretizedInitializationPerfectGases.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.Validation.WetCoilDiscretizedInitializationPerfectGases,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_HeatExchangers_Validation_WetCoilDiscretizedInitializationPerfectGases",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.Validation.WetCoilDiscretizedInitializationPerfectGases,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_HeatExchangers_Validation_WetCoilDiscretizedInitializationPerfectGases",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 7.0.3-maint.7.0.x/package.mo): time 1.289/1.289, allocations: 249.4 MB / 256.7 MB, free: 7.102 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001004/0.001004, allocations: 181.2 kB / 316 MB, free: 3.539 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.158/1.158, allocations: 205.2 MB / 0.5667 GB, free: 15.75 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009007/0.0009006, allocations: 85.73 kB / 0.671 GB, free: 4.879 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.3186/0.3195, allocations: 112.5 MB / 0.7808 GB, free: 103 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1481/0.4676, allocations: 106.3 MB / 0.8847 GB, free: 12.55 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.13/4.597, allocations: 2.481 GB / 3.366 GB, free: 284.9 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002732/4.598, allocations: 91.94 kB / 3.366 GB, free: 284.8 MB / 0.8698 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/Fluid/Movers/BaseClasses/IdealSource.mo:14:3-22:27:writable] Error: The conditional expression control_m_flow could not be evaluated. Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5549 * Number of variables: 5549 Notification: Performance of Generate backend data structure: time 62.9/67.5, allocations: 19.14 GB / 22.5 GB, free: 42.36 MB / 1.292 GB Notification: Performance of prepare preOptimizeDAE: time 5.835e-05/67.5, allocations: 7.969 kB / 22.5 GB, free: 42.36 MB / 1.292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0489/67.55, allocations: 6.24 MB / 22.51 GB, free: 40.73 MB / 1.292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.148/67.7, allocations: 55.15 MB / 22.56 GB, free: 36.95 MB / 1.292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001727/67.7, allocations: 0.6709 MB / 22.57 GB, free: 36.95 MB / 1.292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.01286/67.71, allocations: 1.286 MB / 22.57 GB, free: 36.93 MB / 1.292 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.08549/67.8, allocations: 34.46 MB / 22.6 GB, free: 36.85 MB / 1.292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1178/67.92, allocations: 36.16 MB / 22.64 GB, free: 33.28 MB / 1.292 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.001352/67.92, allocations: 43.62 kB / 22.64 GB, free: 33.25 MB / 1.292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.009204/67.93, allocations: 17.38 kB / 22.64 GB, free: 33.24 MB / 1.292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000896/67.93, allocations: 0.9729 MB / 22.64 GB, free: 32.38 MB / 1.292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 1.864/69.79, allocations: 164.1 MB / 22.8 GB, free: 115.3 MB / 1.339 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0242/69.82, allocations: 14.66 MB / 22.81 GB, free: 115.3 MB / 1.339 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.02208/69.84, allocations: 14.38 MB / 22.83 GB, free: 115.1 MB / 1.339 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00322/69.84, allocations: 2.854 MB / 22.83 GB, free: 112.2 MB / 1.339 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002067/69.84, allocations: 190.3 kB / 22.83 GB, free: 112.2 MB / 1.339 GB Notification: Performance of pre-optimization done (n=1205): time 1.341e-05/69.84, allocations: 0 / 22.83 GB, free: 112.2 MB / 1.339 GB Notification: Performance of matching and sorting (n=1271): time 0.1517/70, allocations: 58.06 MB / 22.88 GB, free: 108.8 MB / 1.339 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.975e-05/70, allocations: 183.2 kB / 22.88 GB, free: 108.7 MB / 1.339 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.05136/70.05, allocations: 23.24 MB / 22.91 GB, free: 107.8 MB / 1.339 GB Notification: Performance of collectPreVariables (initialization): time 0.004196/70.05, allocations: 45.55 kB / 22.91 GB, free: 107.8 MB / 1.339 GB Notification: Performance of collectInitialEqns (initialization): time 0.01293/70.06, allocations: 8.115 MB / 22.92 GB, free: 104.9 MB / 1.339 GB Notification: Performance of collectInitialBindings (initialization): time 0.01674/70.08, allocations: 4.276 MB / 22.92 GB, free: 102.1 MB / 1.339 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001959/70.08, allocations: 0 / 22.92 GB, free: 102.1 MB / 1.339 GB Notification: Performance of setup shared object (initialization): time 0.001188/70.08, allocations: 0.9296 MB / 22.92 GB, free: 101.8 MB / 1.339 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01595/70.1, allocations: 10.93 MB / 22.93 GB, free: 101.7 MB / 1.339 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02051/70.12, allocations: 15.03 MB / 22.95 GB, free: 97.87 MB / 1.339 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02386/70.14, allocations: 14.54 MB / 22.96 GB, free: 97.7 MB / 1.339 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001821/70.14, allocations: 21.84 kB / 22.96 GB, free: 97.7 MB / 1.339 GB Notification: Performance of matching and sorting (n=1657) (initialization): time 0.07174/70.22, allocations: 32.46 MB / 22.99 GB, free: 96.18 MB / 1.339 GB Notification: Performance of prepare postOptimizeDAE: time 0.01357/70.23, allocations: 52.32 MB / 23.04 GB, free: 75.01 MB / 1.37 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003814/70.23, allocations: 70.03 kB / 23.04 GB, free: 75.01 MB / 1.37 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.03653/70.27, allocations: 11.2 MB / 23.05 GB, free: 74.87 MB / 1.37 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01361/70.28, allocations: 2.563 MB / 23.06 GB, free: 74.87 MB / 1.37 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03609/70.32, allocations: 29.7 MB / 23.09 GB, free: 85.25 MB / 1.386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02786/70.34, allocations: 2.417 MB / 23.09 GB, free: 85.11 MB / 1.386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004596/70.35, allocations: 0.5492 MB / 23.09 GB, free: 85.11 MB / 1.386 GB Notification: Performance of prepare postOptimizeDAE: time 1.117e-05/70.35, allocations: 3.812 kB / 23.09 GB, free: 85.11 MB / 1.386 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.05901/70.41, allocations: 30.46 MB / 23.12 GB, free: 84.59 MB / 1.386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002967/70.41, allocations: 67.03 kB / 23.12 GB, free: 84.59 MB / 1.386 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.03809/70.45, allocations: 11.19 MB / 23.13 GB, free: 84.45 MB / 1.386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01317/70.46, allocations: 2.562 MB / 23.13 GB, free: 84.45 MB / 1.386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0384/70.5, allocations: 29.09 MB / 23.16 GB, free: 79.43 MB / 1.386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02987/70.53, allocations: 2.368 MB / 23.16 GB, free: 79.3 MB / 1.386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.005177/70.53, allocations: 0.5511 MB / 23.16 GB, free: 79.3 MB / 1.386 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 310 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1233): * Single equations (assignments): 1227 * 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: 5 * 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: 3 {(1,100.0%) 12,(1,100.0%) 8,(1,100.0%) 2} * Non-linear torn systems: 2 {24 208,24 148} Notification: Performance of prepare postOptimizeDAE: time 0.008056/70.54, allocations: 385.4 kB / 23.16 GB, free: 79.14 MB / 1.386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.008589/70.55, allocations: 1.952 MB / 23.17 GB, free: 78.13 MB / 1.386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.06378/70.61, allocations: 28.33 MB / 23.19 GB, free: 76.87 MB / 1.386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0002021/70.61, allocations: 127.1 kB / 23.19 GB, free: 76.75 MB / 1.386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.098e-05/70.61, allocations: 4.875 kB / 23.19 GB, free: 76.75 MB / 1.386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.04321/70.66, allocations: 23.21 MB / 23.22 GB, free: 59.72 MB / 1.386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1418/70.8, allocations: 66.23 MB / 23.28 GB, free: 5.207 MB / 1.386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.664e-05/70.8, allocations: 16 kB / 23.28 GB, free: 5.191 MB / 1.386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01688/70.82, allocations: 2.851 MB / 23.28 GB, free: 3.012 MB / 1.386 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.006/71.82, allocations: 4.12 MB / 23.29 GB, free: 177.8 MB / 1.386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.004012/71.83, allocations: 232.1 kB / 23.29 GB, free: 177.8 MB / 1.386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01795/71.84, allocations: 17.33 MB / 23.3 GB, free: 172.4 MB / 1.386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.565e-05/71.84, allocations: 23.75 kB / 23.3 GB, free: 172.4 MB / 1.386 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.07101/71.92, allocations: 50.66 MB / 23.35 GB, free: 162.8 MB / 1.386 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.09089/72.01, allocations: 69.4 MB / 23.42 GB, free: 152.7 MB / 1.386 GB Notification: Performance of postOpt removeConstants (simulation): time 0.02403/72.03, allocations: 6.385 MB / 23.43 GB, free: 152.4 MB / 1.386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.01107/72.04, allocations: 153.7 kB / 23.43 GB, free: 152.4 MB / 1.386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.02668/72.07, allocations: 2.18 MB / 23.43 GB, free: 152.4 MB / 1.386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.004082/72.07, allocations: 0.6653 MB / 23.43 GB, free: 152.3 MB / 1.386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00358/72.08, allocations: 450 kB / 23.43 GB, free: 152.3 MB / 1.386 GB Notification: Performance of sort global known variables: time 0.04002/72.12, allocations: 18.55 MB / 23.45 GB, free: 151.8 MB / 1.386 GB Notification: Performance of remove unused functions: time 0.08783/72.2, allocations: 16.49 MB / 23.47 GB, free: 151.8 MB / 1.386 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 70 * Number of states: 50 (hexFixIni.hexReg[1].ele[1,1].vol1.dynBal.U,hexFixIni.hexReg[1].ele[1,1].vol2.dynBal.U,hexFixIni.hexReg[1].ele[1,1].vol2.dynBal.mXi[1],hexFixIni.hexReg[1].ele[1,1].mas.T,hexFixIni.hexReg[1].ele[1,2].vol1.dynBal.U,hexFixIni.hexReg[1].ele[1,2].vol2.dynBal.U,hexFixIni.hexReg[1].ele[1,2].vol2.dynBal.mXi[1],hexFixIni.hexReg[1].ele[1,2].mas.T,hexFixIni.hexReg[1].ele[1,3].vol1.dynBal.U,hexFixIni.hexReg[1].ele[1,3].vol2.dynBal.U,hexFixIni.hexReg[1].ele[1,3].vol2.dynBal.mXi[1],hexFixIni.hexReg[1].ele[1,3].mas.T,hexFixIni.hexReg[2].ele[1,1].vol1.dynBal.U,hexFixIni.hexReg[2].ele[1,1].vol2.dynBal.U,hexFixIni.hexReg[2].ele[1,1].vol2.dynBal.mXi[1],hexFixIni.hexReg[2].ele[1,1].mas.T,hexFixIni.hexReg[2].ele[1,2].vol1.dynBal.U,hexFixIni.hexReg[2].ele[1,2].vol2.dynBal.U,hexFixIni.hexReg[2].ele[1,2].vol2.dynBal.mXi[1],hexFixIni.hexReg[2].ele[1,2].mas.T,hexFixIni.hexReg[2].ele[1,3].vol1.dynBal.U,hexFixIni.hexReg[2].ele[1,3].vol2.dynBal.U,hexFixIni.hexReg[2].ele[1,3].vol2.dynBal.m,hexFixIni.hexReg[2].ele[1,3].vol2.dynBal.mXi[1],hexFixIni.hexReg[2].ele[1,3].mas.T,hexSteStaIni.port_b1.h_outflow,hexSteStaIni.hexReg[1].ele[1,1].vol2.dynBal.medium.X[2],hexSteStaIni.hexReg[1].ele[1,1].vol2.dynBal.medium.dT,hexSteStaIni.hexReg[1].ele[1,1].mas.T,hexSteStaIni.hexReg[1].ele[1,2].port_b1.h_outflow,hexSteStaIni.hexReg[1].ele[1,2].vol2.dynBal.medium.X[2],hexSteStaIni.hexReg[1].ele[1,2].vol2.dynBal.medium.dT,hexSteStaIni.hexReg[1].ele[1,2].mas.T,hexSteStaIni.hexReg[1].ele[1,3].vol2.dynBal.medium.X[2],hexSteStaIni.hexReg[1].ele[1,3].vol2.dynBal.medium.dT,hexSteStaIni.hexReg[1].ele[1,3].mas.T,hexSteStaIni.hexReg[1].port_a1[1].h_outflow,hexSteStaIni.hexReg[1].port_b1[1].h_outflow,hexSteStaIni.hexReg[2].ele[1,1].vol2.dynBal.medium.X[2],hexSteStaIni.hexReg[2].ele[1,1].vol2.dynBal.medium.dT,hexSteStaIni.hexReg[2].ele[1,1].mas.T,hexSteStaIni.hexReg[2].ele[1,2].port_b1.h_outflow,hexSteStaIni.hexReg[2].ele[1,2].vol2.dynBal.medium.X[2],hexSteStaIni.hexReg[2].ele[1,2].vol2.dynBal.medium.dT,hexSteStaIni.hexReg[2].ele[1,2].mas.T,hexSteStaIni.hexReg[2].ele[1,3].vol2.dynBal.medium.X[2],hexSteStaIni.hexReg[2].ele[1,3].vol2.dynBal.medium.dT,hexSteStaIni.hexReg[2].ele[1,3].vol2.dynBal.m,hexSteStaIni.hexReg[2].ele[1,3].mas.T,hexSteStaIni.hexReg[2].port_b1[1].h_outflow) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (1104): * Single equations (assignments): 1086 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 12 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 12,(1,100.0%) 12,(1,100.0%) 2} * Non-linear torn systems: 1 {24 148} Notification: Performance of Backend phase and start with SimCode phase: time 0.02851/72.23, allocations: 18.58 MB / 23.48 GB, free: 140.4 MB / 1.386 GB Notification: Performance of simCode: created initialization part: time 0.07482/72.31, allocations: 40.85 MB / 23.52 GB, free: 139.3 MB / 1.386 GB Notification: Performance of simCode: created event and clocks part: time 3.431e-05/72.31, allocations: 10.31 kB / 23.52 GB, free: 139.3 MB / 1.386 GB Notification: Performance of simCode: created simulation system equations: time 0.02234/72.33, allocations: 12.63 MB / 23.54 GB, free: 138.9 MB / 1.386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.07119/72.4, allocations: 13.61 MB / 23.55 GB, free: 138.6 MB / 1.386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1937/72.59, allocations: 69.15 MB / 23.62 GB, free: 130.1 MB / 1.386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.07398/72.67, allocations: 24.45 MB / 23.64 GB, free: 128.7 MB / 1.386 GB Notification: Performance of SimCode: time 1.223e-06/72.67, allocations: 0 / 23.64 GB, free: 128.7 MB / 1.386 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Validation.WetCoilDiscretizedInitializationPerfectGases.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Validation.WetCoilDiscretizedInitializationPerfectGases.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Validation.WetCoilDiscretizedInitializationPerfectGases.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Validation.WetCoilDiscretizedInitializationPerfectGases.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_HeatExchangers_Validation_WetCoilDiscretizedInitializationPerfectGases_fmu --startTime=0 --stopTime=360 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_HeatExchangers_Validation_WetCoilDiscretizedInitializationPerfectGases.fmu > Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Validation.WetCoilDiscretizedInitializationPerfectGases.pipe 2>&1)