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.WetCoilCounterFlowMassFlow.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.WetCoilCounterFlowMassFlow,fileNamePrefix="Buildings_6_0_0_Buildings_Fluid_HeatExchangers_Examples_WetCoilCounterFlowMassFlow",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.784/3.784, allocations: 433 MB / 440.3 MB, free: 4.809 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.5676/4.351, allocations: 104.3 MB / 0.5319 GB, free: 13.02 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2319/4.583, allocations: 98.73 MB / 0.6283 GB, free: 9.809 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.328/10.91, allocations: 2.486 GB / 3.114 GB, free: 169.4 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003511/10.91, allocations: 93.83 kB / 3.115 GB, free: 169.4 MB / 0.823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1197 * Number of variables: 1197 Notification: Performance of Generate backend data structure: time 11.21/22.12, allocations: 2.358 GB / 5.473 GB, free: 79.66 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 5.038e-05/22.12, allocations: 11.94 kB / 5.473 GB, free: 79.66 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01599/22.13, allocations: 1.446 MB / 5.474 GB, free: 79.25 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03615/22.17, allocations: 7.273 MB / 5.481 GB, free: 76.06 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006852/22.17, allocations: 147.9 kB / 5.481 GB, free: 76.06 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003549/22.18, allocations: 281.3 kB / 5.482 GB, free: 76.06 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.02309/22.2, allocations: 5.416 MB / 5.487 GB, free: 72.03 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02409/22.22, allocations: 5.818 MB / 5.493 GB, free: 66.11 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002791/22.22, allocations: 14.69 kB / 5.493 GB, free: 66.09 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002022/22.22, allocations: 8 kB / 5.493 GB, free: 66.09 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000275/22.23, allocations: 217 kB / 5.493 GB, free: 65.87 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06951/22.29, allocations: 27 MB / 5.519 GB, free: 37.92 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006785/22.3, allocations: 2.505 MB / 5.522 GB, free: 35.42 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006469/22.31, allocations: 2.399 MB / 5.524 GB, free: 33.02 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001807/22.31, allocations: 1.091 MB / 5.525 GB, free: 31.71 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.006485/22.32, allocations: 2.277 MB / 5.527 GB, free: 29.38 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=311): time 7.564e-06/22.32, allocations: 0 / 5.527 GB, free: 29.38 MB / 0.8698 GB Notification: Performance of matching and sorting (n=315): time 0.04841/22.37, allocations: 11.08 MB / 5.538 GB, free: 18.13 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.755e-05/22.37, allocations: 196.5 kB / 5.538 GB, free: 17.9 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01192/22.38, allocations: 3.957 MB / 5.542 GB, free: 13.93 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 0.001082/22.38, allocations: 33.7 kB / 5.542 GB, free: 13.89 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.003457/22.38, allocations: 1.688 MB / 5.544 GB, free: 12.18 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.003386/22.39, allocations: 1.043 MB / 5.545 GB, free: 11.12 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004577/22.39, allocations: 0 / 5.545 GB, free: 11.12 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0003488/22.39, allocations: 436.5 kB / 5.545 GB, free: 10.69 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004899/22.39, allocations: 1.712 MB / 5.547 GB, free: 8.973 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009657/22.4, allocations: 2.495 MB / 5.549 GB, free: 6.195 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0115/22.41, allocations: 2.353 MB / 5.552 GB, free: 3.828 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.578e-05/22.41, allocations: 4 kB / 5.552 GB, free: 3.824 MB / 0.8698 GB Notification: Performance of matching and sorting (n=398) (initialization): time 0.02553/22.44, allocations: 4.785 MB / 5.556 GB, free: 14.98 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 0.003297/22.44, allocations: 5.765 MB / 5.562 GB, free: 8.938 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000121/22.44, allocations: 12 kB / 5.562 GB, free: 8.926 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001121/22.44, allocations: 132.6 kB / 5.562 GB, free: 8.793 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01129/22.45, allocations: 0.6887 MB / 5.563 GB, free: 8.105 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006726/22.46, allocations: 2.614 MB / 5.565 GB, free: 5.363 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01096/22.47, allocations: 446.7 kB / 5.566 GB, free: 4.93 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001704/22.47, allocations: 124 kB / 5.566 GB, free: 4.809 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.753e-05/22.47, allocations: 4 kB / 5.566 GB, free: 4.805 MB / 0.8855 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01965/22.49, allocations: 4.301 MB / 5.57 GB, free: 488 kB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.732e-05/22.49, allocations: 12 kB / 5.57 GB, free: 476 kB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007896/22.49, allocations: 121.4 kB / 5.57 GB, free: 352 kB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.4366/22.93, allocations: 0.681 MB / 5.571 GB, free: 165.4 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003091/22.93, allocations: 1.984 MB / 5.573 GB, free: 164.2 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01035/22.94, allocations: 429.9 kB / 5.573 GB, free: 164.2 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001038/22.95, allocations: 128.4 kB / 5.573 GB, free: 164.2 MB / 0.8855 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 57 * Number of states: 0 () * Number of discrete variables: 14 ($whenCondition1,$whenCondition2,mWatGai.a,mWatGai.b,mWatGai.last,$PRE.mWatGai.nextEvent,mWatGai.nextEvent,mWatGai.nextEventScaled,mAirGai.a,mAirGai.b,mAirGai.last,$PRE.mAirGai.nextEvent,mAirGai.nextEvent,mAirGai.nextEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (379): * Single equations (assignments): 375 * Array equations: 0 * Algorithm blocks: 2 * 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%) 7} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001273/22.95, allocations: 240.6 kB / 5.574 GB, free: 164 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001778/22.95, allocations: 448 kB / 5.574 GB, free: 164 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01563/22.96, allocations: 4.636 MB / 5.579 GB, free: 163.8 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.735e-05/22.96, allocations: 29 kB / 5.579 GB, free: 163.8 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.738e-05/22.96, allocations: 5.969 kB / 5.579 GB, free: 163.8 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01264/22.98, allocations: 3.9 MB / 5.582 GB, free: 163.6 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0441/23.02, allocations: 11.16 MB / 5.593 GB, free: 162.6 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.186e-05/23.02, allocations: 3.188 kB / 5.593 GB, free: 162.6 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.009008/23.03, allocations: 0.6702 MB / 5.594 GB, free: 162.6 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006314/23.03, allocations: 110.8 kB / 5.594 GB, free: 162.6 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008463/23.03, allocations: 57.28 kB / 5.594 GB, free: 162.6 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003318/23.04, allocations: 2.594 MB / 5.597 GB, free: 160.8 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.386e-06/23.04, allocations: 6.25 kB / 5.597 GB, free: 160.8 MB / 0.8855 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.02088/23.06, allocations: 7.739 MB / 5.604 GB, free: 159.8 MB / 0.8855 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.02781/23.08, allocations: 11.15 MB / 5.615 GB, free: 158.5 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005699/23.09, allocations: 1.161 MB / 5.616 GB, free: 158.3 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002342/23.09, allocations: 28.66 kB / 5.616 GB, free: 158.3 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.008955/23.1, allocations: 400.2 kB / 5.617 GB, free: 158.3 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009368/23.1, allocations: 162.3 kB / 5.617 GB, free: 158.3 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004789/23.1, allocations: 109.6 kB / 5.617 GB, free: 158.3 MB / 0.8855 GB Notification: Performance of sort global known variables: time 0.008812/23.11, allocations: 3.087 MB / 5.62 GB, free: 158.1 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.02875/23.14, allocations: 3.462 MB / 5.623 GB, free: 158.1 MB / 0.8855 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * Number of states: 18 (hex.ele[1].vol1.dynBal.U,hex.ele[1].vol2.dynBal.U,hex.ele[1].vol2.dynBal.mXi[1],hex.ele[1].mas.T,hex.ele[2].vol1.dynBal.U,hex.ele[2].vol2.dynBal.U,hex.ele[2].vol2.dynBal.mXi[1],hex.ele[2].mas.T,hex.ele[3].vol1.dynBal.U,hex.ele[3].vol2.dynBal.U,hex.ele[3].vol2.dynBal.mXi[1],hex.ele[3].mas.T,hex.ele[4].vol1.dynBal.U,hex.ele[4].vol2.dynBal.U,hex.ele[4].vol2.dynBal.m,hex.ele[4].vol2.dynBal.mXi[1],hex.ele[4].mas.T,senRelHum.phi) * Number of discrete variables: 12 ($whenCondition1,$whenCondition2,mWatGai.a,mWatGai.b,mWatGai.last,mWatGai.nextEvent,mWatGai.nextEventScaled,mAirGai.a,mAirGai.b,mAirGai.last,mAirGai.nextEvent,mAirGai.nextEventScaled) * Number of discrete states: 12 (mAirGai.nextEvent,mAirGai.last,mAirGai.nextEventScaled,mAirGai.b,mAirGai.a,$whenCondition2,mWatGai.nextEvent,mWatGai.last,mWatGai.nextEventScaled,mWatGai.b,mWatGai.a,$whenCondition1) * Top-level inputs: 0 Notification: Strong component statistics for simulation (302): * Single equations (assignments): 294 * Array equations: 0 * Algorithm blocks: 2 * 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%) 7} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.007161/23.15, allocations: 3.084 MB / 5.626 GB, free: 157.2 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.01838/23.17, allocations: 6.815 MB / 5.633 GB, free: 156.7 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 1.432e-05/23.17, allocations: 2.25 kB / 5.633 GB, free: 156.7 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.00613/23.17, allocations: 2.266 MB / 5.635 GB, free: 156.6 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02541/23.2, allocations: 2.658 MB / 5.638 GB, free: 156.5 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05311/23.25, allocations: 11.36 MB / 5.649 GB, free: 154.7 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01954/23.27, allocations: 4.962 MB / 5.654 GB, free: 153.8 MB / 0.8855 GB Notification: Performance of SimCode: time 2.845e-06/23.27, allocations: 0 / 5.654 GB, free: 153.8 MB / 0.8855 GB