Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Validation.WetCoilDiscretizedInitialization.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.WetCoilDiscretizedInitialization,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_HeatExchangers_Validation_WetCoilDiscretizedInitialization",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.Validation.WetCoilDiscretizedInitialization,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_HeatExchangers_Validation_WetCoilDiscretizedInitialization",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.566/2.566, allocations: 284.8 MB / 292.1 MB, free: 10.77 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.001653/0.001653, allocations: 181.3 kB / 360.3 MB, free: 7.543 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.193/2.193, allocations: 205.1 MB / 0.6187 GB, free: 13.23 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.001318/0.001317, allocations: 92.58 kB / 0.7317 GB, free: 45.16 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.2933/0.2946, allocations: 121.4 MB / 0.8502 GB, free: 3.957 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.693/0.9876, allocations: 115.2 MB / 0.9627 GB, free: 78.47 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.671/6.659, allocations: 2.363 GB / 3.326 GB, free: 26.67 MB / 0.9323 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002827/6.659, allocations: 91.89 kB / 3.326 GB, free: 26.62 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 104.4/111, allocations: 19.63 GB / 22.96 GB, free: 53.73 MB / 1.37 GB Notification: Performance of prepare preOptimizeDAE: time 5.199e-05/111, allocations: 6.688 kB / 22.96 GB, free: 53.73 MB / 1.37 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.067/111.1, allocations: 6.221 MB / 22.97 GB, free: 52.05 MB / 1.37 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.223/111.3, allocations: 54.96 MB / 23.02 GB, free: 47.61 MB / 1.37 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.002331/111.3, allocations: 0.6673 MB / 23.02 GB, free: 47.61 MB / 1.37 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.01553/111.4, allocations: 1.283 MB / 23.02 GB, free: 47.6 MB / 1.37 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.1416/111.5, allocations: 34.28 MB / 23.05 GB, free: 33.44 MB / 1.37 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.162/111.7, allocations: 35.99 MB / 23.09 GB, free: 3.457 MB / 1.37 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.002047/111.7, allocations: 41.14 kB / 23.09 GB, free: 3.418 MB / 1.37 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.01435/111.7, allocations: 23.94 kB / 23.09 GB, free: 3.395 MB / 1.37 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001803/111.7, allocations: 0.9697 MB / 23.09 GB, free: 2.492 MB / 1.37 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 2.59/114.3, allocations: 163.9 MB / 23.25 GB, free: 120.4 MB / 1.386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03933/114.3, allocations: 14.57 MB / 23.26 GB, free: 120.3 MB / 1.386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.03881/114.3, allocations: 14.44 MB / 23.28 GB, free: 120.2 MB / 1.386 GB Notification: Performance of preOpt evalFunc (simulation): time 0.004705/114.3, allocations: 2.854 MB / 23.28 GB, free: 117.3 MB / 1.386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000361/114.3, allocations: 195 kB / 23.28 GB, free: 117.2 MB / 1.386 GB Notification: Performance of pre-optimization done (n=1205): time 1.98e-05/114.3, allocations: 0 / 23.28 GB, free: 117.2 MB / 1.386 GB Notification: Performance of matching and sorting (n=1271): time 0.3044/114.7, allocations: 58.38 MB / 23.34 GB, free: 112 MB / 1.386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001454/114.7, allocations: 184.5 kB / 23.34 GB, free: 111.9 MB / 1.386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.07737/114.7, allocations: 23.07 MB / 23.36 GB, free: 111 MB / 1.386 GB Notification: Performance of collectPreVariables (initialization): time 0.005267/114.7, allocations: 48.3 kB / 23.36 GB, free: 111 MB / 1.386 GB Notification: Performance of collectInitialEqns (initialization): time 0.02857/114.8, allocations: 8.067 MB / 23.37 GB, free: 108.2 MB / 1.386 GB Notification: Performance of collectInitialBindings (initialization): time 0.02641/114.8, allocations: 4.279 MB / 23.37 GB, free: 105.4 MB / 1.386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.005101/114.8, allocations: 0 / 23.37 GB, free: 105.4 MB / 1.386 GB Notification: Performance of setup shared object (initialization): time 0.002458/114.8, allocations: 0.925 MB / 23.37 GB, free: 105.1 MB / 1.386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.03771/114.8, allocations: 11 MB / 23.39 GB, free: 105.1 MB / 1.386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.05057/114.9, allocations: 15.1 MB / 23.4 GB, free: 101.2 MB / 1.386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.04202/114.9, allocations: 14.6 MB / 23.41 GB, free: 101.1 MB / 1.386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002094/114.9, allocations: 21.91 kB / 23.41 GB, free: 101.1 MB / 1.386 GB Notification: Performance of matching and sorting (n=1657) (initialization): time 0.1354/115.1, allocations: 32.63 MB / 23.45 GB, free: 99.52 MB / 1.386 GB Notification: Performance of prepare postOptimizeDAE: time 0.01126/115.1, allocations: 52.32 MB / 23.5 GB, free: 46.37 MB / 1.386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0005934/115.1, allocations: 69.41 kB / 23.5 GB, free: 46.37 MB / 1.386 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.07761/115.2, allocations: 11.2 MB / 23.51 GB, free: 46.22 MB / 1.386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0319/115.2, allocations: 2.576 MB / 23.51 GB, free: 46.22 MB / 1.386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.08149/115.3, allocations: 29.69 MB / 23.54 GB, free: 40.61 MB / 1.386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.04535/115.3, allocations: 2.392 MB / 23.54 GB, free: 40.47 MB / 1.386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.005958/115.3, allocations: 0.553 MB / 23.54 GB, free: 40.47 MB / 1.386 GB Notification: Performance of prepare postOptimizeDAE: time 1.831e-05/115.3, allocations: 7.688 kB / 23.54 GB, free: 40.47 MB / 1.386 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.1099/115.4, allocations: 30.62 MB / 23.57 GB, free: 33.79 MB / 1.386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004473/115.4, allocations: 70.81 kB / 23.57 GB, free: 33.73 MB / 1.386 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.07794/115.5, allocations: 11.2 MB / 23.58 GB, free: 27.03 MB / 1.386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02699/115.5, allocations: 2.561 MB / 23.59 GB, free: 25.11 MB / 1.386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.07866/115.6, allocations: 29.09 MB / 23.61 GB, free: 6.766 MB / 1.386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.06313/115.7, allocations: 2.348 MB / 23.62 GB, free: 5.309 MB / 1.386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.007957/115.7, allocations: 0.5508 MB / 23.62 GB, free: 4.91 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.01468/115.7, allocations: 383 kB / 23.62 GB, free: 4.695 MB / 1.386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.01605/115.7, allocations: 1.941 MB / 23.62 GB, free: 2.73 MB / 1.386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.488/117.2, allocations: 31.05 MB / 23.65 GB, free: 163.6 MB / 1.386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0002642/117.2, allocations: 133.9 kB / 23.65 GB, free: 163.6 MB / 1.386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.572e-05/117.2, allocations: 5.594 kB / 23.65 GB, free: 163.6 MB / 1.386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.07526/117.3, allocations: 23.33 MB / 23.67 GB, free: 162.9 MB / 1.386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2494/117.5, allocations: 66.27 MB / 23.74 GB, free: 160.1 MB / 1.386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0003143/117.5, allocations: 21.47 kB / 23.74 GB, free: 160.1 MB / 1.386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.03495/117.6, allocations: 2.861 MB / 23.74 GB, free: 160.1 MB / 1.386 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.03058/117.6, allocations: 4.102 MB / 23.74 GB, free: 160 MB / 1.386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00451/117.6, allocations: 232.4 kB / 23.74 GB, free: 160 MB / 1.386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03683/117.6, allocations: 17.32 MB / 23.76 GB, free: 154.6 MB / 1.386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.609e-05/117.6, allocations: 26.08 kB / 23.76 GB, free: 154.6 MB / 1.386 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.1469/117.8, allocations: 51.11 MB / 23.81 GB, free: 145 MB / 1.386 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.2007/118, allocations: 69.98 MB / 23.88 GB, free: 134.9 MB / 1.386 GB Notification: Performance of postOpt removeConstants (simulation): time 0.03365/118, allocations: 6.224 MB / 23.89 GB, free: 134.4 MB / 1.386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0166/118, allocations: 161 kB / 23.89 GB, free: 134.4 MB / 1.386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.06008/118.1, allocations: 2.139 MB / 23.89 GB, free: 134.3 MB / 1.386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.007447/118.1, allocations: 0.6626 MB / 23.89 GB, free: 134.3 MB / 1.386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.007312/118.1, allocations: 463.2 kB / 23.89 GB, free: 134.3 MB / 1.386 GB Notification: Performance of sort global known variables: time 0.07719/118.2, allocations: 18.4 MB / 23.91 GB, free: 133.8 MB / 1.386 GB Notification: Performance of remove unused functions: time 0.1354/118.3, allocations: 16.44 MB / 23.92 GB, free: 133.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.03948/118.4, allocations: 18.57 MB / 23.94 GB, free: 122.3 MB / 1.386 GB Notification: Performance of simCode: created initialization part: time 0.1275/118.5, allocations: 41.06 MB / 23.98 GB, free: 121.2 MB / 1.386 GB Notification: Performance of simCode: created event and clocks part: time 4.032e-05/118.5, allocations: 10.94 kB / 23.98 GB, free: 121.2 MB / 1.386 GB Notification: Performance of simCode: created simulation system equations: time 0.03885/118.5, allocations: 12.69 MB / 23.99 GB, free: 118.7 MB / 1.386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.1279/118.7, allocations: 13.6 MB / 24.01 GB, free: 111.3 MB / 1.386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2862/118.9, allocations: 68.84 MB / 24.07 GB, free: 62.4 MB / 1.386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.1346/119.1, allocations: 24.3 MB / 24.1 GB, free: 45.23 MB / 1.386 GB Notification: Performance of SimCode: time 4.839e-06/119.1, allocations: 0 / 24.1 GB, free: 45.23 MB / 1.386 GB (rm -f Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Validation.WetCoilDiscretizedInitialization.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Validation.WetCoilDiscretizedInitialization.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Validation.WetCoilDiscretizedInitialization.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Validation.WetCoilDiscretizedInitialization.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Fluid_HeatExchangers_Validation_WetCoilDiscretizedInitialization_fmu --startTime=0 --stopTime=360 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Fluid_HeatExchangers_Validation_WetCoilDiscretizedInitialization.fmu > Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Validation.WetCoilDiscretizedInitialization.pipe 2>&1)