Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X.conf.json Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X") [: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 loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.097/2.097, allocations: 253.1 MB / 260.4 MB, free: 7.504 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001619/0.001618, allocations: 181 kB / 319.6 MB, free: 3.297 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.817/1.817, allocations: 205.4 MB / 0.5704 GB, free: 15.02 MB / 426.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001309/0.001309, allocations: 93.52 kB / 0.6746 GB, free: 4.379 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.251e-05/1.267e-05, allocations: 4 kB / 0.7843 GB, free: 102.5 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2103/0.2104, allocations: 106.2 MB / 0.888 GB, free: 12.18 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6247/0.8351, allocations: 132 MB / 1.017 GB, free: 6.332 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002894/0.8354, allocations: 76.33 kB / 1.017 GB, free: 6.289 MB / 0.6355 GB Notification: Performance of FrontEnd: time 0.006159/0.8416, allocations: 1.164 MB / 1.018 GB, free: 5.352 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 6.142e-06/0.8417, allocations: 0 / 1.018 GB, free: 5.352 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.0002939/0.842, allocations: 324.2 kB / 1.018 GB, free: 4.992 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.406e-05/0.842, allocations: 12.03 kB / 1.018 GB, free: 4.98 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002943/0.8423, allocations: 19.88 kB / 1.018 GB, free: 4.961 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001217/0.8425, allocations: 169.5 kB / 1.019 GB, free: 4.758 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.728e-06/0.8425, allocations: 0 / 1.019 GB, free: 4.758 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.328e-05/0.8425, allocations: 4 kB / 1.019 GB, free: 4.754 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.879e-05/0.8426, allocations: 18.73 kB / 1.019 GB, free: 4.742 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.853e-05/0.8427, allocations: 40.36 kB / 1.019 GB, free: 4.699 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.727e-06/0.8427, allocations: 0.8438 kB / 1.019 GB, free: 4.699 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.261e-05/0.8428, allocations: 0 / 1.019 GB, free: 4.699 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.32e-06/0.8428, allocations: 0 / 1.019 GB, free: 4.699 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001663/0.8429, allocations: 138.3 kB / 1.019 GB, free: 4.531 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003539/0.8465, allocations: 278.9 kB / 1.019 GB, free: 4.258 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.751e-05/0.8466, allocations: 20.41 kB / 1.019 GB, free: 4.238 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.478e-05/0.8466, allocations: 0 / 1.019 GB, free: 4.238 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.022e-05/0.8466, allocations: 38.31 kB / 1.019 GB, free: 4.195 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=4): time 1.463e-06/0.8466, allocations: 0 / 1.019 GB, free: 4.195 MB / 0.6355 GB Notification: Performance of matching and sorting (n=4): time 0.0001681/0.8468, allocations: 52.69 kB / 1.019 GB, free: 4.141 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.288e-05/0.8469, allocations: 51.41 kB / 1.019 GB, free: 4.078 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.471e-05/0.8469, allocations: 95.5 kB / 1.019 GB, free: 3.98 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.623e-05/0.847, allocations: 25.7 kB / 1.019 GB, free: 3.949 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 3.589e-05/0.847, allocations: 80.14 kB / 1.019 GB, free: 3.867 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.948e-05/0.8471, allocations: 11.75 kB / 1.019 GB, free: 3.855 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.092e-06/0.8471, allocations: 0 / 1.019 GB, free: 3.855 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001102/0.8472, allocations: 321.5 kB / 1.02 GB, free: 3.535 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.955e-05/0.8472, allocations: 11 kB / 1.02 GB, free: 3.527 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.811e-05/0.8473, allocations: 11.19 kB / 1.02 GB, free: 3.52 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.302e-05/0.8473, allocations: 4.125 kB / 1.02 GB, free: 3.516 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.943e-06/0.8473, allocations: 4 kB / 1.02 GB, free: 3.512 MB / 0.6355 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001115/0.8474, allocations: 48.75 kB / 1.02 GB, free: 3.465 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.358e-05/0.8475, allocations: 10.19 kB / 1.02 GB, free: 3.457 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.199e-06/0.8475, allocations: 0 / 1.02 GB, free: 3.457 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.327e-05/0.8475, allocations: 0 / 1.02 GB, free: 3.457 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.152e-05/0.8476, allocations: 4 kB / 1.02 GB, free: 3.453 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.776e-06/0.8476, allocations: 4.781 kB / 1.02 GB, free: 3.449 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.18e-05/0.8477, allocations: 4 kB / 1.02 GB, free: 3.445 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.221e-06/0.8477, allocations: 0 / 1.02 GB, free: 3.445 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 7.6e-05/0.8478, allocations: 105 kB / 1.02 GB, free: 3.336 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.668e-05/0.8478, allocations: 7.984 kB / 1.02 GB, free: 3.328 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.88e-05/0.8479, allocations: 10.75 kB / 1.02 GB, free: 3.32 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.224e-06/0.8479, allocations: 0 / 1.02 GB, free: 3.32 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.709e-06/0.8479, allocations: 0 / 1.02 GB, free: 3.32 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.428e-06/0.8479, allocations: 0 / 1.02 GB, free: 3.32 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000118/0.848, allocations: 137.2 kB / 1.02 GB, free: 3.152 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.848, allocations: 3.938 kB / 1.02 GB, free: 3.148 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.902e-05/0.8482, allocations: 6.625 kB / 1.02 GB, free: 3.145 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.935e-06/0.8482, allocations: 4 kB / 1.02 GB, free: 3.141 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.935e-06/0.8482, allocations: 4 kB / 1.02 GB, free: 3.137 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.617e-06/0.8482, allocations: 3.906 kB / 1.02 GB, free: 3.133 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.745e-06/0.8482, allocations: 0 / 1.02 GB, free: 3.133 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.000124/0.8483, allocations: 70.94 kB / 1.02 GB, free: 3.051 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001248/0.8485, allocations: 85 kB / 1.02 GB, free: 2.949 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.834e-05/0.8485, allocations: 4 kB / 1.02 GB, free: 2.945 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.716e-05/0.8486, allocations: 0 / 1.02 GB, free: 2.945 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.609e-05/0.8486, allocations: 2.938 kB / 1.02 GB, free: 2.945 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.793e-06/0.8486, allocations: 4 kB / 1.02 GB, free: 2.941 MB / 0.6355 GB Notification: Performance of sort global known variables: time 3.563e-05/0.8487, allocations: 79.28 kB / 1.02 GB, free: 2.863 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0002421/0.8489, allocations: 4 kB / 1.02 GB, free: 2.859 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.0001223/0.8491, allocations: 103.1 kB / 1.02 GB, free: 2.746 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001093/0.8492, allocations: 30.41 kB / 1.02 GB, free: 2.723 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.8492, allocations: 0 / 1.02 GB, free: 2.723 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 3.533e-05/0.8492, allocations: 10.94 kB / 1.021 GB, free: 2.715 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002103/0.8495, allocations: 8.094 kB / 1.021 GB, free: 2.707 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002829/0.8498, allocations: 81.8 kB / 1.021 GB, free: 2.609 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002801/0.8501, allocations: 0.6878 MB / 1.021 GB, free: 1.898 MB / 0.6355 GB Notification: Performance of SimCode: time 6.51e-07/0.8501, allocations: 0 / 1.021 GB, free: 1.898 MB / 0.6355 GB Notification: Performance of Templates: time 0.003154/0.8532, allocations: 0.5847 MB / 1.022 GB, free: 1.328 MB / 0.6355 GB