Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Utilities.Psychrometrics.Examples.Density_pTX.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.Density_pTX,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Utilities.Psychrometrics.Examples.Density_pTX") [: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.228/2.228, allocations: 253.1 MB / 260.4 MB, free: 7.457 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.00176/0.001759, allocations: 190.1 kB / 319.6 MB, free: 3.305 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.847/1.847, allocations: 205.4 MB / 0.5704 GB, free: 15.05 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.001289/0.001288, allocations: 93.75 kB / 0.6746 GB, free: 4.395 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 8.656e-06/8.797e-06, allocations: 0 / 0.7843 GB, free: 102.5 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2201/0.2202, allocations: 106.3 MB / 0.888 GB, free: 12.18 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7036/0.9238, allocations: 158.9 MB / 1.043 GB, free: 11.42 MB / 0.6667 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002713/0.9241, allocations: 75.27 kB / 1.043 GB, free: 11.38 MB / 0.6667 GB Notification: Performance of FrontEnd: time 0.008586/0.9328, allocations: 1.852 MB / 1.045 GB, free: 9.82 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 8.456e-06/0.9328, allocations: 0 / 1.045 GB, free: 9.82 MB / 0.6667 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0006351/0.9335, allocations: 373.4 kB / 1.045 GB, free: 9.414 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 4.513e-05/0.9335, allocations: 12.03 kB / 1.045 GB, free: 9.402 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.896e-05/0.9336, allocations: 7.906 kB / 1.045 GB, free: 9.395 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001543/0.9337, allocations: 170.1 kB / 1.046 GB, free: 9.191 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.524e-05/0.9337, allocations: 3.906 kB / 1.046 GB, free: 9.188 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.821e-05/0.9338, allocations: 4 kB / 1.046 GB, free: 9.184 MB / 0.6667 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000119/0.9339, allocations: 18.44 kB / 1.046 GB, free: 9.172 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001222/0.934, allocations: 50.94 kB / 1.046 GB, free: 9.121 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.796e-06/0.9341, allocations: 0 / 1.046 GB, free: 9.121 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.27e-05/0.9341, allocations: 0.8438 kB / 1.046 GB, free: 9.121 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.891e-06/0.9341, allocations: 0.5 kB / 1.046 GB, free: 9.121 MB / 0.6667 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004325/0.9345, allocations: 261 kB / 1.046 GB, free: 8.844 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001041/0.9347, allocations: 29.33 kB / 1.046 GB, free: 8.812 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.193e-05/0.9347, allocations: 20.11 kB / 1.046 GB, free: 8.793 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002125/0.9349, allocations: 89.19 kB / 1.046 GB, free: 8.688 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.186e-05/0.935, allocations: 38.47 kB / 1.046 GB, free: 8.641 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=3): time 1.774e-06/0.935, allocations: 2.625 kB / 1.046 GB, free: 8.641 MB / 0.6667 GB Notification: Performance of matching and sorting (n=3): time 0.0002683/0.9353, allocations: 52.62 kB / 1.046 GB, free: 8.59 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.312e-05/0.9353, allocations: 55.34 kB / 1.046 GB, free: 8.523 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.063e-05/0.9354, allocations: 103 kB / 1.046 GB, free: 8.422 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 2.292e-05/0.9355, allocations: 25.7 kB / 1.046 GB, free: 8.391 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 4.865e-05/0.9355, allocations: 91.97 kB / 1.046 GB, free: 8.297 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 2.657e-05/0.9356, allocations: 7.156 kB / 1.046 GB, free: 8.293 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.101e-06/0.9356, allocations: 8 kB / 1.046 GB, free: 8.285 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.0001298/0.9357, allocations: 314.8 kB / 1.047 GB, free: 7.969 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.88e-05/0.9358, allocations: 7.875 kB / 1.047 GB, free: 7.965 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.764e-05/0.9358, allocations: 7.062 kB / 1.047 GB, free: 7.961 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.822e-05/0.9359, allocations: 15.38 kB / 1.047 GB, free: 7.949 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.854e-06/0.9359, allocations: 0 / 1.047 GB, free: 7.949 MB / 0.6667 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001825/0.9361, allocations: 64.2 kB / 1.047 GB, free: 7.887 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 1.384e-05/0.9361, allocations: 4 kB / 1.047 GB, free: 7.883 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.003e-06/0.9362, allocations: 0 / 1.047 GB, free: 7.883 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.242e-05/0.9362, allocations: 4 kB / 1.047 GB, free: 7.879 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002325/0.9364, allocations: 23.98 kB / 1.047 GB, free: 7.855 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.399e-06/0.9364, allocations: 0 / 1.047 GB, free: 7.855 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001734/0.9366, allocations: 19.98 kB / 1.047 GB, free: 7.836 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.595e-05/0.9367, allocations: 4.094 kB / 1.047 GB, free: 7.832 MB / 0.6667 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 (3): * Single equations (assignments): 3 * 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.128e-05/0.9367, allocations: 105 kB / 1.047 GB, free: 7.723 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.743e-05/0.9368, allocations: 0 / 1.047 GB, free: 7.723 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002314/0.937, allocations: 82.86 kB / 1.047 GB, free: 7.641 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.592e-06/0.937, allocations: 3.984 kB / 1.047 GB, free: 7.637 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.529e-06/0.9371, allocations: 4 kB / 1.047 GB, free: 7.633 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.358e-06/0.9371, allocations: 0 / 1.047 GB, free: 7.633 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002005/0.9373, allocations: 144.3 kB / 1.047 GB, free: 7.461 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-06/0.9373, allocations: 4 kB / 1.047 GB, free: 7.457 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002019/0.9375, allocations: 19.98 kB / 1.047 GB, free: 7.438 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.896e-06/0.9375, allocations: 4 kB / 1.047 GB, free: 7.434 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.155e-05/0.9376, allocations: 3.984 kB / 1.047 GB, free: 7.43 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.769e-06/0.9376, allocations: 3.906 kB / 1.047 GB, free: 7.426 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.615e-06/0.9376, allocations: 0 / 1.047 GB, free: 7.426 MB / 0.6667 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002279/0.9378, allocations: 152.7 kB / 1.047 GB, free: 7.27 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 5.418e-05/0.9379, allocations: 77.11 kB / 1.047 GB, free: 7.176 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.333e-05/0.9379, allocations: 0 / 1.047 GB, free: 7.176 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002201/0.9381, allocations: 27.91 kB / 1.047 GB, free: 7.148 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.2e-05/0.9382, allocations: 11.31 kB / 1.047 GB, free: 7.141 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.63e-05/0.9382, allocations: 3.906 kB / 1.047 GB, free: 7.137 MB / 0.6667 GB Notification: Performance of sort global known variables: time 6.341e-05/0.9383, allocations: 86.72 kB / 1.048 GB, free: 7.055 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.0003509/0.9387, allocations: 19.92 kB / 1.048 GB, free: 7.035 MB / 0.6667 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 (3): * Single equations (assignments): 3 * 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.0003344/0.939, allocations: 143.3 kB / 1.048 GB, free: 6.887 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.0001399/0.9392, allocations: 18.56 kB / 1.048 GB, free: 6.875 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 3.146e-06/0.9392, allocations: 0 / 1.048 GB, free: 6.875 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 5.704e-05/0.9393, allocations: 14.75 kB / 1.048 GB, free: 6.867 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002475/0.9395, allocations: 4 kB / 1.048 GB, free: 6.863 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003451/0.9399, allocations: 86.8 kB / 1.048 GB, free: 6.762 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003674/0.9403, allocations: 0.7032 MB / 1.049 GB, free: 6.035 MB / 0.6667 GB Notification: Performance of SimCode: time 8.81e-07/0.9403, allocations: 0 / 1.049 GB, free: 6.035 MB / 0.6667 GB Notification: Performance of Templates: time 0.00464/0.9449, allocations: 1.027 MB / 1.05 GB, free: 5.023 MB / 0.6667 GB