Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/../OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.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.Utilities.Psychrometrics.Functions.Examples.Density_pTX,fileNamePrefix="Buildings_6_0_0_Buildings_Utilities_Psychrometrics_Functions_Examples_Density_pTX",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.587/4.587, allocations: 433 MB / 440.3 MB, free: 4.809 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.5258/5.113, allocations: 104.3 MB / 0.5319 GB, free: 13.06 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2224/5.335, allocations: 98.72 MB / 0.6283 GB, free: 9.789 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2854/5.621, allocations: 150.3 MB / 0.7751 GB, free: 3.254 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000317/5.621, allocations: 79.59 kB / 0.7752 GB, free: 3.18 MB / 0.6511 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.006085/5.627, allocations: 1.627 MB / 0.7768 GB, free: 1.508 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.25e-05/5.627, allocations: 8 kB / 0.7768 GB, free: 1.5 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.783e-05/5.627, allocations: 4 kB / 0.7768 GB, free: 1.496 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001462/5.627, allocations: 167 kB / 0.7769 GB, free: 1.293 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.606e-05/5.627, allocations: 29.7 kB / 0.777 GB, free: 1.258 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.607e-05/5.627, allocations: 4 kB / 0.777 GB, free: 1.254 MB / 0.6511 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.48e-05/5.627, allocations: 4 kB / 0.777 GB, free: 1.25 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.11e-05/5.628, allocations: 37.81 kB / 0.777 GB, free: 1.207 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.257e-06/5.628, allocations: 4 kB / 0.777 GB, free: 1.203 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.067e-05/5.628, allocations: 0 / 0.777 GB, free: 1.203 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.671e-06/5.628, allocations: 0 / 0.777 GB, free: 1.203 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001645/5.628, allocations: 134.2 kB / 0.7771 GB, free: 1.035 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 7.845e-05/5.628, allocations: 34.52 kB / 0.7772 GB, free: 0.9922 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.157e-05/5.628, allocations: 8.859 kB / 0.7772 GB, free: 0.9805 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002632/5.628, allocations: 93.19 kB / 0.7773 GB, free: 0.8711 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.392e-05/5.628, allocations: 38.5 kB / 0.7773 GB, free: 0.8242 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=3): time 1.533e-06/5.628, allocations: 0 / 0.7773 GB, free: 0.8242 MB / 0.6511 GB Notification: Performance of matching and sorting (n=3): time 0.0002524/5.629, allocations: 45.62 kB / 0.7773 GB, free: 0.7734 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.707e-05/5.629, allocations: 51.41 kB / 0.7774 GB, free: 0.7109 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.142e-05/5.629, allocations: 96.98 kB / 0.7775 GB, free: 0.6094 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 1.649e-05/5.629, allocations: 25.7 kB / 0.7775 GB, free: 0.5781 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 3.698e-05/5.629, allocations: 80.14 kB / 0.7776 GB, free: 0.4961 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 2.449e-05/5.629, allocations: 7.906 kB / 0.7776 GB, free: 500 kB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.067e-06/5.629, allocations: 0 / 0.7776 GB, free: 500 kB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001261/5.629, allocations: 318.7 kB / 0.7779 GB, free: 172 kB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.138e-05/5.629, allocations: 8 kB / 0.7779 GB, free: 164 kB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.881e-05/5.629, allocations: 4 kB / 0.7779 GB, free: 160 kB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.914e-05/5.629, allocations: 4 kB / 0.7779 GB, free: 156 kB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/5.629, allocations: 0 / 0.7779 GB, free: 156 kB / 0.6511 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001473/5.629, allocations: 50 kB / 0.778 GB, free: 100 kB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.62e-05/5.629, allocations: 7.938 kB / 0.778 GB, free: 92 kB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.951e-06/5.629, allocations: 4 kB / 0.778 GB, free: 88 kB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.405e-05/5.629, allocations: 0 / 0.778 GB, free: 88 kB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001141/5.629, allocations: 11.94 kB / 0.778 GB, free: 76 kB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.829e-06/5.629, allocations: 0 / 0.778 GB, free: 76 kB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.691e-05/5.63, allocations: 3.906 kB / 0.778 GB, free: 72 kB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.965e-06/5.63, allocations: 48 / 0.778 GB, free: 72 kB / 0.6511 GB Notification: Model statistics after passing the back-end for initialization: * 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 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.2736/5.903, allocations: 104.8 kB / 0.7781 GB, free: 234.3 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.851e-05/5.903, allocations: 6.703 kB / 0.7781 GB, free: 234.3 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002602/5.903, allocations: 49.94 kB / 0.7781 GB, free: 234.3 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.57e-06/5.903, allocations: 6.781 kB / 0.7781 GB, free: 234.3 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.949e-06/5.903, allocations: 0 / 0.7781 GB, free: 234.3 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.157e-06/5.904, allocations: 3.312 kB / 0.7782 GB, free: 234.3 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.123e-05/5.904, allocations: 133.2 kB / 0.7783 GB, free: 234.1 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.635e-06/5.904, allocations: 0 / 0.7783 GB, free: 234.1 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001025/5.904, allocations: 3.031 kB / 0.7783 GB, free: 234.1 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.54e-06/5.904, allocations: 0 / 0.7783 GB, free: 234.1 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.235e-06/5.904, allocations: 0 / 0.7783 GB, free: 234.1 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.797e-06/5.904, allocations: 6.75 kB / 0.7783 GB, free: 234.1 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.026e-06/5.904, allocations: 7.562 kB / 0.7783 GB, free: 234.1 MB / 0.6511 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.000133/5.904, allocations: 72.3 kB / 0.7784 GB, free: 234 MB / 0.6511 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.000177/5.904, allocations: 441 kB / 0.7788 GB, free: 233.6 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 5.452e-05/5.904, allocations: 90.73 kB / 0.7789 GB, free: 233.5 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.72e-05/5.904, allocations: 2.438 kB / 0.7789 GB, free: 233.5 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.281e-05/5.904, allocations: 0 / 0.7789 GB, free: 233.5 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.633e-05/5.904, allocations: 9.328 kB / 0.7789 GB, free: 233.5 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.091e-06/5.904, allocations: 0 / 0.7789 GB, free: 233.5 MB / 0.6511 GB Notification: Performance of sort global known variables: time 3.009e-05/5.904, allocations: 84.7 kB / 0.779 GB, free: 233.4 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.001099/5.905, allocations: 12.62 kB / 0.779 GB, free: 233.4 MB / 0.6511 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 (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 Backend phase and start with SimCode phase: time 0.0002525/5.906, allocations: 144.9 kB / 0.7791 GB, free: 233.3 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 9.699e-05/5.906, allocations: 14.69 kB / 0.7791 GB, free: 233.3 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/5.906, allocations: 0 / 0.7791 GB, free: 233.3 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 2.693e-05/5.906, allocations: 7.906 kB / 0.7791 GB, free: 233.3 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002041/5.906, allocations: 8.594 kB / 0.7791 GB, free: 233.3 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000218/5.906, allocations: 56.92 kB / 0.7792 GB, free: 233.3 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001712/5.907, allocations: 0.6945 MB / 0.7799 GB, free: 232.6 MB / 0.6511 GB Notification: Performance of SimCode: time 7.72e-07/5.907, allocations: 0 / 0.7799 GB, free: 232.6 MB / 0.6511 GB