Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/../OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.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.Media.Examples.AirTemperatureEnthalpyInversion,fileNamePrefix="Buildings_6_0_0_Buildings_Media_Examples_AirTemperatureEnthalpyInversion",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.854/3.854, allocations: 433 MB / 440.3 MB, free: 4.82 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.5769/4.431, allocations: 104.3 MB / 0.5319 GB, free: 12.99 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2318/4.663, allocations: 98.73 MB / 0.6283 GB, free: 9.809 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.723/10.39, allocations: 2.167 GB / 2.795 GB, free: 182.5 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003396/10.39, allocations: 72.28 kB / 2.795 GB, free: 182.5 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.119/10.51, allocations: 36.31 MB / 2.831 GB, free: 152.9 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 4.025e-05/10.51, allocations: 8 kB / 2.831 GB, free: 152.9 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003735/10.51, allocations: 27.95 kB / 2.831 GB, free: 152.8 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001089/10.51, allocations: 159.1 kB / 2.831 GB, free: 152.6 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.252e-05/10.51, allocations: 29.61 kB / 2.831 GB, free: 152.6 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.126e-05/10.51, allocations: 4 kB / 2.831 GB, free: 152.6 MB / 0.823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.75e-05/10.51, allocations: 19.61 kB / 2.831 GB, free: 152.6 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001005/10.51, allocations: 53.42 kB / 2.831 GB, free: 152.5 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.025e-05/10.51, allocations: 3.938 kB / 2.831 GB, free: 152.5 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.572e-05/10.51, allocations: 0 / 2.831 GB, free: 152.5 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.745e-05/10.51, allocations: 3.938 kB / 2.831 GB, free: 152.5 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005418/10.51, allocations: 329 kB / 2.831 GB, free: 152.2 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 3.417e-05/10.51, allocations: 22.58 kB / 2.831 GB, free: 152.1 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.014e-05/10.51, allocations: 4.859 kB / 2.831 GB, free: 152.1 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 6.632e-06/10.51, allocations: 0 / 2.831 GB, free: 152.1 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.252e-05/10.51, allocations: 30.56 kB / 2.831 GB, free: 152.1 MB / 0.823 GB Notification: Performance of pre-optimization done (n=1): time 1.653e-06/10.51, allocations: 64 / 2.831 GB, free: 152.1 MB / 0.823 GB Notification: Performance of matching and sorting (n=1): time 0.0002648/10.51, allocations: 49.53 kB / 2.831 GB, free: 152 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.625e-05/10.51, allocations: 55.44 kB / 2.831 GB, free: 152 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.027e-05/10.51, allocations: 96.55 kB / 2.831 GB, free: 151.9 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 1.381e-05/10.51, allocations: 25.7 kB / 2.831 GB, free: 151.8 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 3.714e-05/10.51, allocations: 91.36 kB / 2.832 GB, free: 151.7 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 8.226e-06/10.51, allocations: 7.844 kB / 2.832 GB, free: 151.7 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.058e-06/10.51, allocations: 0 / 2.832 GB, free: 151.7 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 6.126e-05/10.51, allocations: 310.8 kB / 2.832 GB, free: 151.4 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.071e-05/10.51, allocations: 11.48 kB / 2.832 GB, free: 151.4 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.146e-05/10.51, allocations: 22.58 kB / 2.832 GB, free: 151.4 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.685e-05/10.51, allocations: 4 kB / 2.832 GB, free: 151.4 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.774e-06/10.51, allocations: 0 / 2.832 GB, free: 151.4 MB / 0.823 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.948e-05/10.51, allocations: 57.44 kB / 2.832 GB, free: 151.3 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.422e-05/10.51, allocations: 4 kB / 2.832 GB, free: 151.3 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.47e-06/10.51, allocations: 0 / 2.832 GB, free: 151.3 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.65e-05/10.51, allocations: 8.094 kB / 2.832 GB, free: 151.3 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.654e-05/10.51, allocations: 4 kB / 2.832 GB, free: 151.3 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.999e-06/10.51, allocations: 0 / 2.832 GB, free: 151.3 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.619e-05/10.51, allocations: 11.89 kB / 2.832 GB, free: 151.3 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.095e-06/10.51, allocations: 0 / 2.832 GB, free: 151.3 MB / 0.823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 4 * 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 5.669e-05/10.51, allocations: 104.9 kB / 2.832 GB, free: 151.2 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.49e-05/10.51, allocations: 7.906 kB / 2.832 GB, free: 151.2 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.464e-05/10.51, allocations: 6.531 kB / 2.832 GB, free: 151.2 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.787e-06/10.51, allocations: 0 / 2.832 GB, free: 151.2 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.729e-06/10.51, allocations: 0 / 2.832 GB, free: 151.2 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.196e-06/10.51, allocations: 4 kB / 2.832 GB, free: 151.2 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002203/10.51, allocations: 323.2 kB / 2.832 GB, free: 150.8 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.628e-06/10.51, allocations: 4 kB / 2.832 GB, free: 150.8 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.216e-05/10.51, allocations: 7.938 kB / 2.832 GB, free: 150.8 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.736e-06/10.51, allocations: 0 / 2.832 GB, free: 150.8 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.543e-06/10.51, allocations: 0 / 2.832 GB, free: 150.8 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.276e-06/10.51, allocations: 3.984 kB / 2.832 GB, free: 150.8 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.385e-06/10.51, allocations: 0 / 2.832 GB, free: 150.8 MB / 0.823 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 6.53e-05/10.51, allocations: 65.02 kB / 2.832 GB, free: 150.7 MB / 0.823 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.000205/10.51, allocations: 447.3 kB / 2.833 GB, free: 150.3 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 3.086e-05/10.51, allocations: 85.02 kB / 2.833 GB, free: 150.2 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.358e-05/10.51, allocations: 0 / 2.833 GB, free: 150.2 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001053/10.51, allocations: 4.062 kB / 2.833 GB, free: 150.2 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.127e-05/10.51, allocations: 0 / 2.833 GB, free: 150.2 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.554e-06/10.51, allocations: 0 / 2.833 GB, free: 150.2 MB / 0.823 GB Notification: Performance of sort global known variables: time 3.579e-05/10.51, allocations: 87.36 kB / 2.833 GB, free: 150.1 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.001253/10.51, allocations: 76.31 kB / 2.833 GB, free: 150.1 MB / 0.823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (1): * Single equations (assignments): 1 * 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.0008753/10.51, allocations: 0.6432 MB / 2.834 GB, free: 149.4 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.0001092/10.51, allocations: 11.94 kB / 2.834 GB, free: 149.4 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 4.268e-06/10.51, allocations: 3.438 kB / 2.834 GB, free: 149.4 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 9.678e-06/10.51, allocations: 8.188 kB / 2.834 GB, free: 149.4 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002013/10.51, allocations: 11.83 kB / 2.834 GB, free: 149.4 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002094/10.51, allocations: 51.88 kB / 2.834 GB, free: 149.3 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001707/10.51, allocations: 0.6957 MB / 2.835 GB, free: 148.6 MB / 0.823 GB Notification: Performance of SimCode: time 8.42e-07/10.51, allocations: 0 / 2.835 GB, free: 148.6 MB / 0.823 GB