Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/../OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Utilities.Psychrometrics.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.Examples.Density_pTX,fileNamePrefix="Buildings_6_0_0_Buildings_Utilities_Psychrometrics_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.519/4.519, allocations: 433 MB / 440.3 MB, free: 24.64 MB / 354.8 MB Notification: Performance of FrontEnd - loaded program: time 0.2659/4.785, allocations: 104.3 MB / 0.5319 GB, free: 4.5 MB / 434.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5735/5.359, allocations: 98.69 MB / 0.6283 GB, free: 0.6562 MB / 0.5027 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2939/5.653, allocations: 150.8 MB / 0.7756 GB, free: 10.26 MB / 0.6433 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003014/5.653, allocations: 67.97 kB / 0.7756 GB, free: 10.2 MB / 0.6433 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.01108/5.664, allocations: 2.185 MB / 0.7778 GB, free: 7.973 MB / 0.6433 GB Notification: Performance of prepare preOptimizeDAE: time 5.114e-05/5.664, allocations: 12 kB / 0.7778 GB, free: 7.961 MB / 0.6433 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.447e-05/5.665, allocations: 3.906 kB / 0.7778 GB, free: 7.957 MB / 0.6433 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001898/5.665, allocations: 182.8 kB / 0.778 GB, free: 7.738 MB / 0.6433 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.489e-05/5.665, allocations: 4 kB / 0.778 GB, free: 7.734 MB / 0.6433 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.373e-05/5.665, allocations: 4 kB / 0.778 GB, free: 7.73 MB / 0.6433 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001661/5.665, allocations: 20 kB / 0.778 GB, free: 7.711 MB / 0.6433 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001647/5.665, allocations: 53.61 kB / 0.778 GB, free: 7.652 MB / 0.6433 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.027e-05/5.665, allocations: 4 kB / 0.7781 GB, free: 7.648 MB / 0.6433 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.485e-05/5.665, allocations: 0 / 0.7781 GB, free: 7.648 MB / 0.6433 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.772e-06/5.665, allocations: 0 / 0.7781 GB, free: 7.648 MB / 0.6433 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005851/5.666, allocations: 249.4 kB / 0.7783 GB, free: 7.367 MB / 0.6433 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001275/5.666, allocations: 35.11 kB / 0.7783 GB, free: 7.324 MB / 0.6433 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.765e-05/5.666, allocations: 20.77 kB / 0.7783 GB, free: 7.301 MB / 0.6433 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000267/5.666, allocations: 89.05 kB / 0.7784 GB, free: 7.195 MB / 0.6433 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.312e-05/5.666, allocations: 34.64 kB / 0.7785 GB, free: 7.152 MB / 0.6433 GB Notification: Performance of pre-optimization done (n=3): time 4.769e-06/5.666, allocations: 4 kB / 0.7785 GB, free: 7.148 MB / 0.6433 GB Notification: Performance of matching and sorting (n=3): time 0.0003529/5.667, allocations: 57.62 kB / 0.7785 GB, free: 7.086 MB / 0.6433 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.136e-05/5.667, allocations: 51.41 kB / 0.7786 GB, free: 7.023 MB / 0.6433 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001194/5.667, allocations: 101 kB / 0.7787 GB, free: 6.918 MB / 0.6433 GB Notification: Performance of collectPreVariables (initialization): time 2.747e-05/5.667, allocations: 25.7 kB / 0.7787 GB, free: 6.887 MB / 0.6433 GB Notification: Performance of collectInitialEqns (initialization): time 5.939e-05/5.667, allocations: 88.03 kB / 0.7788 GB, free: 6.797 MB / 0.6433 GB Notification: Performance of collectInitialBindings (initialization): time 3.077e-05/5.667, allocations: 11.84 kB / 0.7788 GB, free: 6.785 MB / 0.6433 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.955e-06/5.667, allocations: 4 kB / 0.7788 GB, free: 6.781 MB / 0.6433 GB Notification: Performance of setup shared object (initialization): time 0.0001808/5.667, allocations: 310.8 kB / 0.7791 GB, free: 6.469 MB / 0.6433 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.447e-05/5.667, allocations: 12 kB / 0.7791 GB, free: 6.457 MB / 0.6433 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.34e-05/5.668, allocations: 8 kB / 0.7791 GB, free: 6.449 MB / 0.6433 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001124/5.668, allocations: 15.92 kB / 0.7791 GB, free: 6.434 MB / 0.6433 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.705e-06/5.668, allocations: 0 / 0.7791 GB, free: 6.434 MB / 0.6433 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002505/5.668, allocations: 57.59 kB / 0.7792 GB, free: 6.371 MB / 0.6433 GB Notification: Performance of prepare postOptimizeDAE: time 1.87e-05/5.668, allocations: 4 kB / 0.7792 GB, free: 6.367 MB / 0.6433 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.081e-06/5.668, allocations: 0 / 0.7792 GB, free: 6.367 MB / 0.6433 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.503e-05/5.668, allocations: 0 / 0.7792 GB, free: 6.367 MB / 0.6433 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000316/5.668, allocations: 31.97 kB / 0.7792 GB, free: 6.336 MB / 0.6433 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.099e-06/5.668, allocations: 384 / 0.7792 GB, free: 6.336 MB / 0.6433 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002273/5.669, allocations: 23.89 kB / 0.7792 GB, free: 6.312 MB / 0.6433 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.291e-05/5.669, allocations: 0 / 0.7792 GB, free: 6.312 MB / 0.6433 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.0001032/5.669, allocations: 105 kB / 0.7793 GB, free: 6.203 MB / 0.6433 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.316e-05/5.669, allocations: 7.844 kB / 0.7793 GB, free: 6.195 MB / 0.6433 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002956/5.669, allocations: 65.61 kB / 0.7794 GB, free: 6.117 MB / 0.6433 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.043e-06/5.669, allocations: 4 kB / 0.7794 GB, free: 6.113 MB / 0.6433 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.24e-06/5.669, allocations: 0 / 0.7794 GB, free: 6.113 MB / 0.6433 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.135e-06/5.669, allocations: 3.984 kB / 0.7794 GB, free: 6.109 MB / 0.6433 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002722/5.669, allocations: 150.2 kB / 0.7796 GB, free: 5.926 MB / 0.6433 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.27e-06/5.669, allocations: 4 kB / 0.7796 GB, free: 5.922 MB / 0.6433 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002547/5.67, allocations: 19.98 kB / 0.7796 GB, free: 5.902 MB / 0.6433 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.512e-06/5.67, allocations: 3.906 kB / 0.7796 GB, free: 5.898 MB / 0.6433 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.319e-05/5.67, allocations: 0 / 0.7796 GB, free: 5.898 MB / 0.6433 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.384e-06/5.67, allocations: 0 / 0.7796 GB, free: 5.898 MB / 0.6433 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.956e-06/5.67, allocations: 4 kB / 0.7796 GB, free: 5.895 MB / 0.6433 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002906/5.67, allocations: 155.7 kB / 0.7797 GB, free: 5.727 MB / 0.6433 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.00046/5.671, allocations: 0.5233 MB / 0.7802 GB, free: 5.184 MB / 0.6433 GB Notification: Performance of postOpt removeConstants (simulation): time 6.435e-05/5.671, allocations: 89.03 kB / 0.7803 GB, free: 5.078 MB / 0.6433 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.832e-05/5.671, allocations: 4 kB / 0.7803 GB, free: 5.074 MB / 0.6433 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002957/5.671, allocations: 15.98 kB / 0.7803 GB, free: 5.059 MB / 0.6433 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.557e-05/5.671, allocations: 3.906 kB / 0.7804 GB, free: 5.055 MB / 0.6433 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.249e-05/5.671, allocations: 7.984 kB / 0.7804 GB, free: 5.047 MB / 0.6433 GB Notification: Performance of sort global known variables: time 7.653e-05/5.671, allocations: 83.28 kB / 0.7804 GB, free: 4.965 MB / 0.6433 GB Notification: Performance of remove unused functions: time 0.00187/5.673, allocations: 16 kB / 0.7805 GB, free: 4.949 MB / 0.6433 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.000352/5.673, allocations: 155.2 kB / 0.7806 GB, free: 4.789 MB / 0.6433 GB Notification: Performance of simCode: created initialization part: time 0.0001839/5.674, allocations: 23.94 kB / 0.7806 GB, free: 4.766 MB / 0.6433 GB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/5.674, allocations: 0 / 0.7806 GB, free: 4.766 MB / 0.6433 GB Notification: Performance of simCode: created simulation system equations: time 7.799e-05/5.674, allocations: 12 kB / 0.7806 GB, free: 4.754 MB / 0.6433 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003323/5.674, allocations: 7.984 kB / 0.7806 GB, free: 4.746 MB / 0.6433 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004241/5.675, allocations: 84.23 kB / 0.7807 GB, free: 4.641 MB / 0.6433 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004954/5.675, allocations: 0.6967 MB / 0.7814 GB, free: 3.922 MB / 0.6433 GB Notification: Performance of SimCode: time 8.71e-07/5.675, allocations: 0 / 0.7814 GB, free: 3.922 MB / 0.6433 GB