Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.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.BasicFlowFunction_m_flow_DerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck") translateModel(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_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(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.509/1.509, allocations: 285.5 MB / 292.8 MB, free: 10.48 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.001311/0.001311, allocations: 175.5 kB / 361.1 MB, free: 7.094 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.371/1.371, allocations: 205.1 MB / 0.6195 GB, free: 10.26 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001199/0.001199, allocations: 95.84 kB / 0.7326 GB, free: 44.21 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 7.804e-06/7.834e-06, allocations: 0 / 0.8511 GB, free: 2.945 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5152/0.5152, allocations: 115.3 MB / 0.9637 GB, free: 78.03 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1468/0.6621, allocations: 137.8 MB / 1.098 GB, free: 2.141 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000214/0.6623, allocations: 77.14 kB / 1.098 GB, free: 2.066 MB / 0.698 GB Notification: Performance of FrontEnd: time 0.008725/0.6711, allocations: 2.499 MB / 1.101 GB, free: 15.64 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 6.463e-06/0.6711, allocations: 0 / 1.101 GB, free: 15.64 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.0002984/0.6714, allocations: 339.6 kB / 1.101 GB, free: 15.26 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.762e-05/0.6714, allocations: 8.531 kB / 1.101 GB, free: 15.25 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.25e-05/0.6715, allocations: 8.438 kB / 1.101 GB, free: 15.25 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001216/0.6716, allocations: 163.9 kB / 1.101 GB, free: 15.05 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.315e-05/0.6716, allocations: 0 / 1.101 GB, free: 15.05 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.321e-05/0.6717, allocations: 5.062 kB / 1.101 GB, free: 15.04 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.342e-05/0.6717, allocations: 8 kB / 1.101 GB, free: 15.04 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.868e-05/0.6718, allocations: 39 kB / 1.101 GB, free: 14.99 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.185e-05/0.6718, allocations: 7.844 kB / 1.101 GB, free: 14.98 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.119e-05/0.6719, allocations: 1.016 kB / 1.101 GB, free: 14.98 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.856e-06/0.6719, allocations: 0 / 1.101 GB, free: 14.98 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001688/0.672, allocations: 136 kB / 1.101 GB, free: 14.82 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001609/0.6722, allocations: 26.28 kB / 1.102 GB, free: 14.79 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.948e-05/0.6723, allocations: 17.77 kB / 1.102 GB, free: 14.77 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 2.605e-05/0.6723, allocations: 0.75 kB / 1.102 GB, free: 14.77 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.345e-05/0.6723, allocations: 45.17 kB / 1.102 GB, free: 14.71 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=4): time 1.754e-06/0.6723, allocations: 0.6562 kB / 1.102 GB, free: 14.71 MB / 0.7136 GB Notification: Performance of matching and sorting (n=6): time 0.0005876/0.6729, allocations: 283.7 kB / 1.102 GB, free: 14.39 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.921e-05/0.673, allocations: 52.47 kB / 1.102 GB, free: 14.32 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.856e-05/0.6731, allocations: 89.7 kB / 1.102 GB, free: 14.23 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.481e-05/0.6731, allocations: 25.7 kB / 1.102 GB, free: 14.2 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 2.927e-05/0.6731, allocations: 81.17 kB / 1.102 GB, free: 14.12 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 3.544e-05/0.6732, allocations: 27.45 kB / 1.102 GB, free: 14.09 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.236e-06/0.6732, allocations: 1.562 kB / 1.102 GB, free: 14.09 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001297/0.6733, allocations: 314.8 kB / 1.102 GB, free: 13.78 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.259e-05/0.6733, allocations: 8 kB / 1.102 GB, free: 13.77 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.923e-05/0.6734, allocations: 12 kB / 1.102 GB, free: 13.76 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.272e-05/0.6734, allocations: 15.98 kB / 1.102 GB, free: 13.74 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.31e-07/0.6734, allocations: 0 / 1.102 GB, free: 13.74 MB / 0.7136 GB Notification: Performance of matching and sorting (n=7) (initialization): time 9.773e-05/0.6735, allocations: 61.62 kB / 1.102 GB, free: 13.68 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.677e-05/0.6735, allocations: 7.906 kB / 1.103 GB, free: 13.67 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.949e-06/0.6735, allocations: 0 / 1.103 GB, free: 13.67 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.623e-05/0.6736, allocations: 7.984 kB / 1.103 GB, free: 13.66 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.836e-05/0.6736, allocations: 8 kB / 1.103 GB, free: 13.65 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.221e-06/0.6736, allocations: 1.562 kB / 1.103 GB, free: 13.65 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.971e-05/0.6737, allocations: 0 / 1.103 GB, free: 13.65 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.193e-06/0.6737, allocations: 8 kB / 1.103 GB, free: 13.64 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 7.22e-05/0.6738, allocations: 103.9 kB / 1.103 GB, free: 13.54 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.3e-05/0.6738, allocations: 3.906 kB / 1.103 GB, free: 13.54 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001533/0.6739, allocations: 74.38 kB / 1.103 GB, free: 13.46 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.154e-06/0.674, allocations: 0 / 1.103 GB, free: 13.46 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.639e-06/0.674, allocations: 0 / 1.103 GB, free: 13.46 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.588e-06/0.674, allocations: 2.438 kB / 1.103 GB, free: 13.46 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002815/0.6743, allocations: 285.5 kB / 1.103 GB, free: 13.13 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.6743, allocations: 4 kB / 1.103 GB, free: 13.13 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.712e-05/0.6743, allocations: 11.94 kB / 1.103 GB, free: 13.12 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.695e-06/0.6744, allocations: 0 / 1.103 GB, free: 13.12 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.889e-06/0.6744, allocations: 7.984 kB / 1.103 GB, free: 13.11 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.393e-06/0.6744, allocations: 0 / 1.103 GB, free: 13.11 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.795e-06/0.6744, allocations: 0.9844 kB / 1.103 GB, free: 13.11 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001943/0.6746, allocations: 187.6 kB / 1.103 GB, free: 12.9 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 4.924e-05/0.6746, allocations: 88.95 kB / 1.103 GB, free: 12.8 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.644e-05/0.6747, allocations: 3.984 kB / 1.103 GB, free: 12.79 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.973e-05/0.6747, allocations: 0 / 1.103 GB, free: 12.79 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.504e-05/0.6748, allocations: 4 kB / 1.103 GB, free: 12.79 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.039e-06/0.6748, allocations: 0 / 1.103 GB, free: 12.79 MB / 0.7136 GB Notification: Performance of sort global known variables: time 3.323e-05/0.6748, allocations: 83.34 kB / 1.103 GB, free: 12.71 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0002441/0.6751, allocations: 31.86 kB / 1.103 GB, free: 12.68 MB / 0.7136 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 1 (dp_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.0001988/0.6753, allocations: 135 kB / 1.104 GB, free: 12.54 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 8.739e-05/0.6754, allocations: 24 kB / 1.104 GB, free: 12.51 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.6754, allocations: 4 kB / 1.104 GB, free: 12.51 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 2.231e-05/0.6754, allocations: 11.94 kB / 1.104 GB, free: 12.5 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001544/0.6756, allocations: 10.59 kB / 1.104 GB, free: 12.49 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003516/0.6759, allocations: 146.1 kB / 1.104 GB, free: 12.33 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002939/0.6762, allocations: 0.6919 MB / 1.104 GB, free: 11.61 MB / 0.7136 GB Notification: Performance of SimCode: time 3.81e-07/0.6762, allocations: 1.406 kB / 1.104 GB, free: 11.61 MB / 0.7136 GB Notification: Performance of Templates: time 0.002495/0.6787, allocations: 0.664 MB / 1.105 GB, free: 10.99 MB / 0.7136 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.makefile (rm -f Buildings_maint.8.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.sim & ./Buildings_maint.8.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe 2>&1)