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.TemperatureDependentDensityDerivativeCheck.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.TemperatureDependentDensityDerivativeCheck,fileNamePrefix="Buildings_6_0_0_Buildings_Media_Specialized_Water_Examples_TemperatureDependentDensityDerivativeCheck",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.972/3.972, allocations: 433 MB / 440.3 MB, free: 4.832 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.6036/4.576, allocations: 104.3 MB / 0.5319 GB, free: 12.98 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2337/4.81, allocations: 98.73 MB / 0.6283 GB, free: 9.816 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9343/5.744, allocations: 337.1 MB / 0.9575 GB, free: 14.23 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003068/5.744, allocations: 81.33 kB / 0.9576 GB, free: 14.18 MB / 0.7136 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.03247/5.777, allocations: 8.044 MB / 0.9654 GB, free: 7.734 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.484e-05/5.777, allocations: 8 kB / 0.9654 GB, free: 7.727 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002987/5.777, allocations: 15.23 kB / 0.9654 GB, free: 7.715 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001446/5.777, allocations: 167 kB / 0.9656 GB, free: 7.512 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.671e-05/5.777, allocations: 0 / 0.9656 GB, free: 7.512 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.186e-05/5.777, allocations: 7.984 kB / 0.9656 GB, free: 7.504 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.181e-05/5.777, allocations: 4 kB / 0.9656 GB, free: 7.5 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001447/5.778, allocations: 74.75 kB / 0.9657 GB, free: 7.418 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.967e-06/5.778, allocations: 3.938 kB / 0.9657 GB, free: 7.414 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.539e-05/5.778, allocations: 0 / 0.9657 GB, free: 7.414 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.308e-06/5.778, allocations: 4 kB / 0.9657 GB, free: 7.41 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000751/5.778, allocations: 426.8 kB / 0.9661 GB, free: 6.949 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001821/5.779, allocations: 66.67 kB / 0.9661 GB, free: 6.863 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.439e-05/5.779, allocations: 25.67 kB / 0.9662 GB, free: 6.832 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.406e-05/5.779, allocations: 0 / 0.9662 GB, free: 6.832 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.241e-05/5.779, allocations: 38.5 kB / 0.9662 GB, free: 6.785 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=5): time 1.573e-06/5.779, allocations: 4 kB / 0.9662 GB, free: 6.781 MB / 0.7136 GB Notification: Performance of matching and sorting (n=7): time 0.0007828/5.78, allocations: 278.5 kB / 0.9665 GB, free: 6.469 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.816e-05/5.78, allocations: 106.8 kB / 0.9666 GB, free: 6.34 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.847e-05/5.78, allocations: 96.88 kB / 0.9667 GB, free: 6.242 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 2.045e-05/5.78, allocations: 25.7 kB / 0.9667 GB, free: 6.211 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 5.673e-05/5.78, allocations: 84.05 kB / 0.9668 GB, free: 6.125 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.806e-05/5.78, allocations: 31.58 kB / 0.9668 GB, free: 6.098 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.869e-06/5.78, allocations: 0 / 0.9668 GB, free: 6.098 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001479/5.78, allocations: 314 kB / 0.9671 GB, free: 5.785 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.763e-05/5.78, allocations: 11.94 kB / 0.9671 GB, free: 5.777 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.886e-05/5.78, allocations: 53.02 kB / 0.9672 GB, free: 5.711 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.693e-05/5.78, allocations: 19.73 kB / 0.9672 GB, free: 5.695 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.833e-06/5.78, allocations: 0 / 0.9672 GB, free: 5.695 MB / 0.7136 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001892/5.78, allocations: 77.16 kB / 0.9673 GB, free: 5.621 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.663e-05/5.781, allocations: 4 kB / 0.9673 GB, free: 5.617 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.691e-05/5.781, allocations: 4 kB / 0.9673 GB, free: 5.613 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.906e-05/5.781, allocations: 7.922 kB / 0.9673 GB, free: 5.605 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001667/5.781, allocations: 20.12 kB / 0.9673 GB, free: 5.586 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.262e-06/5.781, allocations: 4.562 kB / 0.9673 GB, free: 5.582 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.86e-05/5.781, allocations: 7.906 kB / 0.9673 GB, free: 5.574 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.668e-06/5.781, allocations: 0 / 0.9673 GB, free: 5.574 MB / 0.7136 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (12): * Single equations (assignments): 12 * 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.0001081/5.781, allocations: 112.7 kB / 0.9674 GB, free: 5.461 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001005/5.781, allocations: 11.89 kB / 0.9674 GB, free: 5.449 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.815e-05/5.781, allocations: 11.25 kB / 0.9674 GB, free: 5.441 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.098e-06/5.781, allocations: 3.938 kB / 0.9674 GB, free: 5.438 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.801e-06/5.781, allocations: 4 kB / 0.9674 GB, free: 5.434 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.759e-06/5.781, allocations: 0 / 0.9674 GB, free: 5.434 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005156/5.782, allocations: 153.9 kB / 0.9676 GB, free: 5.25 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.495e-06/5.782, allocations: 0 / 0.9676 GB, free: 5.25 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001861/5.782, allocations: 12.06 kB / 0.9676 GB, free: 5.238 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.006e-05/5.782, allocations: 8 kB / 0.9676 GB, free: 5.23 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.112e-05/5.782, allocations: 0 / 0.9676 GB, free: 5.23 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.083e-06/5.782, allocations: 7.891 kB / 0.9676 GB, free: 5.223 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.29e-06/5.782, allocations: 4 kB / 0.9676 GB, free: 5.219 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0004091/5.782, allocations: 348.7 kB / 0.968 GB, free: 4.859 MB / 0.7136 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0005494/5.783, allocations: 0.7195 MB / 0.9687 GB, free: 4.125 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001024/5.783, allocations: 85.02 kB / 0.9687 GB, free: 4.023 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.114e-05/5.783, allocations: 0 / 0.9687 GB, free: 4.023 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003004/5.783, allocations: 7.984 kB / 0.9687 GB, free: 4.016 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.149e-05/5.783, allocations: 7.812 kB / 0.9688 GB, free: 4.012 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.482e-05/5.784, allocations: 4 kB / 0.9688 GB, free: 4.008 MB / 0.7136 GB Notification: Performance of sort global known variables: time 4.991e-05/5.784, allocations: 79.75 kB / 0.9688 GB, free: 3.93 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.001264/5.785, allocations: 15.91 kB / 0.9688 GB, free: 3.914 MB / 0.7136 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 3 (hLiqSym,cpSym,cvSym) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 7 * 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.0002214/5.785, allocations: 107.5 kB / 0.969 GB, free: 3.801 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001697/5.785, allocations: 43.75 kB / 0.969 GB, free: 3.766 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 3.366e-06/5.785, allocations: 0 / 0.969 GB, free: 3.766 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 4.245e-05/5.785, allocations: 19.81 kB / 0.969 GB, free: 3.75 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003404/5.786, allocations: 4.359 kB / 0.969 GB, free: 3.746 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008893/5.787, allocations: 275.9 kB / 0.9693 GB, free: 3.457 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004154/5.787, allocations: 0.7074 MB / 0.97 GB, free: 2.723 MB / 0.7136 GB Notification: Performance of SimCode: time 1.463e-06/5.787, allocations: 0 / 0.97 GB, free: 2.723 MB / 0.7136 GB