Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/../OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Fluid.HeatExchangers.Examples.WetCoilDiscretizedPControl.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.Examples.WetCoilDiscretizedPControl,fileNamePrefix="Buildings_6_0_0_Buildings_Fluid_HeatExchangers_Examples_WetCoilDiscretizedPControl",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 loadModel(Buildings): time 3.8/3.8, allocations: 433 MB / 440.3 MB, free: 4.809 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.5799/4.379, allocations: 104.3 MB / 0.5319 GB, free: 13.05 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2362/4.616, allocations: 98.72 MB / 0.6283 GB, free: 9.797 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.284/10.9, allocations: 2.496 GB / 3.125 GB, free: 156 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003116/10.9, allocations: 95.33 kB / 3.125 GB, free: 155.9 MB / 0.823 GB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Buildings 6.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: 3530 * Number of variables: 3530 Notification: Performance of Generate backend data structure: time 56.49/67.39, allocations: 11.22 GB / 14.35 GB, free: 28.05 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 5.198e-05/67.39, allocations: 12.38 kB / 14.35 GB, free: 28.05 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04307/67.43, allocations: 4.126 MB / 14.35 GB, free: 26.96 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1919/67.63, allocations: 36.24 MB / 14.39 GB, free: 22.01 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001097/67.63, allocations: 440 kB / 14.39 GB, free: 21.58 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.009074/67.64, allocations: 0.8169 MB / 14.39 GB, free: 20.77 MB / 0.9636 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.07777/67.71, allocations: 22.19 MB / 14.41 GB, free: 2.176 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 1.226/68.94, allocations: 23.61 MB / 14.43 GB, free: 90.64 MB / 0.9793 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.001396/68.94, allocations: 32.78 kB / 14.43 GB, free: 90.64 MB / 0.9793 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.008198/68.95, allocations: 14 kB / 14.43 GB, free: 90.64 MB / 0.9793 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0008298/68.95, allocations: 0.6185 MB / 14.44 GB, free: 90.62 MB / 0.9793 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2706/69.22, allocations: 101.7 MB / 14.53 GB, free: 76.05 MB / 0.9949 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02448/69.25, allocations: 9.087 MB / 14.54 GB, free: 76.01 MB / 0.9949 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.02448/69.27, allocations: 9.64 MB / 14.55 GB, free: 75.9 MB / 0.9949 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002701/69.27, allocations: 1.172 MB / 14.55 GB, free: 74.77 MB / 0.9949 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.02988/69.3, allocations: 8.314 MB / 14.56 GB, free: 74.53 MB / 0.9949 GB Notification: Performance of pre-optimization done (n=794): time 4.112e-05/69.3, allocations: 2.781 kB / 14.56 GB, free: 74.53 MB / 0.9949 GB Notification: Performance of matching and sorting (n=807): time 0.1518/69.46, allocations: 37 MB / 14.6 GB, free: 67.51 MB / 0.9949 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002057/69.46, allocations: 320.6 kB / 14.6 GB, free: 67.22 MB / 0.9949 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.04903/69.5, allocations: 15.24 MB / 14.61 GB, free: 66.64 MB / 0.9949 GB Notification: Performance of collectPreVariables (initialization): time 0.003221/69.51, allocations: 43.2 kB / 14.61 GB, free: 66.61 MB / 0.9949 GB Notification: Performance of collectInitialEqns (initialization): time 0.0173/69.53, allocations: 5.408 MB / 14.62 GB, free: 64.68 MB / 0.9949 GB Notification: Performance of collectInitialBindings (initialization): time 0.01738/69.54, allocations: 2.799 MB / 14.62 GB, free: 62.89 MB / 0.9949 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002658/69.55, allocations: 3.562 kB / 14.62 GB, free: 62.89 MB / 0.9949 GB Notification: Performance of setup shared object (initialization): time 0.001408/69.55, allocations: 0.7089 MB / 14.62 GB, free: 62.57 MB / 0.9949 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01931/69.57, allocations: 6.896 MB / 14.63 GB, free: 62.54 MB / 0.9949 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02323/69.59, allocations: 9.626 MB / 14.64 GB, free: 60.02 MB / 0.9949 GB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: hex.hexReg[1].ele[1,1].vol2.dynBal.medium.p = 101325.0 (sin_2.p = 101325.0) Notification: Performance of analyzeInitialSystem (initialization): time 0.1687/69.76, allocations: 27.47 MB / 14.66 GB, free: 59.64 MB / 0.9949 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001156/69.76, allocations: 15.22 kB / 14.67 GB, free: 59.64 MB / 0.9949 GB Notification: Performance of matching and sorting (n=1089) (initialization): time 0.05787/69.82, allocations: 17.15 MB / 14.68 GB, free: 58.81 MB / 0.9949 GB Notification: Performance of prepare postOptimizeDAE: time 0.01327/69.83, allocations: 29.17 MB / 14.71 GB, free: 60.62 MB / 1.026 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003511/69.83, allocations: 45.22 kB / 14.71 GB, free: 60.62 MB / 1.026 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002313/69.83, allocations: 92.41 kB / 14.71 GB, free: 60.62 MB / 1.026 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02205/69.85, allocations: 2.174 MB / 14.71 GB, free: 60.62 MB / 1.026 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001492/69.85, allocations: 1.32 MB / 14.71 GB, free: 59.45 MB / 1.026 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02974/69.88, allocations: 1.488 MB / 14.72 GB, free: 59.35 MB / 1.026 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004087/69.89, allocations: 353.7 kB / 14.72 GB, free: 59.35 MB / 1.026 GB Notification: Performance of prepare postOptimizeDAE: time 1.962e-05/69.89, allocations: 5.562 kB / 14.72 GB, free: 59.35 MB / 1.026 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.06532/69.95, allocations: 15.84 MB / 14.73 GB, free: 59.19 MB / 1.026 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003968/69.95, allocations: 51.53 kB / 14.73 GB, free: 59.19 MB / 1.026 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003169/69.95, allocations: 91.44 kB / 14.73 GB, free: 59.19 MB / 1.026 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02357/69.98, allocations: 2.143 MB / 14.73 GB, free: 59.19 MB / 1.026 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002225/69.98, allocations: 119.2 kB / 14.73 GB, free: 59.19 MB / 1.026 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02767/70.01, allocations: 1.452 MB / 14.73 GB, free: 59.09 MB / 1.026 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003386/70.01, allocations: 352.2 kB / 14.74 GB, free: 59.09 MB / 1.026 GB Warning: Assuming redundant initial conditions for the following 1 initial equations: hex.hexReg[1].ele[1,1].vol2.dynBal.medium.p = 101325.0 Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 211 * Number of states: 0 () * Number of discrete variables: 11 ($whenCondition1,TSet.a,TSet.b,TSet.last,$PRE.TSet.nextEvent,TSet.nextEvent,TSet.nextEventScaled,$PRE.mot.uppHys.y,mot.uppHys.y,$PRE.mot.lowHys.y,mot.lowHys.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1083): * Single equations (assignments): 1080 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * 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: 2 {1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.006573/70.02, allocations: 362.2 kB / 14.74 GB, free: 58.93 MB / 1.026 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.007364/70.02, allocations: 1.256 MB / 14.74 GB, free: 58.28 MB / 1.026 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.05955/70.08, allocations: 16.32 MB / 14.75 GB, free: 57.93 MB / 1.026 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.379e-05/70.08, allocations: 80.8 kB / 14.75 GB, free: 57.93 MB / 1.026 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.524e-05/70.08, allocations: 0 / 14.75 GB, free: 57.93 MB / 1.026 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.04006/70.12, allocations: 13.42 MB / 14.77 GB, free: 57.41 MB / 1.026 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1563/70.28, allocations: 42.15 MB / 14.81 GB, free: 46.09 MB / 1.026 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001357/70.28, allocations: 17.34 kB / 14.81 GB, free: 46.09 MB / 1.026 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.02279/70.3, allocations: 2.104 MB / 14.81 GB, free: 46.03 MB / 1.026 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002033/70.3, allocations: 49.69 kB / 14.81 GB, free: 46.03 MB / 1.026 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002833/70.31, allocations: 170 kB / 14.81 GB, free: 45.99 MB / 1.026 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001122/70.31, allocations: 1.238 MB / 14.81 GB, free: 44.81 MB / 1.026 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.143e-05/70.31, allocations: 29.56 kB / 14.81 GB, free: 44.81 MB / 1.026 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0733/70.38, allocations: 31.19 MB / 14.84 GB, free: 18.5 MB / 1.026 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 1.255/71.63, allocations: 43.05 MB / 14.88 GB, free: 142 MB / 1.026 GB Notification: Performance of postOpt removeConstants (simulation): time 0.02216/71.66, allocations: 3.994 MB / 14.89 GB, free: 141.9 MB / 1.026 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.008254/71.67, allocations: 128.2 kB / 14.89 GB, free: 141.9 MB / 1.026 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.02647/71.69, allocations: 1.359 MB / 14.89 GB, free: 141.9 MB / 1.026 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.004138/71.7, allocations: 467.3 kB / 14.89 GB, free: 141.9 MB / 1.026 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.003481/71.7, allocations: 277.9 kB / 14.89 GB, free: 141.9 MB / 1.026 GB Notification: Performance of sort global known variables: time 0.0457/71.75, allocations: 12.15 MB / 14.9 GB, free: 141.6 MB / 1.026 GB Notification: Performance of remove unused functions: time 0.06387/71.81, allocations: 8.72 MB / 14.91 GB, free: 141.6 MB / 1.026 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 76 * Number of states: 50 (temSen.T,hex.hexReg[1].ele[1,1].vol1.dynBal.U,hex.hexReg[1].ele[1,1].vol2.dynBal.U,hex.hexReg[1].ele[1,1].vol2.dynBal.mXi[1],hex.hexReg[1].ele[1,1].mas.T,hex.hexReg[1].ele[1,2].vol1.dynBal.U,hex.hexReg[1].ele[1,2].vol2.dynBal.U,hex.hexReg[1].ele[1,2].vol2.dynBal.mXi[1],hex.hexReg[1].ele[1,2].mas.T,hex.hexReg[1].ele[1,3].vol1.dynBal.U,hex.hexReg[1].ele[1,3].vol2.dynBal.U,hex.hexReg[1].ele[1,3].vol2.dynBal.mXi[1],hex.hexReg[1].ele[1,3].mas.T,hex.hexReg[2].ele[1,1].vol1.dynBal.U,hex.hexReg[2].ele[1,1].vol2.dynBal.U,hex.hexReg[2].ele[1,1].vol2.dynBal.mXi[1],hex.hexReg[2].ele[1,1].mas.T,hex.hexReg[2].ele[1,2].vol1.dynBal.U,hex.hexReg[2].ele[1,2].vol2.dynBal.U,hex.hexReg[2].ele[1,2].vol2.dynBal.mXi[1],hex.hexReg[2].ele[1,2].mas.T,hex.hexReg[2].ele[1,3].vol1.dynBal.U,hex.hexReg[2].ele[1,3].vol2.dynBal.U,hex.hexReg[2].ele[1,3].vol2.dynBal.mXi[1],hex.hexReg[2].ele[1,3].mas.T,hex.hexReg[3].ele[1,1].vol1.dynBal.U,hex.hexReg[3].ele[1,1].vol2.dynBal.U,hex.hexReg[3].ele[1,1].vol2.dynBal.mXi[1],hex.hexReg[3].ele[1,1].mas.T,hex.hexReg[3].ele[1,2].vol1.dynBal.U,hex.hexReg[3].ele[1,2].vol2.dynBal.U,hex.hexReg[3].ele[1,2].vol2.dynBal.mXi[1],hex.hexReg[3].ele[1,2].mas.T,hex.hexReg[3].ele[1,3].vol1.dynBal.U,hex.hexReg[3].ele[1,3].vol2.dynBal.U,hex.hexReg[3].ele[1,3].vol2.dynBal.mXi[1],hex.hexReg[3].ele[1,3].mas.T,hex.hexReg[4].ele[1,1].vol1.dynBal.U,hex.hexReg[4].ele[1,1].vol2.dynBal.U,hex.hexReg[4].ele[1,1].vol2.dynBal.mXi[1],hex.hexReg[4].ele[1,1].mas.T,hex.hexReg[4].ele[1,2].vol1.dynBal.U,hex.hexReg[4].ele[1,2].vol2.dynBal.U,hex.hexReg[4].ele[1,2].vol2.dynBal.mXi[1],hex.hexReg[4].ele[1,2].mas.T,hex.hexReg[4].ele[1,3].vol1.dynBal.U,hex.hexReg[4].ele[1,3].vol2.dynBal.U,hex.hexReg[4].ele[1,3].vol2.dynBal.mXi[1],hex.hexReg[4].ele[1,3].mas.T,mot.int.y) * Number of discrete variables: 8 ($whenCondition1,TSet.a,TSet.b,TSet.last,TSet.nextEvent,TSet.nextEventScaled,mot.uppHys.y,mot.lowHys.y) * Number of discrete states: 8 (TSet.nextEvent,TSet.last,TSet.nextEventScaled,TSet.b,TSet.a,$whenCondition1,mot.uppHys.y,mot.lowHys.y) * Top-level inputs: 0 Notification: Strong component statistics for simulation (812): * Single equations (assignments): 805 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * 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: 2 {1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.01748/71.83, allocations: 5.293 MB / 14.91 GB, free: 139.5 MB / 1.026 GB Notification: Performance of simCode: created initialization part: time 0.07036/71.9, allocations: 24 MB / 14.94 GB, free: 139.2 MB / 1.026 GB Notification: Performance of simCode: created event and clocks part: time 3.911e-05/71.9, allocations: 8.938 kB / 14.94 GB, free: 139.2 MB / 1.026 GB Notification: Performance of simCode: created simulation system equations: time 0.02087/71.92, allocations: 7.602 MB / 14.95 GB, free: 139.2 MB / 1.026 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.08136/72, allocations: 8.839 MB / 14.95 GB, free: 139 MB / 1.026 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1688/72.17, allocations: 46.02 MB / 15 GB, free: 133.4 MB / 1.026 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.05399/72.22, allocations: 15.98 MB / 15.01 GB, free: 132.3 MB / 1.026 GB Notification: Performance of SimCode: time 1.634e-06/72.22, allocations: 1.812 kB / 15.01 GB, free: 132.3 MB / 1.026 GB