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.HumidityRatioPressure.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.HumidityRatioPressure,fileNamePrefix="Buildings_6_0_0_Buildings_Utilities_Psychrometrics_Examples_HumidityRatioPressure",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.403/4.403, allocations: 433 MB / 440.3 MB, free: 4.816 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.5652/4.968, allocations: 104.3 MB / 0.5319 GB, free: 13.01 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2275/5.196, allocations: 98.72 MB / 0.6283 GB, free: 9.816 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2485/5.444, allocations: 125.9 MB / 0.7513 GB, free: 11.69 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003339/5.445, allocations: 87.53 kB / 0.7513 GB, free: 11.61 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: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.01863/5.464, allocations: 3.506 MB / 0.7548 GB, free: 8.039 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.679e-05/5.464, allocations: 8 kB / 0.7548 GB, free: 8.031 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003615/5.464, allocations: 35.88 kB / 0.7548 GB, free: 7.996 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003007/5.464, allocations: 190.9 kB / 0.755 GB, free: 7.77 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.115e-05/5.464, allocations: 33.7 kB / 0.755 GB, free: 7.73 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.342e-05/5.464, allocations: 8 kB / 0.755 GB, free: 7.723 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002216/5.465, allocations: 51.92 kB / 0.7551 GB, free: 7.672 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002276/5.465, allocations: 77.58 kB / 0.7552 GB, free: 7.59 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.097e-05/5.465, allocations: 0 / 0.7552 GB, free: 7.59 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.186e-05/5.465, allocations: 0 / 0.7552 GB, free: 7.59 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.672e-06/5.465, allocations: 4 kB / 0.7552 GB, free: 7.586 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008647/5.466, allocations: 345.1 kB / 0.7555 GB, free: 7.211 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007673/5.467, allocations: 106.7 kB / 0.7556 GB, free: 7.098 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.85e-05/5.467, allocations: 28.86 kB / 0.7556 GB, free: 7.066 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.324e-05/5.467, allocations: 0 / 0.7556 GB, free: 7.066 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.875e-05/5.467, allocations: 34.56 kB / 0.7557 GB, free: 7.023 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=7): time 1.873e-06/5.467, allocations: 0 / 0.7557 GB, free: 7.023 MB / 0.6355 GB Notification: Performance of matching and sorting (n=7): time 0.0002899/5.467, allocations: 77.67 kB / 0.7557 GB, free: 6.941 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.788e-05/5.467, allocations: 51.41 kB / 0.7558 GB, free: 6.879 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001187/5.467, allocations: 113.2 kB / 0.7559 GB, free: 6.758 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.974e-05/5.467, allocations: 29.7 kB / 0.7559 GB, free: 6.723 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 5.625e-05/5.467, allocations: 99.97 kB / 0.756 GB, free: 6.621 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 3.171e-05/5.467, allocations: 19.64 kB / 0.756 GB, free: 6.602 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.374e-06/5.467, allocations: 0 / 0.756 GB, free: 6.602 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001334/5.468, allocations: 322.8 kB / 0.7563 GB, free: 6.277 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.611e-05/5.468, allocations: 16 kB / 0.7564 GB, free: 6.262 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.794e-05/5.468, allocations: 29.72 kB / 0.7564 GB, free: 6.227 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.459e-05/5.468, allocations: 23.98 kB / 0.7564 GB, free: 6.203 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.069e-06/5.468, allocations: 4 kB / 0.7564 GB, free: 6.199 MB / 0.6355 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002238/5.468, allocations: 77.53 kB / 0.7565 GB, free: 6.117 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.668e-05/5.468, allocations: 4 kB / 0.7565 GB, free: 6.113 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.039e-05/5.468, allocations: 4 kB / 0.7565 GB, free: 6.109 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.431e-05/5.468, allocations: 3.938 kB / 0.7565 GB, free: 6.105 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002466/5.468, allocations: 19.98 kB / 0.7565 GB, free: 6.086 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.641e-06/5.468, allocations: 0 / 0.7565 GB, free: 6.086 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001671/5.469, allocations: 16.02 kB / 0.7565 GB, free: 6.07 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.429e-05/5.469, allocations: 4 kB / 0.7565 GB, free: 6.066 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (8): * Single equations (assignments): 8 * 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.0001059/5.469, allocations: 108.8 kB / 0.7566 GB, free: 5.953 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000101/5.469, allocations: 15.89 kB / 0.7566 GB, free: 5.938 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.872e-05/5.469, allocations: 16.31 kB / 0.7567 GB, free: 5.922 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.174e-06/5.469, allocations: 4 kB / 0.7567 GB, free: 5.918 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.741e-06/5.469, allocations: 4 kB / 0.7567 GB, free: 5.914 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.592e-06/5.469, allocations: 3.984 kB / 0.7567 GB, free: 5.91 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002706/5.469, allocations: 170.1 kB / 0.7568 GB, free: 5.707 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.027e-06/5.469, allocations: 3.984 kB / 0.7568 GB, free: 5.703 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002052/5.47, allocations: 16 kB / 0.7569 GB, free: 5.688 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.119e-06/5.47, allocations: 0 / 0.7569 GB, free: 5.688 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.458e-05/5.47, allocations: 3.984 kB / 0.7569 GB, free: 5.684 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.345e-06/5.47, allocations: 0 / 0.7569 GB, free: 5.684 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.785e-06/5.47, allocations: 4 kB / 0.7569 GB, free: 5.68 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002595/5.47, allocations: 175.8 kB / 0.757 GB, free: 5.492 MB / 0.6355 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0003767/5.47, allocations: 0.5403 MB / 0.7576 GB, free: 4.934 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 6.363e-05/5.47, allocations: 85.05 kB / 0.7576 GB, free: 4.832 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.833e-05/5.47, allocations: 3.906 kB / 0.7576 GB, free: 4.828 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003085/5.471, allocations: 19.98 kB / 0.7577 GB, free: 4.809 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.992e-05/5.471, allocations: 3.984 kB / 0.7577 GB, free: 4.805 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.132e-05/5.471, allocations: 4 kB / 0.7577 GB, free: 4.801 MB / 0.6355 GB Notification: Performance of sort global known variables: time 7.404e-05/5.471, allocations: 95.27 kB / 0.7578 GB, free: 4.707 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.001142/5.472, allocations: 27.91 kB / 0.7578 GB, free: 4.68 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 (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.0001579/5.472, allocations: 95.25 kB / 0.7579 GB, free: 4.574 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0002215/5.472, allocations: 47.92 kB / 0.7579 GB, free: 4.527 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.846e-06/5.472, allocations: 0 / 0.7579 GB, free: 4.527 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 8.605e-05/5.473, allocations: 24 kB / 0.7579 GB, free: 4.504 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004544/5.473, allocations: 19.92 kB / 0.758 GB, free: 4.484 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00062/5.474, allocations: 135.3 kB / 0.7581 GB, free: 4.332 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004618/5.474, allocations: 0.7191 MB / 0.7588 GB, free: 3.586 MB / 0.6355 GB Notification: Performance of SimCode: time 1.663e-06/5.474, allocations: 0 / 0.7588 GB, free: 3.586 MB / 0.6355 GB