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_m_flow.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_m_flow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_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_8.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 8.0.0/package.mo): time 2.448/2.448, allocations: 284.9 MB / 292.2 MB, free: 10.82 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.001676/0.001676, allocations: 185.3 kB / 360.4 MB, free: 7.523 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.784/1.784, allocations: 205.1 MB / 0.6188 GB, free: 12.46 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.001824/0.001823, allocations: 84.3 kB / 0.7318 GB, free: 45.01 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.162e-05/1.183e-05, allocations: 0 / 0.8502 GB, free: 3.883 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6088/0.6089, allocations: 115.2 MB / 0.9628 GB, free: 78.71 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2491/0.858, allocations: 137.4 MB / 1.097 GB, free: 3.371 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003024/0.8583, allocations: 77.17 kB / 1.097 GB, free: 3.297 MB / 0.698 GB Notification: Performance of FrontEnd: time 0.01156/0.8699, allocations: 1.945 MB / 1.099 GB, free: 1.41 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.088e-05/0.87, allocations: 4.844 kB / 1.099 GB, free: 1.406 MB / 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.0004079/0.8704, allocations: 331 kB / 1.099 GB, free: 1.039 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.737e-05/0.8705, allocations: 12.53 kB / 1.099 GB, free: 1.027 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.544e-05/0.8705, allocations: 0.5312 kB / 1.099 GB, free: 1.027 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001382/0.8707, allocations: 163.8 kB / 1.099 GB, free: 0.8281 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.44e-05/0.8707, allocations: 0 / 1.099 GB, free: 0.8281 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.708e-05/0.8707, allocations: 5.344 kB / 1.099 GB, free: 0.8242 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.016e-05/0.8708, allocations: 0 / 1.099 GB, free: 0.8242 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.25e-05/0.8709, allocations: 36.06 kB / 1.099 GB, free: 0.7852 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.418e-06/0.8709, allocations: 0 / 1.099 GB, free: 0.7852 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.134e-05/0.8709, allocations: 1.562 kB / 1.099 GB, free: 0.7852 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.65e-06/0.8709, allocations: 0 / 1.099 GB, free: 0.7852 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001684/0.8711, allocations: 138.7 kB / 1.1 GB, free: 0.6133 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 5.86e-05/0.8712, allocations: 26.3 kB / 1.1 GB, free: 0.582 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.918e-05/0.8712, allocations: 10.36 kB / 1.1 GB, free: 0.5703 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.458e-05/0.8712, allocations: 0 / 1.1 GB, free: 0.5703 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.193e-05/0.8713, allocations: 38.55 kB / 1.1 GB, free: 0.5234 MB / 0.698 GB Notification: Performance of pre-optimization done (n=2): time 1.433e-06/0.8713, allocations: 5.062 kB / 1.1 GB, free: 0.5195 MB / 0.698 GB Notification: Performance of matching and sorting (n=2): time 0.0001782/0.8715, allocations: 38.36 kB / 1.1 GB, free: 488 kB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.544e-05/0.8715, allocations: 51.41 kB / 1.1 GB, free: 424 kB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.989e-05/0.8716, allocations: 85 kB / 1.1 GB, free: 332 kB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.595e-05/0.8717, allocations: 29.7 kB / 1.1 GB, free: 296 kB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 3.391e-05/0.8717, allocations: 80.14 kB / 1.1 GB, free: 212 kB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 3.103e-05/0.8717, allocations: 9.875 kB / 1.1 GB, free: 204 kB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.229e-06/0.8718, allocations: 0 / 1.1 GB, free: 204 kB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001376/0.8719, allocations: 318.9 kB / 1.1 GB, free: 15.88 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.583e-05/0.8719, allocations: 8 kB / 1.1 GB, free: 15.87 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.099e-05/0.8719, allocations: 0 / 1.1 GB, free: 15.87 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.1e-05/0.872, allocations: 4 kB / 1.1 GB, free: 15.87 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.295e-06/0.872, allocations: 0 / 1.1 GB, free: 15.87 MB / 0.7136 GB Notification: Performance of matching and sorting (n=2) (initialization): time 8.676e-05/0.8721, allocations: 41.61 kB / 1.1 GB, free: 15.82 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.465e-05/0.8721, allocations: 4 kB / 1.1 GB, free: 15.82 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.512e-06/0.8721, allocations: 0 / 1.1 GB, free: 15.82 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.451e-05/0.8721, allocations: 0 / 1.1 GB, free: 15.82 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002423/0.8724, allocations: 11.98 kB / 1.1 GB, free: 15.8 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004747/0.8729, allocations: 0.5938 MB / 1.101 GB, free: 15.19 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.461e-05/0.8729, allocations: 0 / 1.101 GB, free: 15.19 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.116e-06/0.873, allocations: 0 / 1.101 GB, free: 15.19 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 9.454e-05/0.8731, allocations: 114 kB / 1.101 GB, free: 15.07 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.255e-05/0.8731, allocations: 3.906 kB / 1.101 GB, free: 15.07 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001483/0.8732, allocations: 45.77 kB / 1.101 GB, free: 15.02 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.959e-06/0.8733, allocations: 4.266 kB / 1.101 GB, free: 15.02 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.736e-06/0.8733, allocations: 5.297 kB / 1.101 GB, free: 15.01 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.869e-06/0.8733, allocations: 0 / 1.101 GB, free: 15.01 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001047/0.8734, allocations: 126.2 kB / 1.101 GB, free: 14.85 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.844e-06/0.8734, allocations: 0 / 1.101 GB, free: 14.85 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001453/0.8736, allocations: 11.98 kB / 1.101 GB, free: 14.84 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.21e-06/0.8736, allocations: 0.5625 kB / 1.101 GB, free: 14.84 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.006e-05/0.8736, allocations: 3.906 kB / 1.101 GB, free: 14.84 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004538/0.8741, allocations: 0.5899 MB / 1.102 GB, free: 14.22 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.508e-06/0.8741, allocations: 2 kB / 1.102 GB, free: 14.22 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 9.529e-05/0.8742, allocations: 65.06 kB / 1.102 GB, free: 14.14 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 4.749e-05/0.8743, allocations: 77.11 kB / 1.102 GB, free: 14.05 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.773e-05/0.8743, allocations: 12.06 kB / 1.102 GB, free: 14.04 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.271e-05/0.8743, allocations: 0 / 1.102 GB, free: 14.04 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.739e-05/0.8744, allocations: 3.906 kB / 1.102 GB, free: 14.03 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.901e-06/0.8744, allocations: 0.8906 kB / 1.102 GB, free: 14.03 MB / 0.7136 GB Notification: Performance of sort global known variables: time 4.471e-05/0.8744, allocations: 83.27 kB / 1.102 GB, free: 13.95 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0002747/0.8747, allocations: 4 kB / 1.102 GB, free: 13.95 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.0002315/0.875, allocations: 119.1 kB / 1.102 GB, free: 13.82 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.000274/0.8752, allocations: 24.09 kB / 1.102 GB, free: 13.8 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.905e-06/0.8753, allocations: 0 / 1.102 GB, free: 13.8 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0002034/0.8755, allocations: 11.98 kB / 1.102 GB, free: 13.79 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001329/0.8756, allocations: 4 kB / 1.102 GB, free: 13.78 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002204/0.8759, allocations: 52.67 kB / 1.102 GB, free: 13.71 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002855/0.8762, allocations: 0.6841 MB / 1.103 GB, free: 13 MB / 0.7136 GB Notification: Performance of SimCode: time 9.82e-07/0.8762, allocations: 4.125 kB / 1.103 GB, free: 12.99 MB / 0.7136 GB Notification: Performance of Templates: time 0.003273/0.8795, allocations: 442.6 kB / 1.103 GB, free: 12.6 MB / 0.7136 GB make -j1 -f Buildings_8.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.makefile (rm -f Buildings_8.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.sim & ./Buildings_8.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe 2>&1)