Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/../OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.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.Sensors.Examples.EnthalpyFlowRate,fileNamePrefix="Buildings_6_0_0_Buildings_Fluid_Sensors_Examples_EnthalpyFlowRate",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 4.334/4.334, allocations: 433 MB / 440.3 MB, free: 4.828 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.5402/4.874, allocations: 104.3 MB / 0.5319 GB, free: 12.95 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2485/5.123, allocations: 98.74 MB / 0.6283 GB, free: 9.859 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.454/10.58, allocations: 2.176 GB / 2.804 GB, free: 169.2 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003142/10.58, allocations: 88.52 kB / 2.804 GB, free: 169.2 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: 63 * Number of variables: 63 Notification: Performance of Generate backend data structure: time 1.329/11.91, allocations: 288.9 MB / 3.086 GB, free: 217.4 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 5.235e-05/11.91, allocations: 16 kB / 3.086 GB, free: 217.4 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006307/11.91, allocations: 59.48 kB / 3.086 GB, free: 217.4 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009362/11.91, allocations: 329.8 kB / 3.086 GB, free: 217 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.178e-05/11.91, allocations: 10.62 kB / 3.086 GB, free: 217 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.066e-05/11.91, allocations: 16 kB / 3.086 GB, free: 217 MB / 0.823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005637/11.91, allocations: 173.3 kB / 3.087 GB, free: 216.8 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005645/11.91, allocations: 208.8 kB / 3.087 GB, free: 216.6 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.716e-05/11.91, allocations: 4 kB / 3.087 GB, free: 216.6 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.317e-05/11.91, allocations: 0 / 3.087 GB, free: 216.6 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.306e-05/11.91, allocations: 11.91 kB / 3.087 GB, free: 216.6 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002086/11.91, allocations: 0.9103 MB / 3.088 GB, free: 215.6 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000527/11.91, allocations: 154.7 kB / 3.088 GB, free: 215.5 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002056/11.91, allocations: 88.83 kB / 3.088 GB, free: 215.4 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008348/11.91, allocations: 303.3 kB / 3.088 GB, free: 215 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.678e-05/11.91, allocations: 38.5 kB / 3.088 GB, free: 215 MB / 0.823 GB Notification: Performance of pre-optimization done (n=19): time 3.397e-06/11.91, allocations: 0 / 3.088 GB, free: 215 MB / 0.823 GB Notification: Performance of matching and sorting (n=19): time 0.001317/11.91, allocations: 270.9 kB / 3.088 GB, free: 214.7 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.147e-05/11.91, allocations: 55.41 kB / 3.089 GB, free: 214.6 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002345/11.91, allocations: 180.1 kB / 3.089 GB, free: 214.5 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 3.287e-05/11.91, allocations: 25.7 kB / 3.089 GB, free: 214.4 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 7.837e-05/11.91, allocations: 152.2 kB / 3.089 GB, free: 214.3 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 7.16e-05/11.91, allocations: 70.89 kB / 3.089 GB, free: 214.2 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.396e-05/11.92, allocations: 0 / 3.089 GB, free: 214.2 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 8.774e-05/11.92, allocations: 334.8 kB / 3.089 GB, free: 213.9 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001596/11.92, allocations: 52.36 kB / 3.089 GB, free: 213.8 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000213/11.92, allocations: 94.81 kB / 3.089 GB, free: 213.7 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005516/11.92, allocations: 137.8 kB / 3.09 GB, free: 213.6 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.188e-06/11.92, allocations: 0 / 3.09 GB, free: 213.6 MB / 0.823 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0008951/11.92, allocations: 256.6 kB / 3.09 GB, free: 213.3 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 2.278e-05/11.92, allocations: 8 kB / 3.09 GB, free: 213.3 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.052e-05/11.92, allocations: 0 / 3.09 GB, free: 213.3 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.553e-05/11.92, allocations: 0 / 3.09 GB, free: 213.3 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000412/11.92, allocations: 43.83 kB / 3.09 GB, free: 213.3 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.496e-05/11.92, allocations: 8.031 kB / 3.09 GB, free: 213.3 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003944/11.92, allocations: 23.88 kB / 3.09 GB, free: 213.2 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.38e-05/11.92, allocations: 12 kB / 3.09 GB, free: 213.2 MB / 0.823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (21): * Single equations (assignments): 21 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001105/11.92, allocations: 112.9 kB / 3.09 GB, free: 213.1 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.028e-05/11.92, allocations: 19.72 kB / 3.09 GB, free: 213.1 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001018/11.92, allocations: 271.5 kB / 3.09 GB, free: 212.8 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.165e-06/11.92, allocations: 4 kB / 3.09 GB, free: 212.8 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.303e-06/11.92, allocations: 0 / 3.09 GB, free: 212.8 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.883e-06/11.92, allocations: 0 / 3.09 GB, free: 212.8 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001805/11.92, allocations: 0.725 MB / 3.091 GB, free: 212 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.692e-06/11.92, allocations: 4 kB / 3.091 GB, free: 212 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004187/11.92, allocations: 40.19 kB / 3.091 GB, free: 212 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.117e-05/11.92, allocations: 8 kB / 3.091 GB, free: 212 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.63e-05/11.92, allocations: 4 kB / 3.091 GB, free: 212 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.915e-06/11.92, allocations: 7.938 kB / 3.091 GB, free: 212 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.96e-06/11.92, allocations: 4 kB / 3.091 GB, free: 212 MB / 0.823 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001106/11.92, allocations: 0.552 MB / 3.092 GB, free: 211.3 MB / 0.823 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001748/11.92, allocations: 1.076 MB / 3.093 GB, free: 210.2 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000199/11.92, allocations: 128.7 kB / 3.093 GB, free: 210 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.83e-05/11.92, allocations: 7.906 kB / 3.093 GB, free: 210 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003865/11.93, allocations: 15.98 kB / 3.093 GB, free: 210 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.154e-05/11.93, allocations: 23.91 kB / 3.093 GB, free: 210 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.45e-05/11.93, allocations: 12 kB / 3.093 GB, free: 210 MB / 0.823 GB Notification: Performance of sort global known variables: time 0.000296/11.93, allocations: 144.5 kB / 3.093 GB, free: 209.8 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.001997/11.93, allocations: 295.7 kB / 3.093 GB, free: 209.6 MB / 0.823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 2 (senH_flow.h_out,senH.h_out) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (19): * Single equations (assignments): 19 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002302/11.93, allocations: 1.358 MB / 3.095 GB, free: 208.3 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.000522/11.93, allocations: 156.1 kB / 3.095 GB, free: 208.2 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 4.829e-06/11.93, allocations: 4 kB / 3.095 GB, free: 208.1 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.0002144/11.93, allocations: 79.92 kB / 3.095 GB, free: 208.1 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008785/11.93, allocations: 88.78 kB / 3.095 GB, free: 208 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001332/11.93, allocations: 496.8 kB / 3.095 GB, free: 207.4 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004513/11.93, allocations: 0.8254 MB / 3.096 GB, free: 206.6 MB / 0.823 GB Notification: Performance of SimCode: time 1.884e-06/11.93, allocations: 0 / 3.096 GB, free: 206.6 MB / 0.823 GB