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_dp_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_dp_DerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_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_maint.8.0.x_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(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.472/1.472, allocations: 285.5 MB / 292.8 MB, free: 10.43 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.001168/0.001168, allocations: 181.3 kB / 361.1 MB, free: 7.086 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.253/1.253, allocations: 205.1 MB / 0.6195 GB, free: 10.27 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.0008249/0.0008249, allocations: 84.5 kB / 0.7325 GB, free: 44.22 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 6.362e-06/6.402e-06, allocations: 0 / 0.8511 GB, free: 2.945 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.459/0.459, allocations: 115.3 MB / 0.9637 GB, free: 78.03 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1416/0.6007, allocations: 138 MB / 1.098 GB, free: 2.047 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001892/0.6009, allocations: 76.5 kB / 1.098 GB, free: 1.973 MB / 0.698 GB Notification: Performance of FrontEnd: time 0.01183/0.6127, allocations: 3.632 MB / 1.102 GB, free: 14.41 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 9.387e-06/0.6128, allocations: 4.5 kB / 1.102 GB, free: 14.41 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.0003196/0.6131, allocations: 339.7 kB / 1.102 GB, free: 14.04 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.346e-05/0.6132, allocations: 13.56 kB / 1.102 GB, free: 14.02 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.202e-05/0.6132, allocations: 3.906 kB / 1.102 GB, free: 14.02 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001296/0.6133, allocations: 163.6 kB / 1.103 GB, free: 13.82 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.25e-05/0.6134, allocations: 4.625 kB / 1.103 GB, free: 13.82 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.037e-05/0.6134, allocations: 0 / 1.103 GB, free: 13.82 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.017e-05/0.6135, allocations: 5.312 kB / 1.103 GB, free: 13.81 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.38e-05/0.6135, allocations: 45.62 kB / 1.103 GB, free: 13.76 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.08e-05/0.6136, allocations: 3.906 kB / 1.103 GB, free: 13.76 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.058e-05/0.6136, allocations: 0.7188 kB / 1.103 GB, free: 13.76 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.4e-06/0.6136, allocations: 0.5938 kB / 1.103 GB, free: 13.76 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000194/0.6138, allocations: 142.7 kB / 1.103 GB, free: 13.58 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001805/0.614, allocations: 31.72 kB / 1.103 GB, free: 13.55 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.807e-05/0.614, allocations: 13.39 kB / 1.103 GB, free: 13.53 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 2.804e-05/0.6141, allocations: 4.5 kB / 1.103 GB, free: 13.53 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.536e-05/0.6141, allocations: 36.19 kB / 1.103 GB, free: 13.48 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=4): time 1.603e-06/0.6141, allocations: 0 / 1.103 GB, free: 13.48 MB / 0.7136 GB Notification: Performance of matching and sorting (n=6): time 0.0005789/0.6147, allocations: 278.1 kB / 1.103 GB, free: 13.16 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.628e-05/0.6147, allocations: 55.34 kB / 1.103 GB, free: 13.1 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.263e-05/0.6148, allocations: 97.73 kB / 1.103 GB, free: 13 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.503e-05/0.6148, allocations: 25.7 kB / 1.103 GB, free: 12.96 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 3.395e-05/0.6149, allocations: 81.3 kB / 1.103 GB, free: 12.88 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.964e-05/0.6149, allocations: 23.66 kB / 1.103 GB, free: 12.86 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.186e-06/0.6149, allocations: 0.5312 kB / 1.103 GB, free: 12.86 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 9.015e-05/0.615, allocations: 315.2 kB / 1.104 GB, free: 12.55 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.487e-05/0.615, allocations: 15.98 kB / 1.104 GB, free: 12.53 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.89e-05/0.6151, allocations: 11.94 kB / 1.104 GB, free: 12.52 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.642e-05/0.6151, allocations: 11.41 kB / 1.104 GB, free: 12.51 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.41e-07/0.6151, allocations: 4 kB / 1.104 GB, free: 12.51 MB / 0.7136 GB Notification: Performance of matching and sorting (n=7) (initialization): time 9.723e-05/0.6152, allocations: 57.69 kB / 1.104 GB, free: 12.45 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.239e-05/0.6152, allocations: 7.906 kB / 1.104 GB, free: 12.44 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.528e-06/0.6152, allocations: 0 / 1.104 GB, free: 12.44 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.137e-05/0.6153, allocations: 4 kB / 1.104 GB, free: 12.43 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.775e-05/0.6153, allocations: 8 kB / 1.104 GB, free: 12.43 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.797e-06/0.6153, allocations: 0 / 1.104 GB, free: 12.43 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.848e-05/0.6154, allocations: 0 / 1.104 GB, free: 12.43 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.707e-06/0.6154, allocations: 7.984 kB / 1.104 GB, free: 12.42 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 5.682e-05/0.6154, allocations: 101 kB / 1.104 GB, free: 12.31 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.279e-05/0.6155, allocations: 15.84 kB / 1.104 GB, free: 12.3 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000136/0.6156, allocations: 61.75 kB / 1.104 GB, free: 12.23 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.214e-06/0.6156, allocations: 384 / 1.104 GB, free: 12.23 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.797e-06/0.6156, allocations: 0 / 1.104 GB, free: 12.23 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.096e-06/0.6156, allocations: 0 / 1.104 GB, free: 12.23 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002889/0.6159, allocations: 289.4 kB / 1.104 GB, free: 11.9 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-06/0.6159, allocations: 4 kB / 1.104 GB, free: 11.9 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.852e-05/0.616, allocations: 11.98 kB / 1.104 GB, free: 11.89 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.568e-06/0.616, allocations: 8.016 kB / 1.104 GB, free: 11.88 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.242e-05/0.616, allocations: 4 kB / 1.104 GB, free: 11.88 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.523e-06/0.616, allocations: 0 / 1.104 GB, free: 11.88 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.354e-06/0.616, allocations: 1.125 kB / 1.104 GB, free: 11.88 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.000198/0.6163, allocations: 187.7 kB / 1.104 GB, free: 11.67 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001025/0.6164, allocations: 89 kB / 1.104 GB, free: 11.56 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.513e-05/0.6164, allocations: 4.062 kB / 1.104 GB, free: 11.56 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.179e-05/0.6165, allocations: 0 / 1.104 GB, free: 11.56 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.811e-05/0.6165, allocations: 11.92 kB / 1.105 GB, free: 11.55 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.542e-06/0.6165, allocations: 0 / 1.105 GB, free: 11.55 MB / 0.7136 GB Notification: Performance of sort global known variables: time 5.097e-05/0.6166, allocations: 83.34 kB / 1.105 GB, free: 11.46 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.000268/0.6168, allocations: 20 kB / 1.105 GB, free: 11.45 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.0002246/0.6171, allocations: 134.9 kB / 1.105 GB, free: 11.3 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 9.856e-05/0.6172, allocations: 31.94 kB / 1.105 GB, free: 11.27 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.6172, allocations: 4 kB / 1.105 GB, free: 11.27 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 2.273e-05/0.6172, allocations: 13.12 kB / 1.105 GB, free: 11.26 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000157/0.6174, allocations: 6.438 kB / 1.105 GB, free: 11.25 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003123/0.6177, allocations: 137.8 kB / 1.105 GB, free: 11.1 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002547/0.618, allocations: 0.6958 MB / 1.106 GB, free: 10.38 MB / 0.7136 GB Notification: Performance of SimCode: time 2.4e-07/0.618, allocations: 0 / 1.106 GB, free: 10.38 MB / 0.7136 GB Notification: Performance of Templates: time 0.002533/0.6205, allocations: 0.6492 MB / 1.106 GB, free: 9.77 MB / 0.7136 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.makefile (rm -f Buildings_maint.8.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.sim & ./Buildings_maint.8.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe 2>&1)