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.Phi_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.Phi_pTX,fileNamePrefix="Buildings_6_0_0_Buildings_Utilities_Psychrometrics_Examples_Phi_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.193/4.193, allocations: 433 MB / 440.3 MB, free: 4.82 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.5367/4.73, allocations: 104.3 MB / 0.5319 GB, free: 12.96 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2353/4.965, allocations: 98.72 MB / 0.6283 GB, free: 9.816 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2432/5.209, allocations: 125.7 MB / 0.751 GB, free: 11.97 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002939/5.209, allocations: 79.59 kB / 0.7511 GB, free: 11.9 MB / 0.6355 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.0136/5.223, allocations: 2.568 MB / 0.7536 GB, free: 9.285 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.534e-05/5.223, allocations: 8 kB / 0.7536 GB, free: 9.277 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.719e-05/5.223, allocations: 7.906 kB / 0.7536 GB, free: 9.27 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001625/5.223, allocations: 170.9 kB / 0.7538 GB, free: 9.062 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.401e-05/5.223, allocations: 3.938 kB / 0.7538 GB, free: 9.059 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.672e-05/5.223, allocations: 0 / 0.7538 GB, free: 9.059 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000191/5.223, allocations: 20 kB / 0.7538 GB, free: 9.039 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001323/5.223, allocations: 53.62 kB / 0.7538 GB, free: 8.98 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.117e-06/5.223, allocations: 0 / 0.7538 GB, free: 8.98 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.211e-05/5.223, allocations: 0 / 0.7538 GB, free: 8.98 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.138e-06/5.223, allocations: 0 / 0.7538 GB, free: 8.98 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005074/5.224, allocations: 265.3 kB / 0.7541 GB, free: 8.684 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001026/5.224, allocations: 34.5 kB / 0.7541 GB, free: 8.641 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.714e-05/5.224, allocations: 16.77 kB / 0.7541 GB, free: 8.621 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002518/5.224, allocations: 97.19 kB / 0.7542 GB, free: 8.508 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.49e-05/5.224, allocations: 30.56 kB / 0.7543 GB, free: 8.469 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=3): time 2.915e-06/5.224, allocations: 0 / 0.7543 GB, free: 8.469 MB / 0.6355 GB Notification: Performance of matching and sorting (n=3): time 0.0005696/5.225, allocations: 77.64 kB / 0.7543 GB, free: 8.387 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.354e-05/5.225, allocations: 55.41 kB / 0.7544 GB, free: 8.32 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.877e-05/5.225, allocations: 100.9 kB / 0.7545 GB, free: 8.215 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.354e-05/5.225, allocations: 25.7 kB / 0.7545 GB, free: 8.184 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 4.816e-05/5.225, allocations: 88.03 kB / 0.7546 GB, free: 8.094 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.867e-05/5.225, allocations: 15.91 kB / 0.7546 GB, free: 8.078 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.432e-06/5.225, allocations: 0 / 0.7546 GB, free: 8.078 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001324/5.225, allocations: 314.8 kB / 0.7549 GB, free: 7.762 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.337e-05/5.225, allocations: 8 kB / 0.7549 GB, free: 7.754 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.3e-05/5.225, allocations: 15.94 kB / 0.7549 GB, free: 7.738 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003454/5.226, allocations: 31.95 kB / 0.755 GB, free: 7.707 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.725e-06/5.226, allocations: 0 / 0.755 GB, free: 7.707 MB / 0.6355 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0004422/5.226, allocations: 85.55 kB / 0.755 GB, free: 7.617 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.985e-05/5.226, allocations: 8 kB / 0.7551 GB, free: 7.609 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.212e-06/5.226, allocations: 0 / 0.7551 GB, free: 7.609 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.892e-05/5.226, allocations: 0 / 0.7551 GB, free: 7.609 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002403/5.227, allocations: 23.98 kB / 0.7551 GB, free: 7.586 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.889e-06/5.227, allocations: 0 / 0.7551 GB, free: 7.586 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001825/5.227, allocations: 27.83 kB / 0.7551 GB, free: 7.559 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.422e-05/5.227, allocations: 3.984 kB / 0.7551 GB, free: 7.555 MB / 0.6355 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 8.927e-05/5.227, allocations: 104.9 kB / 0.7552 GB, free: 7.445 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.103e-05/5.227, allocations: 7.906 kB / 0.7552 GB, free: 7.438 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005049/5.228, allocations: 90.02 kB / 0.7553 GB, free: 7.34 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.329e-06/5.228, allocations: 0 / 0.7553 GB, free: 7.34 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.444e-06/5.228, allocations: 4 kB / 0.7553 GB, free: 7.336 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.948e-06/5.228, allocations: 0 / 0.7553 GB, free: 7.336 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002502/5.228, allocations: 150.1 kB / 0.7554 GB, free: 7.152 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.074e-06/5.228, allocations: 0 / 0.7554 GB, free: 7.152 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002151/5.228, allocations: 27.98 kB / 0.7555 GB, free: 7.125 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.317e-06/5.228, allocations: 7.906 kB / 0.7555 GB, free: 7.117 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.119e-05/5.228, allocations: 0 / 0.7555 GB, free: 7.117 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.545e-06/5.228, allocations: 0 / 0.7555 GB, free: 7.117 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.786e-06/5.228, allocations: 0 / 0.7555 GB, free: 7.117 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.000479/5.229, allocations: 175.3 kB / 0.7556 GB, free: 6.93 MB / 0.6355 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0006007/5.229, allocations: 0.5555 MB / 0.7562 GB, free: 6.355 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 4.857e-05/5.229, allocations: 77.11 kB / 0.7563 GB, free: 6.262 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.254e-05/5.229, allocations: 0 / 0.7563 GB, free: 6.262 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002208/5.23, allocations: 20.03 kB / 0.7563 GB, free: 6.242 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.474e-05/5.23, allocations: 15.88 kB / 0.7563 GB, free: 6.227 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.155e-06/5.23, allocations: 0 / 0.7563 GB, free: 6.227 MB / 0.6355 GB Notification: Performance of sort global known variables: time 6.599e-05/5.23, allocations: 87.28 kB / 0.7564 GB, free: 6.141 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.001217/5.231, allocations: 39.94 kB / 0.7564 GB, free: 6.102 MB / 0.6355 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.0003703/5.231, allocations: 139.2 kB / 0.7565 GB, free: 5.957 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001706/5.232, allocations: 24 kB / 0.7566 GB, free: 5.934 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 6.011e-06/5.232, allocations: 0 / 0.7566 GB, free: 5.934 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0001022/5.232, allocations: 15.94 kB / 0.7566 GB, free: 5.918 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002791/5.232, allocations: 7.984 kB / 0.7566 GB, free: 5.91 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003973/5.232, allocations: 83.56 kB / 0.7567 GB, free: 5.805 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003467/5.233, allocations: 0.6954 MB / 0.7574 GB, free: 5.086 MB / 0.6355 GB Notification: Performance of SimCode: time 1.283e-06/5.233, allocations: 8 kB / 0.7574 GB, free: 5.078 MB / 0.6355 GB