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.DryCoilDiscretized.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.DryCoilDiscretized,fileNamePrefix="Buildings_6_0_0_Buildings_Fluid_HeatExchangers_Examples_DryCoilDiscretized",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.903/3.903, allocations: 433 MB / 440.3 MB, free: 10.82 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2536/4.157, allocations: 104.4 MB / 0.5319 GB, free: 2.379 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5353/4.692, allocations: 98.69 MB / 0.6283 GB, free: 144 kB / 0.4949 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.044/10.74, allocations: 2.466 GB / 3.094 GB, free: 212.7 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002753/10.74, allocations: 85.98 kB / 3.094 GB, free: 212.7 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: 1612 * Number of variables: 1612 Notification: Performance of Generate backend data structure: time 26.44/37.18, allocations: 5.258 GB / 8.352 GB, free: 55.31 MB / 0.9324 GB Notification: Performance of prepare preOptimizeDAE: time 5.214e-05/37.18, allocations: 16.25 kB / 8.352 GB, free: 55.31 MB / 0.9324 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02656/37.2, allocations: 1.871 MB / 8.354 GB, free: 54.82 MB / 0.9324 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0619/37.27, allocations: 15.3 MB / 8.369 GB, free: 53.62 MB / 0.9324 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005865/37.27, allocations: 201.3 kB / 8.369 GB, free: 53.62 MB / 0.9324 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004413/37.27, allocations: 390.7 kB / 8.37 GB, free: 53.61 MB / 0.9324 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.03641/37.31, allocations: 10.14 MB / 8.38 GB, free: 53.58 MB / 0.9324 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04649/37.35, allocations: 10.64 MB / 8.39 GB, free: 53.01 MB / 0.9324 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005786/37.35, allocations: 16.41 kB / 8.39 GB, free: 53.01 MB / 0.9324 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003724/37.36, allocations: 5.562 kB / 8.39 GB, free: 53.01 MB / 0.9324 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000475/37.36, allocations: 307.8 kB / 8.39 GB, free: 52.99 MB / 0.9324 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1505/37.51, allocations: 51.66 MB / 8.441 GB, free: 34.54 MB / 0.9324 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02244/37.53, allocations: 6.735 MB / 8.447 GB, free: 34.48 MB / 0.9324 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01188/37.54, allocations: 4.422 MB / 8.452 GB, free: 34.44 MB / 0.9324 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002031/37.55, allocations: 1.016 MB / 8.453 GB, free: 33.41 MB / 0.9324 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001129/37.55, allocations: 84.36 kB / 8.453 GB, free: 33.36 MB / 0.9324 GB Notification: Performance of pre-optimization done (n=367): time 7.644e-06/37.55, allocations: 0 / 8.453 GB, free: 33.36 MB / 0.9324 GB Notification: Performance of matching and sorting (n=373): time 0.06738/37.61, allocations: 15.74 MB / 8.468 GB, free: 31.4 MB / 0.9324 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.657e-05/37.61, allocations: 93.34 kB / 8.468 GB, free: 31.34 MB / 0.9324 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02395/37.64, allocations: 7.838 MB / 8.476 GB, free: 30.98 MB / 0.9324 GB Notification: Performance of collectPreVariables (initialization): time 0.001677/37.64, allocations: 33.8 kB / 8.476 GB, free: 30.95 MB / 0.9324 GB Notification: Performance of collectInitialEqns (initialization): time 0.00462/37.64, allocations: 2.39 MB / 8.478 GB, free: 29.75 MB / 0.9324 GB Notification: Performance of collectInitialBindings (initialization): time 0.007334/37.65, allocations: 1.273 MB / 8.48 GB, free: 28.91 MB / 0.9324 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006485/37.65, allocations: 0 / 8.48 GB, free: 28.91 MB / 0.9324 GB Notification: Performance of setup shared object (initialization): time 0.0004775/37.65, allocations: 493.3 kB / 8.48 GB, free: 28.6 MB / 0.9324 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008721/37.66, allocations: 3.285 MB / 8.483 GB, free: 28.59 MB / 0.9324 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01121/37.67, allocations: 4.509 MB / 8.488 GB, free: 27.5 MB / 0.9324 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01222/37.68, allocations: 4.339 MB / 8.492 GB, free: 27.45 MB / 0.9324 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.667e-05/37.68, allocations: 5.75 kB / 8.492 GB, free: 27.45 MB / 0.9324 GB Notification: Performance of matching and sorting (n=490) (initialization): time 0.0337/37.72, allocations: 8.283 MB / 8.5 GB, free: 27.02 MB / 0.9324 GB Notification: Performance of prepare postOptimizeDAE: time 0.003369/37.72, allocations: 9.14 MB / 8.509 GB, free: 33.46 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001402/37.72, allocations: 18.25 kB / 8.509 GB, free: 33.46 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001248/37.72, allocations: 227.1 kB / 8.509 GB, free: 33.45 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01044/37.73, allocations: 1.046 MB / 8.51 GB, free: 33.45 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005991/37.74, allocations: 2.629 MB / 8.513 GB, free: 32.25 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01847/37.76, allocations: 0.8907 MB / 8.514 GB, free: 32.2 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001889/37.76, allocations: 168.3 kB / 8.514 GB, free: 32.2 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.613e-05/37.76, allocations: 4.688 kB / 8.514 GB, free: 32.2 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.02465/37.78, allocations: 7.644 MB / 8.521 GB, free: 32.1 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.163e-05/37.78, allocations: 17.38 kB / 8.521 GB, free: 32.1 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001037/37.79, allocations: 230.2 kB / 8.521 GB, free: 32.09 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01049/37.8, allocations: 1.047 MB / 8.522 GB, free: 32.09 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009161/37.81, allocations: 2.618 MB / 8.525 GB, free: 30.89 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02653/37.83, allocations: 0.8695 MB / 8.526 GB, free: 30.84 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001955/37.83, allocations: 165.2 kB / 8.526 GB, free: 30.84 MB / 0.948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 83 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (482): * Single equations (assignments): 481 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 8} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.003439/37.84, allocations: 200.2 kB / 8.526 GB, free: 30.72 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.004363/37.84, allocations: 0.6063 MB / 8.527 GB, free: 30.41 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03323/37.88, allocations: 7.879 MB / 8.534 GB, free: 30.2 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.959e-05/37.88, allocations: 36.47 kB / 8.535 GB, free: 30.2 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.782e-05/37.88, allocations: 6.312 kB / 8.535 GB, free: 30.2 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.02148/37.9, allocations: 6.609 MB / 8.541 GB, free: 29.66 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.06344/37.96, allocations: 18.96 MB / 8.559 GB, free: 28.6 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.696e-05/37.96, allocations: 6.547 kB / 8.559 GB, free: 28.6 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01092/37.97, allocations: 1.003 MB / 8.56 GB, free: 28.6 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001073/37.97, allocations: 209.9 kB / 8.561 GB, free: 28.59 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001389/37.97, allocations: 79.66 kB / 8.561 GB, free: 28.59 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005134/37.98, allocations: 2.598 MB / 8.563 GB, free: 27.38 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.064e-05/37.98, allocations: 7.125 kB / 8.563 GB, free: 27.38 MB / 0.948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.04701/38.03, allocations: 12.69 MB / 8.576 GB, free: 25.98 MB / 0.948 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.04639/38.07, allocations: 18.42 MB / 8.594 GB, free: 24.17 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01045/38.08, allocations: 2.119 MB / 8.596 GB, free: 23.76 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.004299/38.09, allocations: 52.98 kB / 8.596 GB, free: 23.76 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01527/38.1, allocations: 0.7622 MB / 8.597 GB, free: 23.72 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001836/38.11, allocations: 199.9 kB / 8.597 GB, free: 23.72 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001586/38.11, allocations: 126.4 kB / 8.597 GB, free: 23.72 MB / 0.948 GB Notification: Performance of sort global known variables: time 0.01956/38.13, allocations: 6.155 MB / 8.603 GB, free: 23.5 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.04125/38.17, allocations: 5.472 MB / 8.608 GB, free: 23.46 MB / 0.948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * Number of states: 25 (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.m,hex.hexReg[2].ele[1,3].vol2.dynBal.mXi[1],hex.hexReg[2].ele[1,3].mas.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (376): * Single equations (assignments): 371 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 8} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.01121/38.18, allocations: 4.655 MB / 8.613 GB, free: 20.4 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.03061/38.21, allocations: 11.58 MB / 8.624 GB, free: 13.49 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.852e-05/38.21, allocations: 4 kB / 8.624 GB, free: 13.49 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.01008/38.22, allocations: 3.52 MB / 8.627 GB, free: 10.93 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.04099/38.26, allocations: 4.444 MB / 8.632 GB, free: 7.91 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1043/38.37, allocations: 21.38 MB / 8.653 GB, free: 6.191 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.02648/38.39, allocations: 7.813 MB / 8.66 GB, free: 12 kB / 0.9636 GB Notification: Performance of SimCode: time 2.034e-06/38.39, allocations: 0 / 8.66 GB, free: 12 kB / 0.9636 GB