Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Controls.OBC.UnitConversions.Validation.From_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.From_psi,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Controls.OBC.UnitConversions.Validation.From_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.413/2.413, allocations: 253.1 MB / 260.4 MB, free: 7.461 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.001792/0.001792, allocations: 188.9 kB / 319.6 MB, free: 3.285 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 2.119/2.119, 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.001365/0.001365, allocations: 91.31 kB / 0.6746 GB, free: 4.375 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.64e-05/1.662e-05, allocations: 4 kB / 0.7843 GB, free: 102.5 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2543/0.2544, allocations: 106.3 MB / 0.8881 GB, free: 12.14 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7364/0.9909, allocations: 131.4 MB / 1.016 GB, free: 6.754 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002564/0.9912, allocations: 65.78 kB / 1.016 GB, free: 6.719 MB / 0.6355 GB Notification: Performance of FrontEnd: time 0.003922/0.9951, allocations: 0.8419 MB / 1.017 GB, free: 6.031 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 1.035e-05/0.9952, allocations: 0 / 1.017 GB, free: 6.031 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.0003984/0.9956, allocations: 364.5 kB / 1.018 GB, free: 5.637 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.517e-05/0.9957, allocations: 12.03 kB / 1.018 GB, free: 5.625 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.389e-05/0.9957, allocations: 8.656 kB / 1.018 GB, free: 5.617 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001956/0.9959, allocations: 186.4 kB / 1.018 GB, free: 5.398 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.631e-05/0.9959, allocations: 0 / 1.018 GB, free: 5.398 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.62e-05/0.996, allocations: 4 kB / 1.018 GB, free: 5.395 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001348/0.9961, allocations: 38.16 kB / 1.018 GB, free: 5.367 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001803/0.9963, allocations: 84.7 kB / 1.018 GB, free: 5.285 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.488e-06/0.9963, allocations: 0 / 1.018 GB, free: 5.285 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.328e-05/0.9964, allocations: 4 kB / 1.018 GB, free: 5.281 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.244e-06/0.9964, allocations: 3.938 kB / 1.018 GB, free: 5.277 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006796/0.9971, allocations: 416.5 kB / 1.018 GB, free: 4.859 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 7.269e-05/0.9972, allocations: 37.12 kB / 1.018 GB, free: 4.809 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.348e-05/0.9972, allocations: 21.72 kB / 1.018 GB, free: 4.781 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 9.107e-06/0.9972, allocations: 2.625 kB / 1.018 GB, free: 4.781 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.063e-05/0.9973, allocations: 38.48 kB / 1.018 GB, free: 4.738 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=2): time 5.21e-06/0.9973, allocations: 3.984 kB / 1.018 GB, free: 4.734 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2): time 0.0002107/0.9975, allocations: 41.61 kB / 1.019 GB, free: 4.688 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.808e-05/0.9976, allocations: 84.48 kB / 1.019 GB, free: 4.59 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001567/0.9977, allocations: 127.8 kB / 1.019 GB, free: 4.465 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.444e-05/0.9978, allocations: 25.7 kB / 1.019 GB, free: 4.434 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 6.995e-05/0.9978, allocations: 106.3 kB / 1.019 GB, free: 4.332 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.125e-05/0.9979, allocations: 7.906 kB / 1.019 GB, free: 4.324 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.007e-06/0.9979, allocations: 0 / 1.019 GB, free: 4.324 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001289/0.998, allocations: 317.9 kB / 1.019 GB, free: 4.008 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.96e-05/0.998, allocations: 7.562 kB / 1.019 GB, free: 4.004 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.085e-05/0.9981, allocations: 17.66 kB / 1.019 GB, free: 3.984 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.703e-05/0.9981, allocations: 15.5 kB / 1.019 GB, free: 3.973 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.9982, allocations: 0 / 1.019 GB, free: 3.973 MB / 0.6355 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001508/0.9983, allocations: 60.53 kB / 1.019 GB, free: 3.914 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.652e-05/0.9983, allocations: 4 kB / 1.019 GB, free: 3.91 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.382e-06/0.9984, allocations: 0 / 1.019 GB, free: 3.91 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.62e-05/0.9984, allocations: 4 kB / 1.019 GB, free: 3.906 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001073/0.9985, allocations: 7.906 kB / 1.019 GB, free: 3.898 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.46e-06/0.9985, allocations: 0 / 1.019 GB, free: 3.898 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.783e-05/0.9986, allocations: 12.88 kB / 1.019 GB, free: 3.887 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.013e-06/0.9986, allocations: 0 / 1.019 GB, free: 3.887 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 7.936e-05/0.9987, allocations: 107.4 kB / 1.019 GB, free: 3.777 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.723e-05/0.9988, allocations: 8.125 kB / 1.019 GB, free: 3.77 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.536e-05/0.9988, allocations: 15.42 kB / 1.019 GB, free: 3.758 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.437e-06/0.9988, allocations: 3.938 kB / 1.019 GB, free: 3.754 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.01e-06/0.9988, allocations: 0 / 1.019 GB, free: 3.754 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.242e-06/0.9989, allocations: 3.906 kB / 1.019 GB, free: 3.75 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005609/0.9994, allocations: 451.3 kB / 1.02 GB, free: 3.273 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.903e-06/0.9994, allocations: 0 / 1.02 GB, free: 3.273 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.277e-05/0.9995, allocations: 7.906 kB / 1.02 GB, free: 3.266 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.386e-06/0.9995, allocations: 0 / 1.02 GB, free: 3.266 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.043e-06/0.9995, allocations: 4 kB / 1.02 GB, free: 3.262 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.903e-06/0.9995, allocations: 0 / 1.02 GB, free: 3.262 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.166e-06/0.9996, allocations: 0 / 1.02 GB, free: 3.262 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001326/0.9997, allocations: 93.98 kB / 1.02 GB, free: 3.148 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 7.028e-05/0.9998, allocations: 92.44 kB / 1.02 GB, free: 3.043 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.791e-05/0.9998, allocations: 3.938 kB / 1.02 GB, free: 3.039 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.589e-05/0.9999, allocations: 0 / 1.02 GB, free: 3.039 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.566e-05/0.9999, allocations: 3.906 kB / 1.02 GB, free: 3.035 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.851e-06/0.9999, allocations: 4 kB / 1.02 GB, free: 3.031 MB / 0.6355 GB Notification: Performance of sort global known variables: time 9.298e-05/1, allocations: 103.1 kB / 1.02 GB, free: 2.941 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0002569/1, allocations: 16 kB / 1.02 GB, free: 2.926 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.0001409/1, allocations: 95.25 kB / 1.02 GB, free: 2.824 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001082/1.001, allocations: 15.88 kB / 1.02 GB, free: 2.812 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/1.001, allocations: 0 / 1.02 GB, free: 2.812 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 2.37e-05/1.001, allocations: 11.19 kB / 1.02 GB, free: 2.805 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001425/1.001, allocations: 4.688 kB / 1.02 GB, free: 2.801 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003688/1.001, allocations: 119.2 kB / 1.02 GB, free: 2.664 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003359/1.001, allocations: 0.7075 MB / 1.021 GB, free: 1.93 MB / 0.6355 GB Notification: Performance of SimCode: time 6.42e-07/1.001, allocations: 3.938 kB / 1.021 GB, free: 1.926 MB / 0.6355 GB Notification: Performance of Templates: time 0.003145/1.005, allocations: 377 kB / 1.021 GB, free: 1.566 MB / 0.6355 GB