Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/../OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.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.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion,fileNamePrefix="Buildings_6_0_0_Buildings_Media_Specialized_Water_Examples_TemperatureDependentDensityTemperatureEnthalpyInversion",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.813/3.813, allocations: 433 MB / 440.3 MB, free: 4.848 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.5455/4.358, allocations: 104.3 MB / 0.5319 GB, free: 12.94 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2419/4.6, allocations: 98.73 MB / 0.6283 GB, free: 9.875 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9464/5.547, allocations: 328.7 MB / 0.9493 GB, free: 10.08 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003657/5.547, allocations: 83.58 kB / 0.9494 GB, free: 10.04 MB / 0.698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.04022/5.587, allocations: 7.668 MB / 0.9568 GB, free: 3.867 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.636e-05/5.587, allocations: 8 kB / 0.9568 GB, free: 3.859 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.275e-05/5.587, allocations: 8 kB / 0.9569 GB, free: 3.852 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001786/5.588, allocations: 159.1 kB / 0.957 GB, free: 3.656 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001056/5.588, allocations: 25.7 kB / 0.957 GB, free: 3.625 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.15e-05/5.588, allocations: 4 kB / 0.957 GB, free: 3.621 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001235/5.588, allocations: 15.8 kB / 0.9571 GB, free: 3.609 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001349/5.588, allocations: 41.59 kB / 0.9571 GB, free: 3.562 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.137e-05/5.588, allocations: 3.938 kB / 0.9571 GB, free: 3.559 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.47e-05/5.588, allocations: 4.656 kB / 0.9571 GB, free: 3.555 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.995e-05/5.588, allocations: 3.75 kB / 0.9571 GB, free: 3.555 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001142/5.589, allocations: 0.5752 MB / 0.9577 GB, free: 2.879 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 5.907e-05/5.589, allocations: 18.52 kB / 0.9577 GB, free: 2.852 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.177e-05/5.59, allocations: 12.92 kB / 0.9577 GB, free: 2.836 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005379/5.59, allocations: 363.9 kB / 0.958 GB, free: 2.414 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.18e-05/5.59, allocations: 30.56 kB / 0.9581 GB, free: 2.375 MB / 0.698 GB Notification: Performance of pre-optimization done (n=1): time 4.278e-06/5.59, allocations: 3.938 kB / 0.9581 GB, free: 2.371 MB / 0.698 GB Notification: Performance of matching and sorting (n=1): time 0.0004599/5.591, allocations: 49.56 kB / 0.9581 GB, free: 2.32 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.173e-05/5.591, allocations: 53.09 kB / 0.9582 GB, free: 2.258 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001267/5.591, allocations: 93.03 kB / 0.9583 GB, free: 2.16 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 3.429e-05/5.591, allocations: 29.69 kB / 0.9583 GB, free: 2.125 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 7.366e-05/5.591, allocations: 87.98 kB / 0.9584 GB, free: 2.039 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 1.42e-05/5.591, allocations: 3.906 kB / 0.9584 GB, free: 2.035 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.112e-06/5.591, allocations: 0 / 0.9584 GB, free: 2.035 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001811/5.591, allocations: 314.8 kB / 0.9587 GB, free: 1.719 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.424e-05/5.591, allocations: 0 / 0.9587 GB, free: 1.719 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.142e-05/5.591, allocations: 17.41 kB / 0.9587 GB, free: 1.699 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004123/5.592, allocations: 23.97 kB / 0.9587 GB, free: 1.676 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.618e-06/5.592, allocations: 4 kB / 0.9587 GB, free: 1.672 MB / 0.698 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0005169/5.592, allocations: 61.3 kB / 0.9588 GB, free: 1.609 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 7.312e-05/5.593, allocations: 4 kB / 0.9588 GB, free: 1.605 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.154e-05/5.593, allocations: 0 / 0.9588 GB, free: 1.605 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.634e-05/5.593, allocations: 4.281 kB / 0.9588 GB, free: 1.602 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001053/5.593, allocations: 7.984 kB / 0.9588 GB, free: 1.594 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.127e-05/5.593, allocations: 3.906 kB / 0.9588 GB, free: 1.59 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.923e-05/5.593, allocations: 4.062 kB / 0.9588 GB, free: 1.586 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.429e-05/5.593, allocations: 4 kB / 0.9588 GB, free: 1.582 MB / 0.698 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 (3): * Single equations (assignments): 3 * 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.0001368/5.593, allocations: 101 kB / 0.9589 GB, free: 1.477 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.963e-05/5.593, allocations: 7.891 kB / 0.9589 GB, free: 1.469 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002455/5.594, allocations: 124.9 kB / 0.959 GB, free: 1.34 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001141/5.594, allocations: 184.1 kB / 0.9592 GB, free: 1.156 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001049/5.594, allocations: 180.3 kB / 0.9594 GB, free: 0.9727 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001112/5.594, allocations: 180.2 kB / 0.9595 GB, free: 0.7891 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004508/5.594, allocations: 381.8 kB / 0.9599 GB, free: 380 kB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.17e-05/5.594, allocations: 101 kB / 0.96 GB, free: 272 kB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.93e-05/5.595, allocations: 108.9 kB / 0.9601 GB, free: 156 kB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001252/5.595, allocations: 184 kB / 0.9603 GB, free: 15.97 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001126/5.595, allocations: 184.2 kB / 0.9605 GB, free: 15.78 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001072/5.595, allocations: 188.1 kB / 0.9606 GB, free: 15.59 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0001052/5.595, allocations: 176.3 kB / 0.9608 GB, free: 15.41 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002555/5.595, allocations: 307.7 kB / 0.9611 GB, free: 15.09 MB / 0.7136 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0004521/5.596, allocations: 0.6678 MB / 0.9618 GB, free: 14.4 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001623/5.596, allocations: 186 kB / 0.9619 GB, free: 14.19 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001344/5.596, allocations: 184.3 kB / 0.9621 GB, free: 14 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003154/5.597, allocations: 108.7 kB / 0.9622 GB, free: 13.89 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001256/5.597, allocations: 188.1 kB / 0.9624 GB, free: 13.7 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001341/5.597, allocations: 105 kB / 0.9625 GB, free: 13.59 MB / 0.7136 GB Notification: Performance of sort global known variables: time 0.0001019/5.597, allocations: 79.28 kB / 0.9626 GB, free: 13.52 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.002316/5.599, allocations: 35.5 kB / 0.9626 GB, free: 13.48 MB / 0.7136 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 (0): * Single equations (assignments): 0 * 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.000607/5.6, allocations: 238.4 kB / 0.9628 GB, free: 13.24 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001288/5.6, allocations: 7.938 kB / 0.9628 GB, free: 13.23 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 9.608e-06/5.6, allocations: 4 kB / 0.9628 GB, free: 13.23 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 6.402e-06/5.6, allocations: 8.125 kB / 0.9628 GB, free: 13.22 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006512/5.601, allocations: 0.5222 MB / 0.9634 GB, free: 12.7 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003408/5.601, allocations: 123.2 kB / 0.9635 GB, free: 12.55 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000508/5.602, allocations: 0.6868 MB / 0.9641 GB, free: 11.84 MB / 0.7136 GB Notification: Performance of SimCode: time 4.168e-06/5.602, allocations: 4 kB / 0.9642 GB, free: 11.84 MB / 0.7136 GB