Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) 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 8.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp") translateModel(Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.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 8.0.0/package.mo): time 2.346/2.346, allocations: 284.9 MB / 292.2 MB, free: 10.75 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001601/0.001601, allocations: 185.2 kB / 360.4 MB, free: 7.496 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.832/1.832, allocations: 205.2 MB / 0.6188 GB, free: 12.42 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001767/0.001766, allocations: 92.23 kB / 0.7318 GB, free: 44.97 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.171e-05/1.184e-05, allocations: 0 / 0.8502 GB, free: 3.844 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6384/0.6385, allocations: 115.2 MB / 0.9628 GB, free: 78.43 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2482/0.8868, allocations: 137.5 MB / 1.097 GB, free: 3.246 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002863/0.8871, allocations: 80.64 kB / 1.097 GB, free: 3.168 MB / 0.698 GB Notification: Performance of FrontEnd: time 0.01713/0.9043, allocations: 3.083 MB / 1.1 GB, free: 160 kB / 0.698 GB Notification: Performance of Transformations before backend: time 7.624e-06/0.9043, allocations: 0.625 kB / 1.1 GB, free: 160 kB / 0.698 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.000427/0.9048, allocations: 337.1 kB / 1.1 GB, free: 15.79 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.817e-05/0.9048, allocations: 12.53 kB / 1.101 GB, free: 15.77 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.471e-05/0.9049, allocations: 4.703 kB / 1.101 GB, free: 15.77 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001461/0.905, allocations: 167.7 kB / 1.101 GB, free: 15.57 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.281e-05/0.905, allocations: 0 / 1.101 GB, free: 15.57 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.161e-05/0.9051, allocations: 0.5625 kB / 1.101 GB, free: 15.57 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.161e-05/0.9051, allocations: 4 kB / 1.101 GB, free: 15.56 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.478e-05/0.9052, allocations: 35.61 kB / 1.101 GB, free: 15.52 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.145e-06/0.9053, allocations: 0 / 1.101 GB, free: 15.52 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.468e-06/0.9053, allocations: 0 / 1.101 GB, free: 15.52 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.929e-06/0.9053, allocations: 0 / 1.101 GB, free: 15.52 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001696/0.9055, allocations: 139.9 kB / 1.101 GB, free: 15.35 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 6.17e-05/0.9055, allocations: 19.64 kB / 1.101 GB, free: 15.32 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.643e-05/0.9056, allocations: 9.516 kB / 1.101 GB, free: 15.31 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 2.484e-05/0.9056, allocations: 4 kB / 1.101 GB, free: 15.31 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.776e-05/0.9057, allocations: 35.31 kB / 1.101 GB, free: 15.27 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=2): time 1.453e-06/0.9057, allocations: 0 / 1.101 GB, free: 15.27 MB / 0.7136 GB Notification: Performance of matching and sorting (n=2): time 0.0001473/0.9058, allocations: 41.62 kB / 1.101 GB, free: 15.22 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.831e-05/0.9059, allocations: 51.41 kB / 1.101 GB, free: 15.16 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.169e-05/0.9059, allocations: 85 kB / 1.101 GB, free: 15.07 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.829e-05/0.906, allocations: 25.7 kB / 1.101 GB, free: 15.04 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 4.061e-05/0.906, allocations: 92.23 kB / 1.101 GB, free: 14.94 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.564e-05/0.9061, allocations: 7.906 kB / 1.101 GB, free: 14.93 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.236e-06/0.9061, allocations: 2.531 kB / 1.101 GB, free: 14.93 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.000134/0.9062, allocations: 310.8 kB / 1.102 GB, free: 14.62 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.557e-05/0.9062, allocations: 4 kB / 1.102 GB, free: 14.62 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.928e-06/0.9063, allocations: 0 / 1.102 GB, free: 14.62 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.354e-05/0.9063, allocations: 7.984 kB / 1.102 GB, free: 14.61 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.9063, allocations: 0 / 1.102 GB, free: 14.61 MB / 0.7136 GB Notification: Performance of matching and sorting (n=2) (initialization): time 8.863e-05/0.9064, allocations: 45.67 kB / 1.102 GB, free: 14.56 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.454e-05/0.9064, allocations: 4 kB / 1.102 GB, free: 14.55 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.641e-06/0.9064, allocations: 0 / 1.102 GB, free: 14.55 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.27e-05/0.9065, allocations: 0 / 1.102 GB, free: 14.55 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002246/0.9067, allocations: 11.98 kB / 1.102 GB, free: 14.54 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004863/0.9072, allocations: 0.5898 MB / 1.102 GB, free: 13.93 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.632e-05/0.9072, allocations: 128 / 1.102 GB, free: 13.93 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.314e-06/0.9073, allocations: 4 kB / 1.102 GB, free: 13.93 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 8.792e-05/0.9074, allocations: 104.8 kB / 1.102 GB, free: 13.82 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.18e-05/0.9074, allocations: 7.906 kB / 1.102 GB, free: 13.81 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001423/0.9075, allocations: 48.67 kB / 1.102 GB, free: 13.76 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.867e-06/0.9076, allocations: 1.625 kB / 1.102 GB, free: 13.76 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.14e-06/0.9076, allocations: 0 / 1.102 GB, free: 13.76 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.258e-06/0.9076, allocations: 0 / 1.102 GB, free: 13.76 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001134/0.9077, allocations: 134.3 kB / 1.102 GB, free: 13.59 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.918e-06/0.9077, allocations: 0 / 1.102 GB, free: 13.59 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001742/0.9079, allocations: 11.94 kB / 1.102 GB, free: 13.58 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.492e-06/0.9079, allocations: 3.984 kB / 1.102 GB, free: 13.57 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.354e-05/0.9079, allocations: 3.906 kB / 1.102 GB, free: 13.57 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004856/0.9084, allocations: 0.5821 MB / 1.103 GB, free: 12.96 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.556e-06/0.9085, allocations: 0 / 1.103 GB, free: 12.96 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 9.514e-05/0.9086, allocations: 71.5 kB / 1.103 GB, free: 12.88 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 4.836e-05/0.9086, allocations: 77.11 kB / 1.103 GB, free: 12.79 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.805e-05/0.9087, allocations: 5.312 kB / 1.103 GB, free: 12.78 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.25e-05/0.9087, allocations: 0 / 1.103 GB, free: 12.78 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.383e-05/0.9087, allocations: 7.844 kB / 1.103 GB, free: 12.77 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.95e-06/0.9087, allocations: 0 / 1.103 GB, free: 12.77 MB / 0.7136 GB Notification: Performance of sort global known variables: time 4.747e-05/0.9088, allocations: 79.31 kB / 1.103 GB, free: 12.7 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.00028/0.9091, allocations: 23.88 kB / 1.103 GB, free: 12.67 MB / 0.7136 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.0002182/0.9093, allocations: 115.2 kB / 1.103 GB, free: 12.55 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0002619/0.9096, allocations: 15.98 kB / 1.103 GB, free: 12.54 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.9096, allocations: 0 / 1.103 GB, free: 12.54 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0001786/0.9098, allocations: 15.98 kB / 1.103 GB, free: 12.52 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001311/0.9099, allocations: 224 / 1.103 GB, free: 12.52 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002/0.9102, allocations: 64.67 kB / 1.103 GB, free: 12.43 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003141/0.9105, allocations: 0.6841 MB / 1.104 GB, free: 11.72 MB / 0.7136 GB Notification: Performance of SimCode: time 8.02e-07/0.9105, allocations: 0 / 1.104 GB, free: 11.72 MB / 0.7136 GB Notification: Performance of Templates: time 0.003079/0.9136, allocations: 421.6 kB / 1.105 GB, free: 11.34 MB / 0.7136 GB make -j1 -f Buildings_8.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.makefile (rm -f Buildings_8.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.sim & ./Buildings_8.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe 2>&1)