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_dp.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_dp,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp") [: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.271/2.271, allocations: 253.1 MB / 260.4 MB, free: 7.543 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.001676/0.001676, allocations: 177.3 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 2.1/2.1, allocations: 205.4 MB / 0.5704 GB, free: 14.99 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.001343/0.001342, allocations: 108.6 kB / 0.6746 GB, free: 4.328 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.238e-05/1.253e-05, allocations: 4 kB / 0.7843 GB, free: 102.5 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1922/0.1922, allocations: 106.3 MB / 0.888 GB, free: 12.19 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7043/0.8965, allocations: 132.2 MB / 1.017 GB, free: 6.16 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000299/0.8969, allocations: 80.83 kB / 1.017 GB, free: 6.113 MB / 0.6355 GB Notification: Performance of FrontEnd: time 0.01696/0.9139, allocations: 3.084 MB / 1.02 GB, free: 3.609 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 9.819e-06/0.9139, allocations: 3.5 kB / 1.02 GB, free: 3.609 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.0003708/0.9143, allocations: 330.4 kB / 1.021 GB, free: 3.242 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.542e-05/0.9143, allocations: 16.03 kB / 1.021 GB, free: 3.227 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.565e-05/0.9144, allocations: 3.906 kB / 1.021 GB, free: 3.223 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001474/0.9146, allocations: 167 kB / 1.021 GB, free: 3.02 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.38e-05/0.9146, allocations: 0 / 1.021 GB, free: 3.02 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.154e-05/0.9146, allocations: 0 / 1.021 GB, free: 3.02 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 5.342e-05/0.9147, allocations: 4 kB / 1.021 GB, free: 3.016 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.955e-05/0.9147, allocations: 37.17 kB / 1.021 GB, free: 2.977 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.917e-06/0.9148, allocations: 0 / 1.021 GB, free: 2.977 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.079e-05/0.9148, allocations: 0.875 kB / 1.021 GB, free: 2.977 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.019e-06/0.9148, allocations: 3.938 kB / 1.021 GB, free: 2.973 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001675/0.915, allocations: 134.3 kB / 1.021 GB, free: 2.805 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 5.424e-05/0.915, allocations: 22.33 kB / 1.021 GB, free: 2.777 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.71e-05/0.9151, allocations: 8.797 kB / 1.021 GB, free: 2.766 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.742e-05/0.9151, allocations: 4.062 kB / 1.021 GB, free: 2.762 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.256e-05/0.9151, allocations: 30.56 kB / 1.021 GB, free: 2.723 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=2): time 1.452e-06/0.9152, allocations: 0 / 1.021 GB, free: 2.723 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2): time 0.0001414/0.9153, allocations: 41.61 kB / 1.021 GB, free: 2.676 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.25e-05/0.9154, allocations: 55.39 kB / 1.021 GB, free: 2.609 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001057/0.9155, allocations: 87.88 kB / 1.021 GB, free: 2.52 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.711e-05/0.9155, allocations: 25.7 kB / 1.021 GB, free: 2.488 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 3.773e-05/0.9156, allocations: 80.14 kB / 1.021 GB, free: 2.406 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.556e-05/0.9156, allocations: 7.906 kB / 1.021 GB, free: 2.398 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.036e-06/0.9156, allocations: 0 / 1.021 GB, free: 2.398 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001392/0.9157, allocations: 317.8 kB / 1.022 GB, free: 2.082 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.32e-05/0.9158, allocations: 0 / 1.022 GB, free: 2.082 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.358e-05/0.9158, allocations: 4 kB / 1.022 GB, free: 2.078 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.743e-05/0.9158, allocations: 0 / 1.022 GB, free: 2.078 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.377e-06/0.9158, allocations: 4 kB / 1.022 GB, free: 2.074 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2) (initialization): time 8.221e-05/0.9159, allocations: 44.62 kB / 1.022 GB, free: 2.027 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.38e-05/0.916, allocations: 8 kB / 1.022 GB, free: 2.02 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.25e-06/0.916, allocations: 0 / 1.022 GB, free: 2.02 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.218e-05/0.916, allocations: 0 / 1.022 GB, free: 2.02 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002269/0.9162, allocations: 12.83 kB / 1.022 GB, free: 2.008 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005241/0.9168, allocations: 0.5889 MB / 1.022 GB, free: 1.398 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.684e-05/0.9168, allocations: 0 / 1.022 GB, free: 1.398 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.424e-06/0.9168, allocations: 0 / 1.022 GB, free: 1.398 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 8.794e-05/0.9169, allocations: 104.9 kB / 1.022 GB, free: 1.289 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.354e-05/0.9169, allocations: 7.781 kB / 1.022 GB, free: 1.285 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000145/0.9171, allocations: 52.98 kB / 1.022 GB, free: 1.23 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.506e-06/0.9171, allocations: 0 / 1.022 GB, free: 1.23 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.486e-06/0.9171, allocations: 4 kB / 1.022 GB, free: 1.227 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.919e-06/0.9171, allocations: 0 / 1.022 GB, free: 1.227 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001226/0.9173, allocations: 140.9 kB / 1.023 GB, free: 1.055 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.703e-06/0.9173, allocations: 0 / 1.023 GB, free: 1.055 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001405/0.9174, allocations: 8 kB / 1.023 GB, free: 1.047 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.216e-06/0.9175, allocations: 0 / 1.023 GB, free: 1.047 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.693e-06/0.9175, allocations: 0 / 1.023 GB, free: 1.047 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004349/0.9179, allocations: 0.5937 MB / 1.023 GB, free: 444 kB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.076e-06/0.9179, allocations: 3.938 kB / 1.023 GB, free: 440 kB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 9.022e-05/0.918, allocations: 60.16 kB / 1.023 GB, free: 364 kB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 5.397e-05/0.9181, allocations: 81.14 kB / 1.023 GB, free: 264 kB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.429e-05/0.9181, allocations: 7.938 kB / 1.023 GB, free: 256 kB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.437e-05/0.9182, allocations: 4 kB / 1.023 GB, free: 252 kB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.853e-05/0.9182, allocations: 0 / 1.023 GB, free: 252 kB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.768e-06/0.9182, allocations: 0 / 1.023 GB, free: 252 kB / 0.6355 GB Notification: Performance of sort global known variables: time 4.774e-05/0.9183, allocations: 78.78 kB / 1.023 GB, free: 176 kB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0002864/0.9186, allocations: 19.94 kB / 1.023 GB, free: 156 kB / 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.0002204/0.9188, allocations: 107.2 kB / 1.023 GB, free: 36 kB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0002499/0.919, allocations: 24.02 kB / 1.023 GB, free: 12 kB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.9191, allocations: 0 / 1.023 GB, free: 12 kB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.000193/0.9193, allocations: 16.03 kB / 1.023 GB, free: 15.99 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001538/0.9194, allocations: 1.75 kB / 1.023 GB, free: 15.99 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000198/0.9196, allocations: 59.67 kB / 1.024 GB, free: 15.92 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003235/0.92, allocations: 0.6841 MB / 1.024 GB, free: 15.21 MB / 0.6511 GB Notification: Performance of SimCode: time 6.92e-07/0.92, allocations: 128 / 1.024 GB, free: 15.21 MB / 0.6511 GB Notification: Performance of Templates: time 0.003061/0.9231, allocations: 434.4 kB / 1.025 GB, free: 14.8 MB / 0.6511 GB