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.DryCoilCounterFlowMassFlow.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.DryCoilCounterFlowMassFlow,fileNamePrefix="Buildings_6_0_0_Buildings_Fluid_HeatExchangers_Examples_DryCoilCounterFlowMassFlow",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.754/3.754, allocations: 433 MB / 440.3 MB, free: 4.789 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.5131/4.268, allocations: 104.3 MB / 0.5319 GB, free: 13.04 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2124/4.48, allocations: 98.72 MB / 0.6283 GB, free: 9.762 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.112/10.59, allocations: 2.478 GB / 3.107 GB, free: 176.9 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002861/10.59, allocations: 89.58 kB / 3.107 GB, free: 176.9 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: 1029 * Number of variables: 1029 Notification: Performance of Generate backend data structure: time 9.26/19.85, allocations: 2.004 GB / 5.11 GB, free: 97.52 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.648e-05/19.85, allocations: 9.875 kB / 5.11 GB, free: 97.52 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01386/19.87, allocations: 1.287 MB / 5.112 GB, free: 97.2 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0258/19.89, allocations: 6.892 MB / 5.118 GB, free: 96.29 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003422/19.89, allocations: 127.9 kB / 5.118 GB, free: 96.29 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002143/19.89, allocations: 244 kB / 5.119 GB, free: 96.29 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01821/19.91, allocations: 4.666 MB / 5.123 GB, free: 96.27 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02104/19.93, allocations: 5.063 MB / 5.128 GB, free: 95.52 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002616/19.93, allocations: 11.3 kB / 5.128 GB, free: 95.52 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001583/19.94, allocations: 5.094 kB / 5.128 GB, free: 95.52 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003011/19.94, allocations: 202.1 kB / 5.128 GB, free: 95.5 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06526/20, allocations: 24.53 MB / 5.152 GB, free: 79.9 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01172/20.01, allocations: 3.495 MB / 5.156 GB, free: 78.07 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005794/20.02, allocations: 2.075 MB / 5.158 GB, free: 76.21 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001822/20.02, allocations: 1.083 MB / 5.159 GB, free: 74.95 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00631/20.03, allocations: 1.953 MB / 5.161 GB, free: 73.31 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=271): time 7.654e-06/20.03, allocations: 3.391 kB / 5.161 GB, free: 73.31 MB / 0.8698 GB Notification: Performance of matching and sorting (n=275): time 0.04604/20.07, allocations: 9.675 MB / 5.17 GB, free: 64.6 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.487e-05/20.07, allocations: 189.8 kB / 5.17 GB, free: 64.38 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01262/20.09, allocations: 3.7 MB / 5.174 GB, free: 61.16 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 0.0009558/20.09, allocations: 33.7 kB / 5.174 GB, free: 61.12 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.003314/20.09, allocations: 1.496 MB / 5.176 GB, free: 59.79 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.003112/20.09, allocations: 0.9123 MB / 5.176 GB, free: 58.86 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003497/20.09, allocations: 7.688 kB / 5.176 GB, free: 58.86 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0003415/20.09, allocations: 423.6 kB / 5.177 GB, free: 58.44 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004197/20.1, allocations: 1.454 MB / 5.178 GB, free: 56.98 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005202/20.1, allocations: 2.194 MB / 5.18 GB, free: 54.53 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006676/20.11, allocations: 2.047 MB / 5.182 GB, free: 52.48 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.382e-05/20.11, allocations: 4 kB / 5.182 GB, free: 52.48 MB / 0.8698 GB Notification: Performance of matching and sorting (n=354) (initialization): time 0.014/20.12, allocations: 4.16 MB / 5.186 GB, free: 48.29 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 0.001115/20.13, allocations: 5.311 MB / 5.192 GB, free: 42.69 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.312e-05/20.13, allocations: 15.94 kB / 5.192 GB, free: 42.67 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007209/20.13, allocations: 123.2 kB / 5.192 GB, free: 42.55 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006322/20.13, allocations: 0.6145 MB / 5.192 GB, free: 41.94 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003678/20.14, allocations: 2.613 MB / 5.195 GB, free: 39.2 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009683/20.15, allocations: 404.7 kB / 5.195 GB, free: 38.83 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001098/20.15, allocations: 116 kB / 5.195 GB, free: 38.71 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.5e-05/20.15, allocations: 4 kB / 5.195 GB, free: 38.71 MB / 0.8698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01207/20.16, allocations: 3.719 MB / 5.199 GB, free: 34.97 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.868e-05/20.16, allocations: 15.98 kB / 5.199 GB, free: 34.95 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005485/20.16, allocations: 122.5 kB / 5.199 GB, free: 34.84 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005769/20.17, allocations: 0.6161 MB / 5.2 GB, free: 34.22 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002973/20.17, allocations: 1.991 MB / 5.202 GB, free: 32.13 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009263/20.18, allocations: 400.4 kB / 5.202 GB, free: 31.77 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009453/20.18, allocations: 112 kB / 5.202 GB, free: 31.66 MB / 0.8698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 53 * 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 (335): * Single equations (assignments): 331 * 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.001116/20.18, allocations: 231.7 kB / 5.202 GB, free: 31.41 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001543/20.18, allocations: 415 kB / 5.203 GB, free: 31 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01397/20.2, allocations: 3.988 MB / 5.207 GB, free: 26.98 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.287e-05/20.2, allocations: 27.98 kB / 5.207 GB, free: 26.95 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.416e-05/20.2, allocations: 4 kB / 5.207 GB, free: 26.95 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01109/20.21, allocations: 3.343 MB / 5.21 GB, free: 23.54 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03111/20.24, allocations: 9.774 MB / 5.22 GB, free: 13.67 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.988e-05/20.24, allocations: 4 kB / 5.22 GB, free: 13.67 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006192/20.25, allocations: 0.5804 MB / 5.22 GB, free: 13.09 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006043/20.25, allocations: 111.9 kB / 5.22 GB, free: 12.98 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007067/20.25, allocations: 47.95 kB / 5.22 GB, free: 12.93 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003353/20.25, allocations: 2.58 MB / 5.223 GB, free: 10.23 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.708e-06/20.25, allocations: 7.938 kB / 5.223 GB, free: 10.22 MB / 0.8698 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01773/20.27, allocations: 6.677 MB / 5.229 GB, free: 3.305 MB / 0.8698 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.4321/20.7, allocations: 9.619 MB / 5.239 GB, free: 168.9 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004987/20.7, allocations: 1.061 MB / 5.24 GB, free: 168.8 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002173/20.71, allocations: 31.45 kB / 5.24 GB, free: 168.8 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.008247/20.72, allocations: 367.6 kB / 5.24 GB, free: 168.8 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008748/20.72, allocations: 144.4 kB / 5.24 GB, free: 168.8 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000441/20.72, allocations: 107.4 kB / 5.24 GB, free: 168.8 MB / 0.8698 GB Notification: Performance of sort global known variables: time 0.008118/20.72, allocations: 2.885 MB / 5.243 GB, free: 168.6 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.02191/20.75, allocations: 3.263 MB / 5.246 GB, free: 168.6 MB / 0.8698 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 (262): * Single equations (assignments): 254 * 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.01073/20.76, allocations: 3.004 MB / 5.249 GB, free: 167.7 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.01672/20.77, allocations: 5.908 MB / 5.255 GB, free: 167.3 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 1.49e-05/20.77, allocations: 3.531 kB / 5.255 GB, free: 167.3 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.004889/20.78, allocations: 1.96 MB / 5.257 GB, free: 167.2 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02603/20.81, allocations: 2.528 MB / 5.259 GB, free: 167.1 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04016/20.85, allocations: 10.2 MB / 5.269 GB, free: 165.4 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01165/20.86, allocations: 4.484 MB / 5.274 GB, free: 164.6 MB / 0.8698 GB Notification: Performance of SimCode: time 1.974e-06/20.86, allocations: 0 / 5.274 GB, free: 164.6 MB / 0.8698 GB