Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Validation.WetCoilDiscretizedInitializationPerfectGases.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.Validation.WetCoilDiscretizedInitializationPerfectGases,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_HeatExchangers_Validation_WetCoilDiscretizedInitializationPerfectGases",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.Validation.WetCoilDiscretizedInitializationPerfectGases,fileNamePrefix="Buildings_8_0_0_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 8.0.0/package.mo): time 2.548/2.548, allocations: 284.8 MB / 292.1 MB, free: 10.65 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00173/0.00173, allocations: 181.2 kB / 360.3 MB, free: 7.418 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.98/1.98, allocations: 205.1 MB / 0.6187 GB, free: 12.37 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.00123/0.00123, allocations: 86.62 kB / 0.7317 GB, free: 44.93 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.2896/0.2909, allocations: 121.4 MB / 0.8502 GB, free: 3.719 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6846/0.9756, allocations: 115.3 MB / 0.9627 GB, free: 78.24 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.51/6.486, allocations: 2.363 GB / 3.326 GB, free: 25.61 MB / 0.9323 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003196/6.486, allocations: 92 kB / 3.326 GB, free: 25.57 MB / 0.9323 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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: 5513 * Number of variables: 5513 Notification: Performance of Generate backend data structure: time 103.1/109.6, allocations: 19.63 GB / 22.96 GB, free: 48.21 MB / 1.354 GB Notification: Performance of prepare preOptimizeDAE: time 5.672e-05/109.6, allocations: 9.094 kB / 22.96 GB, free: 48.21 MB / 1.354 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.07149/109.6, allocations: 6.222 MB / 22.97 GB, free: 46.53 MB / 1.354 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.2258/109.9, allocations: 54.97 MB / 23.02 GB, free: 22.36 MB / 1.354 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001807/109.9, allocations: 0.668 MB / 23.02 GB, free: 21.7 MB / 1.354 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.01663/109.9, allocations: 1.276 MB / 23.02 GB, free: 20.42 MB / 1.354 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.1353/110, allocations: 34.28 MB / 23.05 GB, free: 5.871 MB / 1.37 GB Notification: Performance of preOpt clockPartitioning (simulation): time 2.397/112.4, allocations: 36 MB / 23.09 GB, free: 155.9 MB / 1.386 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.002056/112.4, allocations: 45.56 kB / 23.09 GB, free: 155.9 MB / 1.386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.01611/112.4, allocations: 19.69 kB / 23.09 GB, free: 155.9 MB / 1.386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001508/112.4, allocations: 0.9711 MB / 23.09 GB, free: 155.8 MB / 1.386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4335/112.9, allocations: 163.9 MB / 23.25 GB, free: 101.1 MB / 1.386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03892/112.9, allocations: 14.56 MB / 23.26 GB, free: 101 MB / 1.386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.03998/112.9, allocations: 14.44 MB / 23.28 GB, free: 100.9 MB / 1.386 GB Notification: Performance of preOpt evalFunc (simulation): time 0.004665/113, allocations: 2.852 MB / 23.28 GB, free: 97.98 MB / 1.386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003356/113, allocations: 189.2 kB / 23.28 GB, free: 97.93 MB / 1.386 GB Notification: Performance of pre-optimization done (n=1205): time 1.72e-05/113, allocations: 3.344 kB / 23.28 GB, free: 97.93 MB / 1.386 GB Notification: Performance of matching and sorting (n=1271): time 0.2457/113.2, allocations: 58.38 MB / 23.34 GB, free: 92.66 MB / 1.386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001322/113.2, allocations: 192.3 kB / 23.34 GB, free: 92.59 MB / 1.386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.07909/113.3, allocations: 23.07 MB / 23.36 GB, free: 91.73 MB / 1.386 GB Notification: Performance of collectPreVariables (initialization): time 0.006469/113.3, allocations: 47.42 kB / 23.36 GB, free: 91.7 MB / 1.386 GB Notification: Performance of collectInitialEqns (initialization): time 0.02039/113.3, allocations: 8.067 MB / 23.37 GB, free: 88.4 MB / 1.386 GB Notification: Performance of collectInitialBindings (initialization): time 0.03114/113.3, allocations: 4.276 MB / 23.37 GB, free: 85.57 MB / 1.386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.005181/113.3, allocations: 0 / 23.37 GB, free: 85.57 MB / 1.386 GB Notification: Performance of setup shared object (initialization): time 0.002528/113.3, allocations: 0.9239 MB / 23.37 GB, free: 85.24 MB / 1.386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.04261/113.4, allocations: 11 MB / 23.39 GB, free: 85.21 MB / 1.386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.05255/113.4, allocations: 15.09 MB / 23.4 GB, free: 81.34 MB / 1.386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.05949/113.5, allocations: 14.6 MB / 23.41 GB, free: 81.17 MB / 1.386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002587/113.5, allocations: 19.69 kB / 23.41 GB, free: 81.17 MB / 1.386 GB Notification: Performance of matching and sorting (n=1657) (initialization): time 0.1564/113.7, allocations: 32.63 MB / 23.45 GB, free: 79.64 MB / 1.386 GB Notification: Performance of prepare postOptimizeDAE: time 0.01334/113.7, allocations: 52.32 MB / 23.5 GB, free: 42.48 MB / 1.401 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000584/113.7, allocations: 68.84 kB / 23.5 GB, free: 42.48 MB / 1.401 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.08011/113.8, allocations: 11.2 MB / 23.51 GB, free: 42.34 MB / 1.401 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.04132/113.8, allocations: 2.58 MB / 23.51 GB, free: 42.34 MB / 1.401 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1017/113.9, allocations: 29.69 MB / 23.54 GB, free: 36.73 MB / 1.401 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.04435/113.9, allocations: 2.395 MB / 23.54 GB, free: 36.59 MB / 1.401 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00697/113.9, allocations: 0.5543 MB / 23.54 GB, free: 36.59 MB / 1.401 GB Notification: Performance of prepare postOptimizeDAE: time 1.98e-05/113.9, allocations: 3.719 kB / 23.54 GB, free: 36.59 MB / 1.401 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.1259/114.1, allocations: 30.62 MB / 23.57 GB, free: 31.3 MB / 1.401 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0005903/114.1, allocations: 68.56 kB / 23.57 GB, free: 31.3 MB / 1.401 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.07581/114.1, allocations: 11.19 MB / 23.58 GB, free: 29.28 MB / 1.401 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.03096/114.2, allocations: 2.568 MB / 23.59 GB, free: 29.21 MB / 1.401 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.195/115.4, allocations: 29.08 MB / 23.61 GB, free: 179.1 MB / 1.401 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.04416/115.4, allocations: 2.362 MB / 23.62 GB, free: 179.1 MB / 1.401 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.005719/115.4, allocations: 0.5462 MB / 23.62 GB, free: 179.1 MB / 1.401 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.01082/115.4, allocations: 378.1 kB / 23.62 GB, free: 179 MB / 1.401 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.01166/115.4, allocations: 1.94 MB / 23.62 GB, free: 179 MB / 1.401 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.1027/115.6, allocations: 28.45 MB / 23.65 GB, free: 178.4 MB / 1.401 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0002971/115.6, allocations: 127.5 kB / 23.65 GB, free: 178.4 MB / 1.401 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.646e-05/115.6, allocations: 6.531 kB / 23.65 GB, free: 178.4 MB / 1.401 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.08608/115.6, allocations: 23.33 MB / 23.67 GB, free: 177.8 MB / 1.401 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2359/115.9, allocations: 66.28 MB / 23.73 GB, free: 174.9 MB / 1.401 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0002259/115.9, allocations: 18.06 kB / 23.73 GB, free: 174.9 MB / 1.401 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.03092/115.9, allocations: 2.86 MB / 23.74 GB, free: 174.9 MB / 1.401 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0267/115.9, allocations: 4.111 MB / 23.74 GB, free: 174.8 MB / 1.401 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.004802/115.9, allocations: 228.3 kB / 23.74 GB, free: 174.8 MB / 1.401 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03978/116, allocations: 17.33 MB / 23.76 GB, free: 169.4 MB / 1.401 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.473e-05/116, allocations: 29.69 kB / 23.76 GB, free: 169.4 MB / 1.401 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.1605/116.1, allocations: 51.11 MB / 23.81 GB, free: 159.8 MB / 1.401 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.243/116.4, allocations: 69.97 MB / 23.88 GB, free: 149.7 MB / 1.401 GB Notification: Performance of postOpt removeConstants (simulation): time 0.04203/116.4, allocations: 6.224 MB / 23.88 GB, free: 148.7 MB / 1.401 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.01305/116.4, allocations: 165 kB / 23.88 GB, free: 148.7 MB / 1.401 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.04097/116.5, allocations: 2.136 MB / 23.89 GB, free: 148.7 MB / 1.401 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.006893/116.5, allocations: 0.6663 MB / 23.89 GB, free: 148.7 MB / 1.401 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.006265/116.5, allocations: 456 kB / 23.89 GB, free: 148.7 MB / 1.401 GB Notification: Performance of sort global known variables: time 0.06604/116.6, allocations: 18.4 MB / 23.9 GB, free: 148.2 MB / 1.401 GB Notification: Performance of remove unused functions: time 0.1266/116.7, allocations: 16.43 MB / 23.92 GB, free: 148.2 MB / 1.401 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.04009/116.7, allocations: 18.58 MB / 23.94 GB, free: 136.7 MB / 1.401 GB Notification: Performance of simCode: created initialization part: time 0.1528/116.9, allocations: 41.06 MB / 23.98 GB, free: 121.5 MB / 1.401 GB Notification: Performance of simCode: created event and clocks part: time 4.056e-05/116.9, allocations: 13 kB / 23.98 GB, free: 121.5 MB / 1.401 GB Notification: Performance of simCode: created simulation system equations: time 0.03807/116.9, allocations: 12.69 MB / 23.99 GB, free: 112.7 MB / 1.401 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.1467/117.1, allocations: 13.61 MB / 24 GB, free: 103.6 MB / 1.401 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 1.551/118.6, allocations: 69 MB / 24.07 GB, free: 156.1 MB / 1.401 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.08593/118.7, allocations: 24.3 MB / 24.1 GB, free: 154.7 MB / 1.401 GB Notification: Performance of SimCode: time 2.454e-06/118.7, allocations: 0 / 24.1 GB, free: 154.7 MB / 1.401 GB (rm -f Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Validation.WetCoilDiscretizedInitializationPerfectGases.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Validation.WetCoilDiscretizedInitializationPerfectGases.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Validation.WetCoilDiscretizedInitializationPerfectGases.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Validation.WetCoilDiscretizedInitializationPerfectGases.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Fluid_HeatExchangers_Validation_WetCoilDiscretizedInitializationPerfectGases_fmu --startTime=0 --stopTime=360 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Fluid_HeatExchangers_Validation_WetCoilDiscretizedInitializationPerfectGases.fmu > Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Validation.WetCoilDiscretizedInitializationPerfectGases.pipe 2>&1)