Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure.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.Examples.HumidityRatioPressure,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure") [: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.301/2.301, allocations: 253.1 MB / 260.4 MB, free: 11.71 MB / 211.1 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001636/0.001635, allocations: 181.9 kB / 319.6 MB, free: 2.348 MB / 243.1 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.924/1.924, allocations: 205.4 MB / 0.5704 GB, free: 8.355 MB / 435.1 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001198/0.001197, allocations: 96.81 kB / 0.6746 GB, free: 21.84 MB / 467.1 MB Notification: Performance of FrontEnd - loaded program: time 1.527e-05/1.558e-05, allocations: 0 / 0.7843 GB, free: 5.453 MB / 0.5499 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5945/0.5946, allocations: 106.3 MB / 0.888 GB, free: 64.44 MB / 0.5968 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2233/0.8179, allocations: 132.9 MB / 1.018 GB, free: 7.359 MB / 0.6593 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003041/0.8183, allocations: 71.95 kB / 1.018 GB, free: 7.289 MB / 0.6593 GB Notification: Performance of FrontEnd: time 0.0166/0.8349, allocations: 3.133 MB / 1.021 GB, free: 4.152 MB / 0.6593 GB Notification: Performance of Transformations before backend: time 1.62e-05/0.835, allocations: 8 kB / 1.021 GB, free: 4.145 MB / 0.6593 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.0006855/0.8356, allocations: 398.1 kB / 1.021 GB, free: 3.711 MB / 0.6593 GB Notification: Performance of prepare preOptimizeDAE: time 4.529e-05/0.8357, allocations: 12.02 kB / 1.021 GB, free: 3.699 MB / 0.6593 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003316/0.836, allocations: 27.88 kB / 1.021 GB, free: 3.672 MB / 0.6593 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003279/0.8364, allocations: 194.9 kB / 1.022 GB, free: 3.441 MB / 0.6593 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.386e-05/0.8365, allocations: 33.69 kB / 1.022 GB, free: 3.402 MB / 0.6593 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.153e-05/0.8365, allocations: 4 kB / 1.022 GB, free: 3.398 MB / 0.6593 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002099/0.8367, allocations: 47.94 kB / 1.022 GB, free: 3.352 MB / 0.6593 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002065/0.837, allocations: 81.58 kB / 1.022 GB, free: 3.266 MB / 0.6593 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.618e-06/0.837, allocations: 0 / 1.022 GB, free: 3.266 MB / 0.6593 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.035e-05/0.837, allocations: 0 / 1.022 GB, free: 3.266 MB / 0.6593 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.646e-06/0.837, allocations: 0 / 1.022 GB, free: 3.266 MB / 0.6593 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007501/0.8378, allocations: 349.1 kB / 1.022 GB, free: 2.887 MB / 0.6593 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007487/0.8386, allocations: 110.6 kB / 1.022 GB, free: 2.77 MB / 0.6593 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.84e-05/0.8387, allocations: 24.86 kB / 1.022 GB, free: 2.742 MB / 0.6593 GB Notification: Performance of preOpt evalFunc (simulation): time 1.681e-05/0.8387, allocations: 4 kB / 1.022 GB, free: 2.738 MB / 0.6593 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.73e-05/0.8387, allocations: 38.5 kB / 1.022 GB, free: 2.691 MB / 0.6593 GB Notification: Performance of pre-optimization done (n=7): time 1.814e-06/0.8387, allocations: 3.938 kB / 1.022 GB, free: 2.688 MB / 0.6593 GB Notification: Performance of matching and sorting (n=7): time 0.0002764/0.839, allocations: 77.78 kB / 1.022 GB, free: 2.605 MB / 0.6593 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.107e-05/0.8391, allocations: 51.41 kB / 1.022 GB, free: 2.543 MB / 0.6593 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001117/0.8392, allocations: 112 kB / 1.022 GB, free: 2.426 MB / 0.6593 GB Notification: Performance of collectPreVariables (initialization): time 2.941e-05/0.8392, allocations: 25.7 kB / 1.023 GB, free: 2.395 MB / 0.6593 GB Notification: Performance of collectInitialEqns (initialization): time 5.197e-05/0.8393, allocations: 99.97 kB / 1.023 GB, free: 2.293 MB / 0.6593 GB Notification: Performance of collectInitialBindings (initialization): time 3.016e-05/0.8393, allocations: 23.66 kB / 1.023 GB, free: 2.27 MB / 0.6593 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.364e-06/0.8394, allocations: 0 / 1.023 GB, free: 2.27 MB / 0.6593 GB Notification: Performance of setup shared object (initialization): time 0.0001291/0.8395, allocations: 322.7 kB / 1.023 GB, free: 1.945 MB / 0.6593 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.902e-05/0.8396, allocations: 20 kB / 1.023 GB, free: 1.926 MB / 0.6593 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.613e-05/0.8397, allocations: 29.72 kB / 1.023 GB, free: 1.891 MB / 0.6593 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.969e-05/0.8398, allocations: 15.98 kB / 1.023 GB, free: 1.875 MB / 0.6593 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.8398, allocations: 0 / 1.023 GB, free: 1.875 MB / 0.6593 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002107/0.84, allocations: 81.55 kB / 1.023 GB, free: 1.789 MB / 0.6593 GB Notification: Performance of prepare postOptimizeDAE: time 1.812e-05/0.84, allocations: 13.58 kB / 1.023 GB, free: 1.777 MB / 0.6593 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.941e-06/0.84, allocations: 0 / 1.023 GB, free: 1.777 MB / 0.6593 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.28e-05/0.8401, allocations: 0 / 1.023 GB, free: 1.777 MB / 0.6593 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002246/0.8403, allocations: 19.98 kB / 1.023 GB, free: 1.758 MB / 0.6593 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.29e-06/0.8403, allocations: 4 kB / 1.023 GB, free: 1.754 MB / 0.6593 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001543/0.8405, allocations: 12 kB / 1.023 GB, free: 1.742 MB / 0.6593 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.065e-05/0.8405, allocations: 0 / 1.023 GB, free: 1.742 MB / 0.6593 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 9.021e-05/0.8406, allocations: 108.8 kB / 1.023 GB, free: 1.629 MB / 0.6593 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.169e-05/0.8407, allocations: 11.89 kB / 1.023 GB, free: 1.617 MB / 0.6593 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.775e-05/0.8407, allocations: 16.36 kB / 1.023 GB, free: 1.602 MB / 0.6593 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.447e-06/0.8407, allocations: 0 / 1.023 GB, free: 1.602 MB / 0.6593 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.26e-06/0.8408, allocations: 0 / 1.023 GB, free: 1.602 MB / 0.6593 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.558e-06/0.8408, allocations: 0 / 1.023 GB, free: 1.602 MB / 0.6593 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002502/0.841, allocations: 182 kB / 1.023 GB, free: 1.387 MB / 0.6593 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.417e-06/0.841, allocations: 7.906 kB / 1.023 GB, free: 1.379 MB / 0.6593 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002032/0.8413, allocations: 19.98 kB / 1.023 GB, free: 1.359 MB / 0.6593 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.277e-06/0.8413, allocations: 0 / 1.023 GB, free: 1.359 MB / 0.6593 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.205e-05/0.8413, allocations: 0 / 1.023 GB, free: 1.359 MB / 0.6593 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.648e-06/0.8413, allocations: 4 kB / 1.023 GB, free: 1.355 MB / 0.6593 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.649e-06/0.8413, allocations: 4 kB / 1.023 GB, free: 1.352 MB / 0.6593 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002367/0.8416, allocations: 175.4 kB / 1.024 GB, free: 1.164 MB / 0.6593 GB Notification: Performance of postOpt removeConstants (simulation): time 5.582e-05/0.8416, allocations: 81.02 kB / 1.024 GB, free: 1.066 MB / 0.6593 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.627e-05/0.8417, allocations: 7.984 kB / 1.024 GB, free: 1.059 MB / 0.6593 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002954/0.842, allocations: 15.98 kB / 1.024 GB, free: 1.043 MB / 0.6593 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.303e-05/0.842, allocations: 0 / 1.024 GB, free: 1.043 MB / 0.6593 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.993e-05/0.8421, allocations: 8 kB / 1.024 GB, free: 1.035 MB / 0.6593 GB Notification: Performance of sort global known variables: time 6.544e-05/0.8421, allocations: 91.27 kB / 1.024 GB, free: 0.9453 MB / 0.6593 GB Notification: Performance of remove unused functions: time 0.0003355/0.8425, allocations: 23.84 kB / 1.024 GB, free: 0.9219 MB / 0.6593 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.0001352/0.8426, allocations: 99.25 kB / 1.024 GB, free: 0.8164 MB / 0.6593 GB Notification: Performance of simCode: created initialization part: time 0.0001854/0.8428, allocations: 40 kB / 1.024 GB, free: 0.7773 MB / 0.6593 GB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.8428, allocations: 0 / 1.024 GB, free: 0.7773 MB / 0.6593 GB Notification: Performance of simCode: created simulation system equations: time 8.198e-05/0.8429, allocations: 27.94 kB / 1.024 GB, free: 0.75 MB / 0.6593 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003747/0.8433, allocations: 24.8 kB / 1.024 GB, free: 0.7266 MB / 0.6593 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005609/0.8439, allocations: 127.4 kB / 1.024 GB, free: 0.582 MB / 0.6593 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004387/0.8443, allocations: 0.7153 MB / 1.025 GB, free: 15.84 MB / 0.6749 GB Notification: Performance of SimCode: time 7.71e-07/0.8444, allocations: 0 / 1.025 GB, free: 15.84 MB / 0.6749 GB Notification: Performance of Templates: time 0.005127/0.8495, allocations: 1.325 MB / 1.026 GB, free: 14.55 MB / 0.6749 GB