Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.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.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow") [: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.147/2.147, allocations: 253.1 MB / 260.4 MB, free: 7.484 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.001829/0.001829, allocations: 181.3 kB / 319.6 MB, free: 3.324 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.012/2.012, allocations: 205.4 MB / 0.5704 GB, free: 15.08 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.001348/0.001348, allocations: 95.31 kB / 0.6746 GB, free: 4.434 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 9.768e-06/9.929e-06, allocations: 4 kB / 0.7843 GB, free: 102.6 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2015/0.2016, allocations: 106.2 MB / 0.888 GB, free: 12.22 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6946/0.8963, allocations: 132.1 MB / 1.017 GB, free: 6.27 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003116/0.8966, allocations: 75.2 kB / 1.017 GB, free: 6.227 MB / 0.6355 GB Notification: Performance of FrontEnd: time 0.01119/0.9078, allocations: 1.943 MB / 1.019 GB, free: 4.637 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 7.674e-06/0.9079, allocations: 0 / 1.019 GB, free: 4.637 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0003469/0.9083, allocations: 330.4 kB / 1.019 GB, free: 4.27 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.309e-05/0.9083, allocations: 12.03 kB / 1.019 GB, free: 4.258 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.468e-05/0.9084, allocations: 3.906 kB / 1.019 GB, free: 4.254 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001744/0.9086, allocations: 159.1 kB / 1.02 GB, free: 4.059 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.274e-05/0.9086, allocations: 0 / 1.02 GB, free: 4.059 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.557e-05/0.9086, allocations: 7.984 kB / 1.02 GB, free: 4.051 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 5.3e-05/0.9087, allocations: 7.062 kB / 1.02 GB, free: 4.047 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.402e-05/0.9087, allocations: 33.61 kB / 1.02 GB, free: 4.008 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.217e-06/0.9088, allocations: 7.984 kB / 1.02 GB, free: 4 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.496e-06/0.9088, allocations: 0 / 1.02 GB, free: 4 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.499e-06/0.9088, allocations: 0 / 1.02 GB, free: 4 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001623/0.909, allocations: 141 kB / 1.02 GB, free: 3.832 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 5.995e-05/0.909, allocations: 21.05 kB / 1.02 GB, free: 3.805 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.528e-05/0.9091, allocations: 8.922 kB / 1.02 GB, free: 3.793 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.342e-05/0.9091, allocations: 0 / 1.02 GB, free: 3.793 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.474e-05/0.9091, allocations: 38.06 kB / 1.02 GB, free: 3.75 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=2): time 1.462e-06/0.9091, allocations: 0 / 1.02 GB, free: 3.75 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2): time 0.0001399/0.9093, allocations: 41.55 kB / 1.02 GB, free: 3.703 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.395e-05/0.9093, allocations: 51.41 kB / 1.02 GB, free: 3.641 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.576e-05/0.9094, allocations: 85 kB / 1.02 GB, free: 3.551 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.504e-05/0.9094, allocations: 25.7 kB / 1.02 GB, free: 3.52 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 3.777e-05/0.9095, allocations: 89.16 kB / 1.02 GB, free: 3.43 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.366e-05/0.9095, allocations: 7.219 kB / 1.02 GB, free: 3.426 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.346e-06/0.9095, allocations: 4.156 kB / 1.02 GB, free: 3.422 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001218/0.9097, allocations: 310.8 kB / 1.02 GB, free: 3.109 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.497e-05/0.9097, allocations: 7.938 kB / 1.02 GB, free: 3.102 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.009e-05/0.9097, allocations: 0 / 1.02 GB, free: 3.102 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.072e-05/0.9097, allocations: 4 kB / 1.02 GB, free: 3.098 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.803e-06/0.9098, allocations: 0 / 1.02 GB, free: 3.098 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2) (initialization): time 8.398e-05/0.9098, allocations: 41.12 kB / 1.02 GB, free: 3.055 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.413e-05/0.9099, allocations: 7.938 kB / 1.02 GB, free: 3.047 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.238e-06/0.9099, allocations: 4.094 kB / 1.02 GB, free: 3.043 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.134e-05/0.9099, allocations: 3.938 kB / 1.02 GB, free: 3.039 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002078/0.9101, allocations: 8 kB / 1.02 GB, free: 3.031 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004626/0.9106, allocations: 0.589 MB / 1.021 GB, free: 2.422 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.584e-05/0.9106, allocations: 0 / 1.021 GB, free: 2.422 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.394e-06/0.9107, allocations: 0 / 1.021 GB, free: 2.422 MB / 0.6355 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 (2): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 9.196e-05/0.9108, allocations: 113 kB / 1.021 GB, free: 2.305 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.082e-05/0.9108, allocations: 3.062 kB / 1.021 GB, free: 2.305 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000156/0.9109, allocations: 48.89 kB / 1.021 GB, free: 2.254 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.617e-06/0.911, allocations: 0 / 1.021 GB, free: 2.254 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.759e-06/0.911, allocations: 0 / 1.021 GB, free: 2.254 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.496e-06/0.911, allocations: 0 / 1.021 GB, free: 2.254 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001078/0.9111, allocations: 133.8 kB / 1.021 GB, free: 2.09 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.777e-06/0.9111, allocations: 3.984 kB / 1.021 GB, free: 2.086 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001381/0.9113, allocations: 8 kB / 1.021 GB, free: 2.078 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.206e-06/0.9113, allocations: 4.031 kB / 1.021 GB, free: 2.074 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.164e-06/0.9113, allocations: 0 / 1.021 GB, free: 2.074 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004091/0.9117, allocations: 0.5894 MB / 1.022 GB, free: 1.465 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.836e-06/0.9117, allocations: 0 / 1.022 GB, free: 1.465 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 9.464e-05/0.9118, allocations: 64.64 kB / 1.022 GB, free: 1.387 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 4.778e-05/0.9119, allocations: 81.02 kB / 1.022 GB, free: 1.289 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.916e-05/0.9119, allocations: 7.984 kB / 1.022 GB, free: 1.281 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.181e-05/0.912, allocations: 0 / 1.022 GB, free: 1.281 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.756e-05/0.912, allocations: 0 / 1.022 GB, free: 1.281 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.519e-06/0.912, allocations: 0.875 kB / 1.022 GB, free: 1.281 MB / 0.6355 GB Notification: Performance of sort global known variables: time 4.367e-05/0.912, allocations: 79.28 kB / 1.022 GB, free: 1.203 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0002682/0.9123, allocations: 11.75 kB / 1.022 GB, free: 1.195 MB / 0.6355 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 (2): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000209/0.9125, allocations: 115.3 kB / 1.022 GB, free: 1.07 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0002443/0.9128, allocations: 23.92 kB / 1.022 GB, free: 1.047 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/0.9128, allocations: 0 / 1.022 GB, free: 1.047 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0001728/0.913, allocations: 11.94 kB / 1.022 GB, free: 1.035 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00013/0.9131, allocations: 9.156 kB / 1.022 GB, free: 1.027 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002023/0.9134, allocations: 55.03 kB / 1.022 GB, free: 0.9531 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003174/0.9137, allocations: 0.688 MB / 1.023 GB, free: 244 kB / 0.6355 GB Notification: Performance of SimCode: time 6.72e-07/0.9137, allocations: 0 / 1.023 GB, free: 244 kB / 0.6355 GB Notification: Performance of Templates: time 0.003055/0.9168, allocations: 442.2 kB / 1.023 GB, free: 15.84 MB / 0.6511 GB