Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) 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 8.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X") translateModel(Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.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 8.0.0/package.mo): time 2.403/2.403, allocations: 284.9 MB / 292.2 MB, free: 10.79 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001688/0.001688, allocations: 173.3 kB / 360.4 MB, free: 7.539 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.704/1.704, allocations: 205.1 MB / 0.6188 GB, free: 12.52 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001267/0.001266, allocations: 100.3 kB / 0.7318 GB, free: 45.02 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.294e-05/1.31e-05, allocations: 4 kB / 0.8502 GB, free: 3.891 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.572/0.572, allocations: 115.2 MB / 0.9628 GB, free: 78.21 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2091/0.7812, allocations: 137.3 MB / 1.097 GB, free: 3.527 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003121/0.7816, allocations: 75.95 kB / 1.097 GB, free: 3.453 MB / 0.698 GB Notification: Performance of FrontEnd: time 0.006561/0.7882, allocations: 1.154 MB / 1.098 GB, free: 2.328 MB / 0.698 GB Notification: Performance of Transformations before backend: time 7.464e-06/0.7882, allocations: 0 / 1.098 GB, free: 2.328 MB / 0.698 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.0003443/0.7886, allocations: 334.9 kB / 1.098 GB, free: 1.957 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.585e-05/0.7886, allocations: 12.62 kB / 1.098 GB, free: 1.945 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003024/0.7889, allocations: 17.69 kB / 1.098 GB, free: 1.93 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001293/0.7891, allocations: 167.6 kB / 1.099 GB, free: 1.727 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.473e-05/0.7891, allocations: 0 / 1.099 GB, free: 1.727 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.091e-05/0.7891, allocations: 0.6562 kB / 1.099 GB, free: 1.727 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001156/0.7893, allocations: 16.55 kB / 1.099 GB, free: 1.711 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.365e-05/0.7894, allocations: 39.19 kB / 1.099 GB, free: 1.668 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.936e-06/0.7894, allocations: 0.8438 kB / 1.099 GB, free: 1.668 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.796e-05/0.7894, allocations: 3.984 kB / 1.099 GB, free: 1.664 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.231e-06/0.7895, allocations: 1.625 kB / 1.099 GB, free: 1.664 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001726/0.7896, allocations: 135.2 kB / 1.099 GB, free: 1.496 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003525/0.7932, allocations: 279.8 kB / 1.099 GB, free: 1.223 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.785e-05/0.7933, allocations: 17.84 kB / 1.099 GB, free: 1.203 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.989e-05/0.7933, allocations: 0 / 1.099 GB, free: 1.203 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.525e-05/0.7934, allocations: 34.56 kB / 1.099 GB, free: 1.16 MB / 0.698 GB Notification: Performance of pre-optimization done (n=4): time 2.004e-06/0.7934, allocations: 0 / 1.099 GB, free: 1.16 MB / 0.698 GB Notification: Performance of matching and sorting (n=4): time 0.0002024/0.7936, allocations: 53.78 kB / 1.099 GB, free: 1.102 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.654e-05/0.7937, allocations: 51.41 kB / 1.099 GB, free: 1.039 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.989e-05/0.7938, allocations: 92.94 kB / 1.099 GB, free: 0.9414 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.867e-05/0.7938, allocations: 29.64 kB / 1.099 GB, free: 0.9062 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 3.182e-05/0.7938, allocations: 80.14 kB / 1.099 GB, free: 0.8242 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 3.366e-05/0.7939, allocations: 15.75 kB / 1.099 GB, free: 0.8086 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.348e-06/0.7939, allocations: 0 / 1.099 GB, free: 0.8086 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001092/0.794, allocations: 314.8 kB / 1.1 GB, free: 0.4922 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.929e-05/0.794, allocations: 16.12 kB / 1.1 GB, free: 488 kB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.747e-05/0.7941, allocations: 4.797 kB / 1.1 GB, free: 484 kB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.651e-05/0.7941, allocations: 8 kB / 1.1 GB, free: 476 kB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.18e-06/0.7941, allocations: 3.906 kB / 1.1 GB, free: 472 kB / 0.698 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.000116/0.7943, allocations: 49.69 kB / 1.1 GB, free: 416 kB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.639e-05/0.7943, allocations: 4 kB / 1.1 GB, free: 412 kB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.632e-06/0.7943, allocations: 0.8438 kB / 1.1 GB, free: 412 kB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.629e-05/0.7943, allocations: 0.5156 kB / 1.1 GB, free: 412 kB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001096/0.7945, allocations: 4 kB / 1.1 GB, free: 408 kB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.769e-06/0.7945, allocations: 0 / 1.1 GB, free: 408 kB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.298e-05/0.7945, allocations: 8 kB / 1.1 GB, free: 400 kB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.709e-06/0.7946, allocations: 3.984 kB / 1.1 GB, free: 396 kB / 0.698 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 8.473e-05/0.7947, allocations: 117.6 kB / 1.1 GB, free: 272 kB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.573e-05/0.7947, allocations: 4 kB / 1.1 GB, free: 268 kB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.876e-05/0.7947, allocations: 3.531 kB / 1.1 GB, free: 260 kB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.429e-06/0.7947, allocations: 4.453 kB / 1.1 GB, free: 260 kB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.84e-06/0.7948, allocations: 1.938 kB / 1.1 GB, free: 260 kB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.428e-06/0.7948, allocations: 0 / 1.1 GB, free: 260 kB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001258/0.7949, allocations: 138.1 kB / 1.1 GB, free: 84 kB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.683e-06/0.7949, allocations: 4 kB / 1.1 GB, free: 80 kB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.506e-05/0.795, allocations: 8 kB / 1.1 GB, free: 72 kB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.645e-06/0.795, allocations: 0 / 1.1 GB, free: 72 kB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.105e-06/0.795, allocations: 0 / 1.1 GB, free: 72 kB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.603e-06/0.795, allocations: 0 / 1.1 GB, free: 72 kB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.876e-06/0.7951, allocations: 0 / 1.1 GB, free: 72 kB / 0.698 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001485/0.7952, allocations: 77.73 kB / 1.1 GB, free: 15.98 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001393/0.7954, allocations: 81.09 kB / 1.1 GB, free: 15.88 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.942e-05/0.7954, allocations: 8 kB / 1.1 GB, free: 15.87 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.9e-05/0.7955, allocations: 3.938 kB / 1.1 GB, free: 15.87 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.819e-05/0.7955, allocations: 8.453 kB / 1.1 GB, free: 15.86 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.776e-06/0.7955, allocations: 1.688 kB / 1.1 GB, free: 15.86 MB / 0.7136 GB Notification: Performance of sort global known variables: time 3.452e-05/0.7956, allocations: 83.28 kB / 1.1 GB, free: 15.78 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0002518/0.7958, allocations: 4 kB / 1.1 GB, free: 15.77 MB / 0.7136 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.0001247/0.796, allocations: 99.23 kB / 1.1 GB, free: 15.67 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001231/0.7961, allocations: 24.09 kB / 1.1 GB, free: 15.64 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.955e-06/0.7961, allocations: 0 / 1.1 GB, free: 15.64 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 3.649e-05/0.7962, allocations: 12 kB / 1.1 GB, free: 15.63 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002254/0.7964, allocations: 4 kB / 1.1 GB, free: 15.63 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003231/0.7967, allocations: 83.11 kB / 1.101 GB, free: 15.53 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002767/0.797, allocations: 0.6876 MB / 1.101 GB, free: 14.82 MB / 0.7136 GB Notification: Performance of SimCode: time 7.31e-07/0.7971, allocations: 4 kB / 1.101 GB, free: 14.81 MB / 0.7136 GB Notification: Performance of Templates: time 0.003297/0.8004, allocations: 0.5814 MB / 1.102 GB, free: 14.27 MB / 0.7136 GB make -j1 -f Buildings_8.0.0_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X.makefile (rm -f Buildings_8.0.0_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe ; mkfifo Buildings_8.0.0_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe >> ../files/Buildings_8.0.0_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X.sim & ./Buildings_8.0.0_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe 2>&1)