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.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.Functions.Examples.phi_pTX,fileNamePrefix="Buildings_6_0_0_Buildings_Utilities_Psychrometrics_Functions_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.189/4.189, allocations: 433 MB / 440.3 MB, free: 4.816 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.5952/4.785, allocations: 104.3 MB / 0.5319 GB, free: 13.04 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2554/5.04, allocations: 98.73 MB / 0.6283 GB, free: 9.789 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2568/5.297, allocations: 125.4 MB / 0.7508 GB, free: 12.21 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003818/5.297, allocations: 83.59 kB / 0.7508 GB, free: 12.14 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.01502/5.312, allocations: 2.694 MB / 0.7535 GB, free: 9.395 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.954e-05/5.313, allocations: 12 kB / 0.7535 GB, free: 9.383 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.277e-05/5.313, allocations: 4 kB / 0.7535 GB, free: 9.379 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001645/5.313, allocations: 166.9 kB / 0.7536 GB, free: 9.176 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001038/5.313, allocations: 33.69 kB / 0.7537 GB, free: 9.137 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.179e-05/5.313, allocations: 0 / 0.7537 GB, free: 9.137 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.903e-05/5.313, allocations: 8 kB / 0.7537 GB, free: 9.129 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.762e-05/5.313, allocations: 45.62 kB / 0.7537 GB, free: 9.078 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.476e-06/5.313, allocations: 0 / 0.7537 GB, free: 9.078 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.372e-05/5.313, allocations: 0 / 0.7537 GB, free: 9.078 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.39e-06/5.313, allocations: 0 / 0.7537 GB, free: 9.078 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001942/5.313, allocations: 138.2 kB / 0.7539 GB, free: 8.906 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002241/5.314, allocations: 38.61 kB / 0.7539 GB, free: 8.859 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.114e-05/5.314, allocations: 16.8 kB / 0.7539 GB, free: 8.84 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004052/5.314, allocations: 182.3 kB / 0.7541 GB, free: 8.625 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.721e-05/5.314, allocations: 34.56 kB / 0.7541 GB, free: 8.582 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=4): time 2.454e-06/5.314, allocations: 3.938 kB / 0.7541 GB, free: 8.578 MB / 0.6355 GB Notification: Performance of matching and sorting (n=4): time 0.000852/5.315, allocations: 105.6 kB / 0.7542 GB, free: 8.469 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.77e-05/5.315, allocations: 51.41 kB / 0.7543 GB, free: 8.406 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.494e-05/5.315, allocations: 89 kB / 0.7544 GB, free: 8.312 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.504e-05/5.315, allocations: 25.7 kB / 0.7544 GB, free: 8.281 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 9.751e-05/5.315, allocations: 80.14 kB / 0.7545 GB, free: 8.199 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 3.783e-05/5.315, allocations: 19.8 kB / 0.7545 GB, free: 8.18 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.109e-06/5.315, allocations: 0 / 0.7545 GB, free: 8.18 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001647/5.316, allocations: 314.8 kB / 0.7548 GB, free: 7.863 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.754e-05/5.316, allocations: 4 kB / 0.7548 GB, free: 7.859 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.494e-05/5.316, allocations: 4 kB / 0.7548 GB, free: 7.855 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000655/5.316, allocations: 64.89 kB / 0.7548 GB, free: 7.793 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.46e-06/5.316, allocations: 3.984 kB / 0.7548 GB, free: 7.789 MB / 0.6355 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.000751/5.317, allocations: 109.5 kB / 0.755 GB, free: 7.676 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.075e-05/5.317, allocations: 8 kB / 0.755 GB, free: 7.668 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.196e-05/5.317, allocations: 3.984 kB / 0.755 GB, free: 7.664 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.895e-05/5.317, allocations: 0 / 0.755 GB, free: 7.664 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001099/5.317, allocations: 8 kB / 0.755 GB, free: 7.656 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.931e-06/5.317, allocations: 0 / 0.755 GB, free: 7.656 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.212e-05/5.317, allocations: 3.938 kB / 0.755 GB, free: 7.652 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.194e-05/5.317, allocations: 4 kB / 0.755 GB, free: 7.648 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 (4): * Single equations (assignments): 4 * 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.0001011/5.318, allocations: 106.1 kB / 0.7551 GB, free: 7.539 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.688e-05/5.318, allocations: 0 / 0.7551 GB, free: 7.539 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000805/5.318, allocations: 125.2 kB / 0.7552 GB, free: 7.41 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.128e-06/5.318, allocations: 4 kB / 0.7552 GB, free: 7.406 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.37e-06/5.318, allocations: 0 / 0.7552 GB, free: 7.406 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.847e-06/5.318, allocations: 0 / 0.7552 GB, free: 7.406 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001447/5.319, allocations: 134.1 kB / 0.7553 GB, free: 7.238 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.825e-06/5.319, allocations: 0 / 0.7553 GB, free: 7.238 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.8e-05/5.319, allocations: 11.98 kB / 0.7553 GB, free: 7.227 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.23e-06/5.319, allocations: 0 / 0.7553 GB, free: 7.227 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.309e-05/5.319, allocations: 4 kB / 0.7553 GB, free: 7.223 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.085e-06/5.319, allocations: 0 / 0.7553 GB, free: 7.223 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.121e-06/5.319, allocations: 11.94 kB / 0.7554 GB, free: 7.211 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0007461/5.32, allocations: 124.9 kB / 0.7555 GB, free: 7.07 MB / 0.6355 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0009108/5.32, allocations: 0.5052 MB / 0.756 GB, free: 6.543 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001054/5.321, allocations: 89.03 kB / 0.7561 GB, free: 6.438 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.068e-05/5.321, allocations: 0 / 0.7561 GB, free: 6.438 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.741e-05/5.321, allocations: 4 kB / 0.7561 GB, free: 6.434 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.17e-05/5.321, allocations: 7.891 kB / 0.7561 GB, free: 6.426 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.196e-05/5.321, allocations: 4 kB / 0.7561 GB, free: 6.422 MB / 0.6355 GB Notification: Performance of sort global known variables: time 5.578e-05/5.321, allocations: 79.28 kB / 0.7561 GB, free: 6.344 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.001163/5.322, allocations: 35.94 kB / 0.7562 GB, free: 6.309 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 (4): * Single equations (assignments): 4 * 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.0003891/5.322, allocations: 147.1 kB / 0.7563 GB, free: 6.152 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001423/5.323, allocations: 27.92 kB / 0.7563 GB, free: 6.125 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 3.186e-06/5.323, allocations: 0 / 0.7563 GB, free: 6.125 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 3.648e-05/5.323, allocations: 8 kB / 0.7564 GB, free: 6.117 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002309/5.323, allocations: 4 kB / 0.7564 GB, free: 6.113 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002692/5.323, allocations: 55.92 kB / 0.7564 GB, free: 6.035 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003661/5.324, allocations: 0.6876 MB / 0.7571 GB, free: 5.324 MB / 0.6355 GB Notification: Performance of SimCode: time 1.363e-06/5.324, allocations: 4 kB / 0.7571 GB, free: 5.32 MB / 0.6355 GB