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.DryCoilEffectivenessNTUPControl.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.DryCoilEffectivenessNTUPControl,fileNamePrefix="Buildings_6_0_0_Buildings_Fluid_HeatExchangers_Examples_DryCoilEffectivenessNTUPControl",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.744/3.744, allocations: 433 MB / 440.3 MB, free: 4.824 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.5545/4.299, allocations: 104.3 MB / 0.5319 GB, free: 13.01 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2322/4.531, allocations: 98.72 MB / 0.6283 GB, free: 9.809 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.649/10.18, allocations: 2.469 GB / 3.097 GB, free: 150.4 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002904/10.18, allocations: 96.14 kB / 3.097 GB, free: 150.3 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: 249 * Number of variables: 249 Notification: Performance of Generate backend data structure: time 4.412/14.59, allocations: 0.9196 GB / 4.017 GB, free: 124.6 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.417e-05/14.59, allocations: 10.53 kB / 4.017 GB, free: 124.6 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005663/14.6, allocations: 0.579 MB / 4.017 GB, free: 124.5 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005631/14.6, allocations: 1.437 MB / 4.019 GB, free: 124.1 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001343/14.61, allocations: 189.3 kB / 4.019 GB, free: 124.1 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005931/14.61, allocations: 69.28 kB / 4.019 GB, free: 124.1 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003694/14.61, allocations: 0.9989 MB / 4.02 GB, free: 124.1 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003773/14.61, allocations: 1.097 MB / 4.021 GB, free: 123.9 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.536e-05/14.61, allocations: 0 / 4.021 GB, free: 123.9 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001839/14.61, allocations: 6.781 kB / 4.021 GB, free: 123.9 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.188e-05/14.61, allocations: 47.66 kB / 4.021 GB, free: 123.9 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0159/14.63, allocations: 5.229 MB / 4.026 GB, free: 121.9 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002504/14.63, allocations: 0.7991 MB / 4.027 GB, free: 121.9 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001054/14.63, allocations: 403.8 kB / 4.027 GB, free: 121.9 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001465/14.63, allocations: 0.8384 MB / 4.028 GB, free: 121 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001253/14.64, allocations: 0.4924 MB / 4.029 GB, free: 121 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=80): time 3.967e-06/14.64, allocations: 7.562 kB / 4.029 GB, free: 121 MB / 0.8386 GB Notification: Performance of matching and sorting (n=80): time 0.00425/14.64, allocations: 1.002 MB / 4.03 GB, free: 120.8 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.879e-05/14.64, allocations: 195.2 kB / 4.03 GB, free: 120.6 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002122/14.64, allocations: 0.9216 MB / 4.031 GB, free: 120.5 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 0.0003687/14.64, allocations: 28.95 kB / 4.031 GB, free: 120.4 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004591/14.64, allocations: 462.8 kB / 4.031 GB, free: 120.2 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 0.000356/14.64, allocations: 263.3 kB / 4.031 GB, free: 120 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001083/14.64, allocations: 0 / 4.031 GB, free: 120 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 9.783e-05/14.64, allocations: 344.4 kB / 4.032 GB, free: 119.7 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0013/14.65, allocations: 408.2 kB / 4.032 GB, free: 119.7 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00155/14.65, allocations: 0.7167 MB / 4.033 GB, free: 119.4 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002099/14.65, allocations: 0.5265 MB / 4.033 GB, free: 119.3 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.046e-05/14.65, allocations: 0 / 4.033 GB, free: 119.3 MB / 0.8386 GB Notification: Performance of matching and sorting (n=137) (initialization): time 0.004146/14.65, allocations: 1.255 MB / 4.035 GB, free: 119.2 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003993/14.65, allocations: 2.036 MB / 4.037 GB, free: 117.1 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.028e-05/14.65, allocations: 3.875 kB / 4.037 GB, free: 117.1 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.961e-05/14.65, allocations: 13.16 kB / 4.037 GB, free: 117.1 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003627/14.66, allocations: 362.3 kB / 4.037 GB, free: 117.1 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000897/14.66, allocations: 1.213 MB / 4.038 GB, free: 116 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003438/14.66, allocations: 207.5 kB / 4.038 GB, free: 115.9 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005833/14.66, allocations: 65.59 kB / 4.038 GB, free: 115.9 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.762e-05/14.66, allocations: 6.938 kB / 4.038 GB, free: 115.9 MB / 0.8386 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004316/14.67, allocations: 1.056 MB / 4.039 GB, free: 115.9 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.96e-05/14.67, allocations: 6.906 kB / 4.039 GB, free: 115.9 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.75e-05/14.67, allocations: 11.16 kB / 4.039 GB, free: 115.9 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004871/14.67, allocations: 336.4 kB / 4.04 GB, free: 115.9 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.437e-05/14.67, allocations: 11.75 kB / 4.04 GB, free: 115.9 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00491/14.68, allocations: 184.2 kB / 4.04 GB, free: 115.8 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000588/14.68, allocations: 65.98 kB / 4.04 GB, free: 115.8 MB / 0.8386 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 23 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition1,$PRE.TSet.T_start,TSet.T_start,$PRE.TSet.count,TSet.count,hex.flowRegime,hex.flowRegime_nominal,P.I.trigger_internal) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (134): * Single equations (assignments): 129 * Array equations: 1 * Algorithm blocks: 1 * Record equations: 1 * 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.0006594/14.68, allocations: 134.8 kB / 4.04 GB, free: 115.7 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007701/14.68, allocations: 142.4 kB / 4.04 GB, free: 115.6 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004497/14.68, allocations: 1.129 MB / 4.041 GB, free: 115.5 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.326e-05/14.68, allocations: 10.84 kB / 4.041 GB, free: 115.5 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.197e-06/14.68, allocations: 0 / 4.041 GB, free: 115.5 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.551e-05/14.68, allocations: 6.75 kB / 4.041 GB, free: 115.5 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007889/14.69, allocations: 2.493 MB / 4.044 GB, free: 115.1 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.298e-05/14.69, allocations: 7.047 kB / 4.044 GB, free: 115.1 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002516/14.69, allocations: 257.4 kB / 4.044 GB, free: 115 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.217e-05/14.69, allocations: 15.33 kB / 4.044 GB, free: 115 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001817/14.69, allocations: 20.17 kB / 4.044 GB, free: 115 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006083/14.7, allocations: 1.191 MB / 4.045 GB, free: 113.9 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.532e-06/14.7, allocations: 5.531 kB / 4.045 GB, free: 113.9 MB / 0.8386 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.004957/14.7, allocations: 1.922 MB / 4.047 GB, free: 113.3 MB / 0.8386 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.00681/14.71, allocations: 2.986 MB / 4.05 GB, free: 112.3 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001277/14.71, allocations: 357.4 kB / 4.05 GB, free: 112.1 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005248/14.71, allocations: 3.938 kB / 4.05 GB, free: 112.1 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002842/14.71, allocations: 143.5 kB / 4.051 GB, free: 112.1 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002612/14.71, allocations: 68.59 kB / 4.051 GB, free: 112.1 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001673/14.71, allocations: 43.23 kB / 4.051 GB, free: 112.1 MB / 0.8386 GB Notification: Performance of sort global known variables: time 0.001471/14.71, allocations: 0.6808 MB / 4.051 GB, free: 112 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.00932/14.72, allocations: 1.561 MB / 4.053 GB, free: 111.8 MB / 0.8386 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 4 (temSen.T,val.filter.x[1],val.filter.x[2],P.I.y) * Number of discrete variables: 4 ($whenCondition1,TSet.T_start,TSet.count,hex.flowRegime) * Number of discrete states: 1 (TSet.count) * Top-level inputs: 0 Notification: Strong component statistics for simulation (88): * Single equations (assignments): 82 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 2 * 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.004843/14.73, allocations: 2.397 MB / 4.055 GB, free: 111.1 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.005499/14.73, allocations: 1.755 MB / 4.057 GB, free: 110.9 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 9.458e-06/14.73, allocations: 0 / 4.057 GB, free: 110.9 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.001595/14.74, allocations: 0.517 MB / 4.057 GB, free: 110.9 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005047/14.74, allocations: 0.4983 MB / 4.058 GB, free: 110.9 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007329/14.75, allocations: 2.049 MB / 4.06 GB, free: 110.3 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001886/14.75, allocations: 1.423 MB / 4.061 GB, free: 109.5 MB / 0.8386 GB Notification: Performance of SimCode: time 1.392e-06/14.75, allocations: 0 / 4.061 GB, free: 109.5 MB / 0.8386 GB