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_DerivativeCheck2.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_DerivativeCheck2,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2") translateModel(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2") [: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.497/1.497, allocations: 285.5 MB / 292.8 MB, free: 10.39 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.001079/0.00108, allocations: 181.3 kB / 361.1 MB, free: 7.047 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.32/1.32, 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.001124/0.001124, allocations: 85.11 kB / 0.7325 GB, free: 44.23 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 7.193e-06/7.213e-06, allocations: 4 kB / 0.8511 GB, free: 2.961 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4612/0.4612, allocations: 115.3 MB / 0.9637 GB, free: 78.18 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1462/0.6074, allocations: 138.1 MB / 1.099 GB, free: 1.926 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002361/0.6077, allocations: 76.55 kB / 1.099 GB, free: 1.852 MB / 0.698 GB Notification: Performance of FrontEnd: time 0.01341/0.6211, allocations: 4.13 MB / 1.103 GB, free: 13.79 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 7.774e-06/0.6212, allocations: 4 kB / 1.103 GB, free: 13.79 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0002981/0.6215, allocations: 343 kB / 1.103 GB, free: 13.41 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.507e-05/0.6215, allocations: 9.125 kB / 1.103 GB, free: 13.4 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.275e-05/0.6216, allocations: 7.906 kB / 1.103 GB, free: 13.39 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001155/0.6217, allocations: 163.8 kB / 1.103 GB, free: 13.19 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.187e-05/0.6217, allocations: 4 kB / 1.103 GB, free: 13.19 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.686e-05/0.6217, allocations: 0.6875 kB / 1.103 GB, free: 13.19 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.346e-05/0.6218, allocations: 25.48 kB / 1.103 GB, free: 13.16 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.811e-05/0.6219, allocations: 50.62 kB / 1.103 GB, free: 13.11 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.183e-05/0.6219, allocations: 1.75 kB / 1.103 GB, free: 13.11 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.059e-05/0.6219, allocations: 1 kB / 1.103 GB, free: 13.11 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.268e-06/0.6219, allocations: 0 / 1.103 GB, free: 13.11 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000159/0.6221, allocations: 142 kB / 1.103 GB, free: 12.94 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 6.165e-05/0.6222, allocations: 41.61 kB / 1.103 GB, free: 12.89 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.189e-05/0.6222, allocations: 24.86 kB / 1.103 GB, free: 12.86 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 2.138e-05/0.6222, allocations: 3.938 kB / 1.103 GB, free: 12.86 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.805e-05/0.6223, allocations: 38.55 kB / 1.103 GB, free: 12.81 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=7): time 1.102e-06/0.6223, allocations: 0 / 1.103 GB, free: 12.81 MB / 0.7136 GB Notification: Performance of matching and sorting (n=11): time 0.0008221/0.6231, allocations: 0.5053 MB / 1.104 GB, free: 12.22 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.593e-05/0.6232, allocations: 52.03 kB / 1.104 GB, free: 12.16 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.033e-05/0.6232, allocations: 96.75 kB / 1.104 GB, free: 12.06 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.51e-05/0.6232, allocations: 25.7 kB / 1.104 GB, free: 12.03 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 2.323e-05/0.6233, allocations: 80.14 kB / 1.104 GB, free: 11.95 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 3.762e-05/0.6233, allocations: 43.83 kB / 1.104 GB, free: 11.9 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.238e-06/0.6233, allocations: 0.5 kB / 1.104 GB, free: 11.9 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001062/0.6234, allocations: 323.4 kB / 1.105 GB, free: 11.58 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.482e-05/0.6235, allocations: 20.12 kB / 1.105 GB, free: 11.55 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.145e-05/0.6235, allocations: 16 kB / 1.105 GB, free: 11.54 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.182e-05/0.6236, allocations: 23.92 kB / 1.105 GB, free: 11.52 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.11e-07/0.6236, allocations: 0 / 1.105 GB, free: 11.52 MB / 0.7136 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001252/0.6237, allocations: 85.59 kB / 1.105 GB, free: 11.43 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.817e-05/0.6237, allocations: 4 kB / 1.105 GB, free: 11.42 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.737e-06/0.6237, allocations: 3.938 kB / 1.105 GB, free: 11.42 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.839e-06/0.6238, allocations: 4 kB / 1.105 GB, free: 11.41 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001104/0.6239, allocations: 23.98 kB / 1.105 GB, free: 11.39 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.477e-06/0.6239, allocations: 0 / 1.105 GB, free: 11.39 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.459e-05/0.6239, allocations: 0 / 1.105 GB, free: 11.39 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.278e-06/0.6239, allocations: 9.625 kB / 1.105 GB, free: 11.38 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 (13): * Single equations (assignments): 13 * 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.866e-05/0.624, allocations: 101 kB / 1.105 GB, free: 11.28 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.511e-05/0.624, allocations: 7.906 kB / 1.105 GB, free: 11.27 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001843/0.6242, allocations: 95.62 kB / 1.105 GB, free: 11.17 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.617e-06/0.6242, allocations: 4 kB / 1.105 GB, free: 11.17 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.436e-06/0.6242, allocations: 0 / 1.105 GB, free: 11.17 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.317e-06/0.6242, allocations: 0 / 1.105 GB, free: 11.17 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003736/0.6246, allocations: 325.8 kB / 1.105 GB, free: 10.81 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/0.6246, allocations: 0 / 1.105 GB, free: 10.81 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001207/0.6247, allocations: 27.92 kB / 1.105 GB, free: 10.78 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.154e-06/0.6248, allocations: 1.875 kB / 1.105 GB, free: 10.78 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.486e-06/0.6248, allocations: 0 / 1.105 GB, free: 10.78 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.262e-06/0.6248, allocations: 0 / 1.105 GB, free: 10.78 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.076e-06/0.6248, allocations: 7.906 kB / 1.105 GB, free: 10.77 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002154/0.625, allocations: 213.3 kB / 1.105 GB, free: 10.55 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 3.994e-05/0.6251, allocations: 81.17 kB / 1.106 GB, free: 10.46 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.638e-05/0.6251, allocations: 3.984 kB / 1.106 GB, free: 10.45 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.811e-05/0.6252, allocations: 3.906 kB / 1.106 GB, free: 10.45 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.774e-05/0.6252, allocations: 4 kB / 1.106 GB, free: 10.45 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.887e-06/0.6252, allocations: 4 kB / 1.106 GB, free: 10.44 MB / 0.7136 GB Notification: Performance of sort global known variables: time 2.865e-05/0.6252, allocations: 79.27 kB / 1.106 GB, free: 10.36 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0002636/0.6255, allocations: 39.94 kB / 1.106 GB, free: 10.32 MB / 0.7136 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (m_flow_comp,der_m_flow_comp) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 11 * 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.0002091/0.6257, allocations: 151 kB / 1.106 GB, free: 10.17 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001122/0.6259, allocations: 52 kB / 1.106 GB, free: 10.12 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.765e-06/0.6259, allocations: 4 kB / 1.106 GB, free: 10.11 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 4.033e-05/0.6259, allocations: 31.94 kB / 1.106 GB, free: 10.08 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001288/0.626, allocations: 0 / 1.106 GB, free: 10.08 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004141/0.6265, allocations: 223.9 kB / 1.106 GB, free: 9.848 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002641/0.6267, allocations: 0.6997 MB / 1.107 GB, free: 9.121 MB / 0.7136 GB Notification: Performance of SimCode: time 2.51e-07/0.6267, allocations: 0 / 1.107 GB, free: 9.121 MB / 0.7136 GB Notification: Performance of Templates: time 0.003002/0.6297, allocations: 1.052 MB / 1.108 GB, free: 8.109 MB / 0.7136 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.makefile (rm -f Buildings_maint.8.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.sim & ./Buildings_maint.8.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe 2>&1)