Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow") translateModel(Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_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(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.485/1.485, allocations: 285.5 MB / 292.8 MB, free: 9.82 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009658/0.0009659, allocations: 181.2 kB / 361.1 MB, free: 340 kB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.292/1.292, allocations: 205.2 MB / 0.6195 GB, free: 2.832 MB / 442.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009654/0.0009652, allocations: 88.52 kB / 0.7326 GB, free: 1.004 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 9.688e-06/9.749e-06, allocations: 2.844 kB / 0.8511 GB, free: 151.8 MB / 0.6355 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2269/0.227, allocations: 115.3 MB / 0.9637 GB, free: 56.3 MB / 0.6355 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6092/0.8362, allocations: 137.6 MB / 1.098 GB, free: 44.52 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002415/0.8365, allocations: 78.19 kB / 1.098 GB, free: 44.52 MB / 0.7136 GB Notification: Performance of FrontEnd: time 0.006109/0.8426, allocations: 1.938 MB / 1.1 GB, free: 44.43 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 6.773e-06/0.8427, allocations: 0 / 1.1 GB, free: 44.43 MB / 0.7136 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.0002243/0.8429, allocations: 332.3 kB / 1.1 GB, free: 44.07 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.046e-05/0.8429, allocations: 7.625 kB / 1.1 GB, free: 44.07 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.077e-05/0.843, allocations: 3.875 kB / 1.1 GB, free: 44.07 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.571e-05/0.8431, allocations: 169.3 kB / 1.101 GB, free: 43.87 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.544e-05/0.8431, allocations: 0 / 1.101 GB, free: 43.87 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.752e-06/0.8431, allocations: 0 / 1.101 GB, free: 43.87 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 5.086e-05/0.8432, allocations: 7.688 kB / 1.101 GB, free: 43.87 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.217e-05/0.8432, allocations: 29.58 kB / 1.101 GB, free: 43.84 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.285e-06/0.8432, allocations: 0 / 1.101 GB, free: 43.84 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.826e-06/0.8433, allocations: 0 / 1.101 GB, free: 43.84 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.11e-06/0.8433, allocations: 7.844 kB / 1.101 GB, free: 43.83 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001187/0.8434, allocations: 136.2 kB / 1.101 GB, free: 43.67 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 4.111e-05/0.8434, allocations: 23.45 kB / 1.101 GB, free: 43.64 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.851e-05/0.8435, allocations: 8.609 kB / 1.101 GB, free: 43.64 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 2.258e-05/0.8435, allocations: 0 / 1.101 GB, free: 43.64 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.461e-05/0.8435, allocations: 30.56 kB / 1.101 GB, free: 43.6 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=2): time 1.373e-06/0.8435, allocations: 4.75 kB / 1.101 GB, free: 43.59 MB / 0.7136 GB Notification: Performance of matching and sorting (n=2): time 0.0001313/0.8437, allocations: 43.17 kB / 1.101 GB, free: 43.56 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.704e-05/0.8437, allocations: 55.34 kB / 1.101 GB, free: 43.49 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.964e-05/0.8437, allocations: 88.88 kB / 1.101 GB, free: 43.4 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 7.985e-06/0.8438, allocations: 25.7 kB / 1.101 GB, free: 43.37 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 1.433e-05/0.8438, allocations: 82.27 kB / 1.101 GB, free: 43.29 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.452e-05/0.8438, allocations: 3.906 kB / 1.101 GB, free: 43.29 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.605e-06/0.8438, allocations: 0 / 1.101 GB, free: 43.29 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 4.666e-05/0.8439, allocations: 321.8 kB / 1.101 GB, free: 42.97 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.959e-06/0.8439, allocations: 3.875 kB / 1.101 GB, free: 42.97 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.151e-06/0.8439, allocations: 0 / 1.101 GB, free: 42.97 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.328e-05/0.8439, allocations: 3.75 kB / 1.101 GB, free: 42.97 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.263e-06/0.8439, allocations: 0 / 1.101 GB, free: 42.97 MB / 0.7136 GB Notification: Performance of matching and sorting (n=2) (initialization): time 4.872e-05/0.844, allocations: 43.7 kB / 1.101 GB, free: 42.93 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 9.328e-06/0.844, allocations: 11.12 kB / 1.101 GB, free: 42.93 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.769e-06/0.844, allocations: 0.875 kB / 1.101 GB, free: 42.93 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.403e-05/0.844, allocations: 7.969 kB / 1.101 GB, free: 42.92 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001472/0.8442, allocations: 6.219 kB / 1.101 GB, free: 42.92 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002582/0.8444, allocations: 0.5896 MB / 1.102 GB, free: 42.34 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.817e-05/0.8445, allocations: 0 / 1.102 GB, free: 42.34 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.722e-06/0.8445, allocations: 1.875 kB / 1.102 GB, free: 42.34 MB / 0.7136 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 5.017e-05/0.8445, allocations: 106.1 kB / 1.102 GB, free: 42.23 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.624e-06/0.8445, allocations: 7.875 kB / 1.102 GB, free: 42.23 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.869e-05/0.8446, allocations: 47.14 kB / 1.102 GB, free: 42.18 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.914e-06/0.8447, allocations: 3.422 kB / 1.102 GB, free: 42.18 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.368e-06/0.8447, allocations: 3.188 kB / 1.102 GB, free: 42.18 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.745e-06/0.8447, allocations: 0 / 1.102 GB, free: 42.18 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.28e-05/0.8447, allocations: 128.5 kB / 1.102 GB, free: 42.03 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.11e-07/0.8447, allocations: 0 / 1.102 GB, free: 42.03 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.086e-05/0.8448, allocations: 11.05 kB / 1.102 GB, free: 42.03 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.603e-06/0.8448, allocations: 0 / 1.102 GB, free: 42.03 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.701e-06/0.8448, allocations: 4.031 kB / 1.102 GB, free: 42.02 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003208/0.8452, allocations: 0.5875 MB / 1.103 GB, free: 57.44 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.903e-06/0.8452, allocations: 0 / 1.103 GB, free: 57.44 MB / 0.7292 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 4.935e-05/0.8452, allocations: 71.45 kB / 1.103 GB, free: 57.36 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 2.882e-05/0.8453, allocations: 84.84 kB / 1.103 GB, free: 57.26 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.178e-05/0.8453, allocations: 0 / 1.103 GB, free: 57.26 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.62e-05/0.8453, allocations: 0 / 1.103 GB, free: 57.26 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.796e-05/0.8453, allocations: 3.938 kB / 1.103 GB, free: 57.26 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.054e-06/0.8453, allocations: 0 / 1.103 GB, free: 57.26 MB / 0.7292 GB Notification: Performance of sort global known variables: time 3.207e-05/0.8454, allocations: 82.34 kB / 1.103 GB, free: 57.18 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0001971/0.8456, allocations: 11.53 kB / 1.103 GB, free: 57.18 MB / 0.7292 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.0001586/0.8457, allocations: 122.3 kB / 1.103 GB, free: 57.08 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0001587/0.8459, allocations: 18.2 kB / 1.103 GB, free: 57.08 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 1.863e-06/0.8459, allocations: 0 / 1.103 GB, free: 57.08 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 8.993e-05/0.846, allocations: 18.59 kB / 1.103 GB, free: 57.07 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001017/0.8461, allocations: 3.938 kB / 1.103 GB, free: 57.07 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001559/0.8463, allocations: 52.86 kB / 1.103 GB, free: 57.01 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002263/0.8465, allocations: 0.6835 MB / 1.104 GB, free: 56.3 MB / 0.7292 GB Notification: Performance of SimCode: time 2.71e-07/0.8465, allocations: 4 kB / 1.104 GB, free: 56.3 MB / 0.7292 GB Notification: Performance of Templates: time 0.002133/0.8487, allocations: 436.1 kB / 1.104 GB, free: 56.27 MB / 0.7292 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.makefile (rm -f Buildings_maint.8.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.sim & ./Buildings_maint.8.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe 2>&1)