Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.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.BasicFlowFunction_dp_DerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck") translateModel(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck") [: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.422/2.422, 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.002266/0.002266, allocations: 189.2 kB / 360.4 MB, free: 7.547 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.705/1.705, allocations: 205.1 MB / 0.6188 GB, free: 13.19 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.001194/0.001194, allocations: 88.05 kB / 0.7318 GB, free: 45.12 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.32e-05/1.347e-05, allocations: 0 / 0.8502 GB, free: 3.98 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6171/0.6172, allocations: 115.2 MB / 0.9628 GB, free: 78.37 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2378/0.855, allocations: 137.8 MB / 1.097 GB, free: 3.031 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003082/0.8554, allocations: 76.7 kB / 1.097 GB, free: 2.957 MB / 0.698 GB Notification: Performance of FrontEnd: time 0.02024/0.8756, allocations: 3.641 MB / 1.101 GB, free: 15.39 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 8.606e-06/0.8757, allocations: 0 / 1.101 GB, free: 15.39 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0004002/0.8761, allocations: 340.5 kB / 1.101 GB, free: 15.01 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.434e-05/0.8762, allocations: 8.531 kB / 1.101 GB, free: 15 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.702e-05/0.8762, allocations: 3.906 kB / 1.101 GB, free: 15 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001381/0.8764, allocations: 167.1 kB / 1.101 GB, free: 14.8 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.447e-05/0.8764, allocations: 0.5625 kB / 1.101 GB, free: 14.8 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.97e-05/0.8764, allocations: 0.5938 kB / 1.101 GB, free: 14.8 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.562e-05/0.8765, allocations: 15.92 kB / 1.101 GB, free: 14.78 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.871e-05/0.8766, allocations: 34.27 kB / 1.102 GB, free: 14.74 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.21e-05/0.8766, allocations: 4.688 kB / 1.102 GB, free: 14.74 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.337e-05/0.8767, allocations: 0 / 1.102 GB, free: 14.74 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.937e-06/0.8767, allocations: 4.531 kB / 1.102 GB, free: 14.73 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002064/0.8769, allocations: 140.3 kB / 1.102 GB, free: 14.56 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002215/0.8771, allocations: 30.88 kB / 1.102 GB, free: 14.53 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.776e-05/0.8772, allocations: 13.7 kB / 1.102 GB, free: 14.51 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 2.812e-05/0.8772, allocations: 0 / 1.102 GB, free: 14.51 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.514e-05/0.8773, allocations: 38.03 kB / 1.102 GB, free: 14.47 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=4): time 3.436e-06/0.8773, allocations: 2.625 kB / 1.102 GB, free: 14.47 MB / 0.7136 GB Notification: Performance of matching and sorting (n=6): time 0.0007114/0.878, allocations: 278.2 kB / 1.102 GB, free: 14.14 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.659e-05/0.8781, allocations: 59.41 kB / 1.102 GB, free: 14.07 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.109e-05/0.8782, allocations: 88.98 kB / 1.102 GB, free: 13.98 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.7e-05/0.8782, allocations: 26.55 kB / 1.102 GB, free: 13.95 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 4.49e-05/0.8783, allocations: 84.14 kB / 1.102 GB, free: 13.86 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 3.5e-05/0.8783, allocations: 23.66 kB / 1.102 GB, free: 13.84 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.499e-06/0.8783, allocations: 0 / 1.102 GB, free: 13.84 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0002234/0.8786, allocations: 318.8 kB / 1.103 GB, free: 13.52 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.641e-05/0.8786, allocations: 11.94 kB / 1.103 GB, free: 13.51 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.424e-05/0.8787, allocations: 8 kB / 1.103 GB, free: 13.5 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.1e-05/0.8787, allocations: 8 kB / 1.103 GB, free: 13.49 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.8787, allocations: 0 / 1.103 GB, free: 13.49 MB / 0.7136 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002056/0.8789, allocations: 61.67 kB / 1.103 GB, free: 13.43 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 2.119e-05/0.879, allocations: 11.91 kB / 1.103 GB, free: 13.41 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.493e-06/0.879, allocations: 4 kB / 1.103 GB, free: 13.41 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.504e-05/0.879, allocations: 0 / 1.103 GB, free: 13.41 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001129/0.8791, allocations: 11.98 kB / 1.103 GB, free: 13.4 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.596e-06/0.8792, allocations: 4 kB / 1.103 GB, free: 13.39 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.974e-05/0.8792, allocations: 0 / 1.103 GB, free: 13.39 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.033e-05/0.8792, allocations: 3.344 kB / 1.103 GB, free: 13.39 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 (7): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.109e-05/0.8793, allocations: 108.7 kB / 1.103 GB, free: 13.28 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.962e-05/0.8793, allocations: 7.906 kB / 1.103 GB, free: 13.27 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001948/0.8795, allocations: 64.28 kB / 1.103 GB, free: 13.21 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.895e-06/0.8796, allocations: 8.359 kB / 1.103 GB, free: 13.2 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.749e-06/0.8796, allocations: 0 / 1.103 GB, free: 13.2 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.719e-06/0.8796, allocations: 0 / 1.103 GB, free: 13.2 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004163/0.88, allocations: 290.2 kB / 1.103 GB, free: 12.87 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.765e-06/0.88, allocations: 0 / 1.103 GB, free: 12.87 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001226/0.8802, allocations: 11.98 kB / 1.103 GB, free: 12.86 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.524e-06/0.8802, allocations: 4 kB / 1.103 GB, free: 12.86 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.021e-05/0.8802, allocations: 0 / 1.103 GB, free: 12.86 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.525e-06/0.8802, allocations: 0 / 1.103 GB, free: 12.86 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.815e-06/0.8802, allocations: 4.031 kB / 1.103 GB, free: 12.85 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002638/0.8805, allocations: 190 kB / 1.103 GB, free: 12.64 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 9.457e-05/0.8806, allocations: 85.02 kB / 1.103 GB, free: 12.54 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.763e-05/0.8807, allocations: 0 / 1.103 GB, free: 12.54 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001583/0.8808, allocations: 7.938 kB / 1.103 GB, free: 12.53 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.085e-05/0.8809, allocations: 8.047 kB / 1.103 GB, free: 12.52 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.668e-05/0.8809, allocations: 10.12 kB / 1.103 GB, free: 12.52 MB / 0.7136 GB Notification: Performance of sort global known variables: time 4.967e-05/0.881, allocations: 75.28 kB / 1.104 GB, free: 12.44 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.00037/0.8813, allocations: 20 kB / 1.104 GB, free: 12.42 MB / 0.7136 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 1 (m_flow_comp) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002852/0.8816, allocations: 135.1 kB / 1.104 GB, free: 12.28 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001463/0.8818, allocations: 31.94 kB / 1.104 GB, free: 12.25 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.895e-06/0.8818, allocations: 0 / 1.104 GB, free: 12.25 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 4.294e-05/0.8819, allocations: 17.5 kB / 1.104 GB, free: 12.23 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00019/0.8821, allocations: 4.062 kB / 1.104 GB, free: 12.23 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004577/0.8825, allocations: 136.4 kB / 1.104 GB, free: 12.07 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003858/0.8829, allocations: 0.6919 MB / 1.105 GB, free: 11.36 MB / 0.7136 GB Notification: Performance of SimCode: time 1.002e-06/0.883, allocations: 4 kB / 1.105 GB, free: 11.35 MB / 0.7136 GB Notification: Performance of Templates: time 0.00388/0.8869, allocations: 0.645 MB / 1.105 GB, free: 10.75 MB / 0.7136 GB make -j1 -f Buildings_8.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.makefile (rm -f Buildings_8.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.sim & ./Buildings_8.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe 2>&1)