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.DryCoilDiscretizedPControl.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.DryCoilDiscretizedPControl,fileNamePrefix="Buildings_6_0_0_Buildings_Fluid_HeatExchangers_Examples_DryCoilDiscretizedPControl",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.707/3.707, allocations: 433 MB / 440.3 MB, free: 4.777 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.5858/4.293, allocations: 104.3 MB / 0.5319 GB, free: 12.98 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2277/4.521, allocations: 98.72 MB / 0.6283 GB, free: 9.73 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.013/10.53, allocations: 2.49 GB / 3.119 GB, free: 161.9 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002882/10.53, allocations: 94.27 kB / 3.119 GB, free: 161.8 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: 3031 * Number of variables: 3031 Notification: Performance of Generate backend data structure: time 45.23/55.77, allocations: 8.994 GB / 12.11 GB, free: 34.55 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 7.887e-05/55.77, allocations: 9.594 kB / 12.11 GB, free: 34.55 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04309/55.81, allocations: 3.602 MB / 12.12 GB, free: 33.59 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1133/55.92, allocations: 29.48 MB / 12.15 GB, free: 31.12 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001224/55.92, allocations: 376.8 kB / 12.15 GB, free: 31.12 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.008368/55.93, allocations: 0.7173 MB / 12.15 GB, free: 31.12 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.06998/56, allocations: 19.26 MB / 12.17 GB, free: 22.41 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.08296/56.08, allocations: 20.24 MB / 12.18 GB, free: 5.582 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.001001/56.09, allocations: 31.78 kB / 12.18 GB, free: 5.551 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.006878/56.09, allocations: 12 kB / 12.18 GB, free: 5.539 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007183/56.09, allocations: 0.5558 MB / 12.19 GB, free: 5.027 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 1.405/57.5, allocations: 97.03 MB / 12.28 GB, free: 104.1 MB / 0.9793 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02647/57.53, allocations: 9.723 MB / 12.29 GB, free: 104.1 MB / 0.9793 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.02145/57.55, allocations: 8.461 MB / 12.3 GB, free: 104 MB / 0.9793 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002315/57.55, allocations: 1.16 MB / 12.3 GB, free: 102.9 MB / 0.9793 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.02827/57.58, allocations: 7.135 MB / 12.31 GB, free: 102.7 MB / 0.9793 GB Notification: Performance of pre-optimization done (n=710): time 2.35e-05/57.58, allocations: 0 / 12.31 GB, free: 102.7 MB / 0.9793 GB Notification: Performance of matching and sorting (n=722): time 0.1442/57.72, allocations: 29.64 MB / 12.34 GB, free: 99.61 MB / 0.9793 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001402/57.72, allocations: 256 kB / 12.34 GB, free: 99.39 MB / 0.9793 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.046/57.77, allocations: 15.22 MB / 12.35 GB, free: 98.83 MB / 0.9793 GB Notification: Performance of collectPreVariables (initialization): time 0.00286/57.77, allocations: 41.64 kB / 12.35 GB, free: 98.8 MB / 0.9793 GB Notification: Performance of collectInitialEqns (initialization): time 0.01515/57.79, allocations: 4.67 MB / 12.35 GB, free: 97.32 MB / 0.9793 GB Notification: Performance of collectInitialBindings (initialization): time 0.03203/57.82, allocations: 2.516 MB / 12.36 GB, free: 95.95 MB / 0.9793 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00216/57.82, allocations: 3 kB / 12.36 GB, free: 95.95 MB / 0.9793 GB Notification: Performance of setup shared object (initialization): time 0.001133/57.82, allocations: 0.6534 MB / 12.36 GB, free: 95.64 MB / 0.9793 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01776/57.84, allocations: 6.272 MB / 12.36 GB, free: 95.62 MB / 0.9793 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02512/57.86, allocations: 8.607 MB / 12.37 GB, free: 93.57 MB / 0.9793 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02373/57.89, allocations: 8.301 MB / 12.38 GB, free: 93.46 MB / 0.9793 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001142/57.89, allocations: 8.219 kB / 12.38 GB, free: 93.46 MB / 0.9793 GB Notification: Performance of matching and sorting (n=949) (initialization): time 0.05016/57.94, allocations: 15.8 MB / 12.4 GB, free: 92.67 MB / 0.9793 GB Notification: Performance of prepare postOptimizeDAE: time 0.004398/57.94, allocations: 20.68 MB / 12.42 GB, free: 71.3 MB / 0.9793 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002646/57.94, allocations: 32.41 kB / 12.42 GB, free: 71.3 MB / 0.9793 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002204/57.95, allocations: 489.9 kB / 12.42 GB, free: 71.3 MB / 0.9793 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01849/57.96, allocations: 1.846 MB / 12.42 GB, free: 71.29 MB / 0.9793 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01881/57.98, allocations: 5.664 MB / 12.42 GB, free: 69.39 MB / 0.9793 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.04541/58.03, allocations: 1.624 MB / 12.43 GB, free: 69.3 MB / 0.9793 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004151/58.03, allocations: 298.8 kB / 12.43 GB, free: 69.3 MB / 0.9793 GB Notification: Performance of prepare postOptimizeDAE: time 2.156e-05/58.03, allocations: 5.312 kB / 12.43 GB, free: 69.3 MB / 0.9793 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.06666/58.1, allocations: 14.59 MB / 12.44 GB, free: 69.11 MB / 0.9793 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003237/58.1, allocations: 33.69 kB / 12.44 GB, free: 69.11 MB / 0.9793 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003/58.1, allocations: 489.5 kB / 12.44 GB, free: 69.11 MB / 0.9793 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0282/58.13, allocations: 1.821 MB / 12.44 GB, free: 69.11 MB / 0.9793 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0171/58.15, allocations: 5.063 MB / 12.45 GB, free: 67.8 MB / 0.9793 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.04533/58.19, allocations: 1.59 MB / 12.45 GB, free: 67.71 MB / 0.9793 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004002/58.2, allocations: 302 kB / 12.45 GB, free: 67.71 MB / 0.9793 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 153 * 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 (919): * Single equations (assignments): 916 * Array equations: 0 * Algorithm blocks: 1 * 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: 1 {(1,100.0%) 24} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.006454/58.2, allocations: 315.3 kB / 12.45 GB, free: 67.54 MB / 0.9793 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.006681/58.21, allocations: 1.154 MB / 12.45 GB, free: 66.95 MB / 0.9793 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.05531/58.27, allocations: 14.97 MB / 12.47 GB, free: 66.55 MB / 0.9793 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001136/58.27, allocations: 67.75 kB / 12.47 GB, free: 66.55 MB / 0.9793 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.076e-05/58.27, allocations: 10.64 kB / 12.47 GB, free: 66.55 MB / 0.9793 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.03883/58.31, allocations: 12.39 MB / 12.48 GB, free: 66.02 MB / 0.9793 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1355/58.44, allocations: 36.01 MB / 12.51 GB, free: 64.73 MB / 0.9793 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.422e-05/58.44, allocations: 3.969 kB / 12.51 GB, free: 64.73 MB / 0.9793 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01994/58.46, allocations: 1.888 MB / 12.51 GB, free: 64.73 MB / 0.9793 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002036/58.46, allocations: 450.6 kB / 12.51 GB, free: 64.72 MB / 0.9793 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002496/58.47, allocations: 153.6 kB / 12.51 GB, free: 64.72 MB / 0.9793 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01213/58.48, allocations: 5.59 MB / 12.52 GB, free: 62.82 MB / 0.9793 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.393e-05/58.48, allocations: 8.281 kB / 12.52 GB, free: 62.82 MB / 0.9793 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.06966/58.55, allocations: 24.67 MB / 12.54 GB, free: 58.44 MB / 0.9793 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.08612/58.63, allocations: 35.17 MB / 12.58 GB, free: 27.72 MB / 0.9793 GB Notification: Performance of postOpt removeConstants (simulation): time 0.02078/58.65, allocations: 4.055 MB / 12.58 GB, free: 23.96 MB / 0.9793 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.008062/58.66, allocations: 112 kB / 12.58 GB, free: 23.88 MB / 0.9793 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.02617/58.69, allocations: 1.397 MB / 12.58 GB, free: 23.02 MB / 0.9793 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002932/58.69, allocations: 380.2 kB / 12.58 GB, free: 22.8 MB / 0.9793 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001878/58.69, allocations: 241 kB / 12.58 GB, free: 22.59 MB / 0.9793 GB Notification: Performance of sort global known variables: time 0.03472/58.73, allocations: 11.96 MB / 12.6 GB, free: 12.5 MB / 0.9793 GB Notification: Performance of remove unused functions: time 0.06851/58.8, allocations: 9.277 MB / 12.61 GB, free: 3.285 MB / 0.9793 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 21 * Number of states: 51 (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.m,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 (702): * Single equations (assignments): 695 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 4 * 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: 1 {(1,100.0%) 24} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.5627/59.36, allocations: 5.223 MB / 12.61 GB, free: 122.7 MB / 0.9793 GB Notification: Performance of simCode: created initialization part: time 0.0574/59.42, allocations: 22.08 MB / 12.63 GB, free: 122.2 MB / 0.9793 GB Notification: Performance of simCode: created event and clocks part: time 2.356e-05/59.42, allocations: 10.56 kB / 12.63 GB, free: 122.2 MB / 0.9793 GB Notification: Performance of simCode: created simulation system equations: time 0.02264/59.44, allocations: 6.853 MB / 12.64 GB, free: 122.1 MB / 0.9793 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.07805/59.52, allocations: 8.507 MB / 12.65 GB, free: 121.9 MB / 0.9793 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1566/59.67, allocations: 41.46 MB / 12.69 GB, free: 117.2 MB / 0.9793 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.04695/59.72, allocations: 14.26 MB / 12.7 GB, free: 116.2 MB / 0.9793 GB Notification: Performance of SimCode: time 1.973e-06/59.72, allocations: 1.188 kB / 12.7 GB, free: 116.2 MB / 0.9793 GB