Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Controls.OBC.UnitConversions.Validation.To_psi.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.Controls.OBC.UnitConversions.Validation.To_psi,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Controls.OBC.UnitConversions.Validation.To_psi") [: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.393/2.393, allocations: 253.1 MB / 260.4 MB, free: 7.555 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.001647/0.001647, allocations: 185 kB / 319.6 MB, free: 3.32 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.853/1.853, allocations: 205.4 MB / 0.5704 GB, free: 15.14 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.002095/0.002094, allocations: 107.3 kB / 0.6746 GB, free: 4.473 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.066e-05/1.081e-05, allocations: 4 kB / 0.7843 GB, free: 102.5 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2238/0.2239, allocations: 106.2 MB / 0.8881 GB, free: 12.19 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6821/0.906, allocations: 131.4 MB / 1.016 GB, free: 6.875 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003044/0.9064, allocations: 62.16 kB / 1.016 GB, free: 6.844 MB / 0.6355 GB Notification: Performance of FrontEnd: time 0.005315/0.9117, allocations: 0.8536 MB / 1.017 GB, free: 6.148 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 1.658e-05/0.9118, allocations: 0 / 1.017 GB, free: 6.148 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: 18 * Number of variables: 18 Notification: Performance of Generate backend data structure: time 0.0006045/0.9125, allocations: 363.7 kB / 1.018 GB, free: 5.754 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 6.599e-05/0.9125, allocations: 16.02 kB / 1.018 GB, free: 5.738 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.702e-05/0.9126, allocations: 7.906 kB / 1.018 GB, free: 5.73 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002709/0.9129, allocations: 186.6 kB / 1.018 GB, free: 5.512 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.992e-05/0.9129, allocations: 0 / 1.018 GB, free: 5.512 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.797e-05/0.913, allocations: 4.844 kB / 1.018 GB, free: 5.508 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001982/0.9132, allocations: 33.34 kB / 1.018 GB, free: 5.484 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002897/0.9135, allocations: 88.06 kB / 1.018 GB, free: 5.398 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.334e-05/0.9136, allocations: 0 / 1.018 GB, free: 5.398 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.289e-05/0.9136, allocations: 4 kB / 1.018 GB, free: 5.395 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.566e-06/0.9136, allocations: 0 / 1.018 GB, free: 5.395 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001057/0.9147, allocations: 417.3 kB / 1.018 GB, free: 4.977 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001164/0.9148, allocations: 43.94 kB / 1.018 GB, free: 4.918 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.762e-05/0.9149, allocations: 21.14 kB / 1.018 GB, free: 4.895 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.493e-05/0.915, allocations: 6.562 kB / 1.018 GB, free: 4.891 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.235e-05/0.915, allocations: 30.56 kB / 1.018 GB, free: 4.852 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=2): time 2.945e-06/0.915, allocations: 0 / 1.018 GB, free: 4.852 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2): time 0.0003169/0.9154, allocations: 51.77 kB / 1.019 GB, free: 4.797 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.313e-05/0.9154, allocations: 77.11 kB / 1.019 GB, free: 4.703 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000204/0.9157, allocations: 128.6 kB / 1.019 GB, free: 4.582 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.005e-05/0.9157, allocations: 25.7 kB / 1.019 GB, free: 4.551 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 9.687e-05/0.9158, allocations: 102.8 kB / 1.019 GB, free: 4.449 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.758e-05/0.9158, allocations: 14.45 kB / 1.019 GB, free: 4.438 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.992e-06/0.9159, allocations: 0 / 1.019 GB, free: 4.438 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001739/0.916, allocations: 314.2 kB / 1.019 GB, free: 4.125 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.086e-05/0.9161, allocations: 11.84 kB / 1.019 GB, free: 4.117 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.663e-05/0.9162, allocations: 17.16 kB / 1.019 GB, free: 4.098 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.069e-05/0.9162, allocations: 11.98 kB / 1.019 GB, free: 4.086 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.725e-06/0.9162, allocations: 0 / 1.019 GB, free: 4.086 MB / 0.6355 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001959/0.9165, allocations: 56.73 kB / 1.019 GB, free: 4.031 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.003e-05/0.9165, allocations: 4 kB / 1.019 GB, free: 4.027 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.054e-06/0.9165, allocations: 0 / 1.019 GB, free: 4.027 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.275e-05/0.9165, allocations: 4 kB / 1.019 GB, free: 4.023 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001371/0.9167, allocations: 11.97 kB / 1.019 GB, free: 4.012 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.108e-05/0.9167, allocations: 3.984 kB / 1.019 GB, free: 4.008 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.497e-05/0.9168, allocations: 7.938 kB / 1.019 GB, free: 4 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.877e-06/0.9168, allocations: 0 / 1.019 GB, free: 4 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 (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 0.0001023/0.9169, allocations: 103.4 kB / 1.019 GB, free: 3.895 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001109/0.9171, allocations: 8.125 kB / 1.019 GB, free: 3.887 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.344e-05/0.9171, allocations: 15.23 kB / 1.019 GB, free: 3.875 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.689e-06/0.9172, allocations: 3.938 kB / 1.019 GB, free: 3.871 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.462e-06/0.9172, allocations: 0.875 kB / 1.019 GB, free: 3.871 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.193e-06/0.9172, allocations: 7.906 kB / 1.019 GB, free: 3.863 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000773/0.918, allocations: 445.7 kB / 1.02 GB, free: 3.395 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.256e-06/0.918, allocations: 0 / 1.02 GB, free: 3.395 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.849e-05/0.9181, allocations: 7.906 kB / 1.02 GB, free: 3.387 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.58e-06/0.9181, allocations: 0 / 1.02 GB, free: 3.387 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.607e-05/0.9181, allocations: 8.859 kB / 1.02 GB, free: 3.379 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.196e-06/0.9181, allocations: 0 / 1.02 GB, free: 3.379 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.787e-06/0.9181, allocations: 4.062 kB / 1.02 GB, free: 3.375 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001803/0.9183, allocations: 87.06 kB / 1.02 GB, free: 3.27 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001511/0.9185, allocations: 89 kB / 1.02 GB, free: 3.164 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.399e-05/0.9185, allocations: 0 / 1.02 GB, free: 3.164 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.784e-05/0.9186, allocations: 4 kB / 1.02 GB, free: 3.16 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.643e-05/0.9187, allocations: 11.12 kB / 1.02 GB, free: 3.152 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.275e-06/0.9187, allocations: 4 kB / 1.02 GB, free: 3.148 MB / 0.6355 GB Notification: Performance of sort global known variables: time 0.0001254/0.9188, allocations: 102.1 kB / 1.02 GB, free: 3.055 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0004598/0.9193, allocations: 12 kB / 1.02 GB, free: 3.043 MB / 0.6355 GB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (2): * Single equations (assignments): 2 * 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.0001825/0.9195, allocations: 91.25 kB / 1.02 GB, free: 2.945 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001283/0.9196, allocations: 22.69 kB / 1.02 GB, free: 2.93 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 3.466e-06/0.9197, allocations: 0 / 1.02 GB, free: 2.93 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 3.331e-05/0.9197, allocations: 8.125 kB / 1.02 GB, free: 2.922 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002112/0.9199, allocations: 11.03 kB / 1.02 GB, free: 2.914 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004824/0.9204, allocations: 114.7 kB / 1.02 GB, free: 2.781 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004687/0.9209, allocations: 0.7113 MB / 1.021 GB, free: 2.043 MB / 0.6355 GB Notification: Performance of SimCode: time 1.202e-06/0.9209, allocations: 0 / 1.021 GB, free: 2.043 MB / 0.6355 GB Notification: Performance of Templates: time 0.003919/0.9249, allocations: 376.9 kB / 1.021 GB, free: 1.684 MB / 0.6355 GB