Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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_8_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.1.4-maint.8.1.x/package.mo): time 1.519/1.519, allocations: 289.8 MB / 297.1 MB, free: 6.699 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.00102/0.00102, allocations: 169.3 kB / 366.3 MB, free: 2.031 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.252/1.252, allocations: 205.1 MB / 0.6256 GB, free: 5.84 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.001021/0.001021, allocations: 89.89 kB / 0.7396 GB, free: 39.7 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 8.466e-06/8.536e-06, allocations: 0 / 0.859 GB, free: 13.4 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6155/0.6156, allocations: 116.3 MB / 0.9726 GB, free: 68.16 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1734/0.789, allocations: 139.1 MB / 1.108 GB, free: 9.062 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002544/0.7893, allocations: 75.95 kB / 1.108 GB, free: 8.988 MB / 0.7136 GB Notification: Performance of FrontEnd: time 0.01307/0.8024, allocations: 4.137 MB / 1.112 GB, free: 4.859 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 9.498e-06/0.8025, allocations: 4 kB / 1.112 GB, free: 4.855 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.0004166/0.8029, allocations: 342.4 kB / 1.113 GB, free: 4.477 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.454e-05/0.803, allocations: 8.031 kB / 1.113 GB, free: 4.469 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.648e-05/0.803, allocations: 11.89 kB / 1.113 GB, free: 4.457 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001324/0.8032, allocations: 167 kB / 1.113 GB, free: 4.254 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.626e-05/0.8032, allocations: 4 kB / 1.113 GB, free: 4.25 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.477e-05/0.8032, allocations: 0 / 1.113 GB, free: 4.25 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.647e-05/0.8033, allocations: 19.91 kB / 1.113 GB, free: 4.23 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.919e-05/0.8034, allocations: 45.69 kB / 1.113 GB, free: 4.18 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.307e-05/0.8034, allocations: 6.25 kB / 1.113 GB, free: 4.176 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.207e-05/0.8034, allocations: 0 / 1.113 GB, free: 4.176 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.829e-06/0.8034, allocations: 0 / 1.113 GB, free: 4.176 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000183/0.8036, allocations: 142.2 kB / 1.113 GB, free: 4 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 7.265e-05/0.8037, allocations: 45.55 kB / 1.113 GB, free: 3.949 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.197e-05/0.8038, allocations: 20.86 kB / 1.113 GB, free: 3.926 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 2.552e-05/0.8038, allocations: 0 / 1.113 GB, free: 3.926 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.988e-05/0.8038, allocations: 46.5 kB / 1.113 GB, free: 3.871 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=7): time 9.42e-07/0.8038, allocations: 0 / 1.113 GB, free: 3.871 MB / 0.7136 GB Notification: Performance of matching and sorting (n=11): time 0.0008853/0.8047, allocations: 0.5021 MB / 1.114 GB, free: 3.281 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.37e-05/0.8048, allocations: 51.41 kB / 1.114 GB, free: 3.219 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.611e-05/0.8048, allocations: 93 kB / 1.114 GB, free: 3.121 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 2.228e-05/0.8049, allocations: 25.83 kB / 1.114 GB, free: 3.09 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 3.256e-05/0.8049, allocations: 84.14 kB / 1.114 GB, free: 3.004 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 4.414e-05/0.805, allocations: 43.3 kB / 1.114 GB, free: 2.961 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.62e-06/0.805, allocations: 0 / 1.114 GB, free: 2.961 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001073/0.8051, allocations: 318.8 kB / 1.114 GB, free: 2.641 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.844e-05/0.8051, allocations: 23.92 kB / 1.114 GB, free: 2.617 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.253e-05/0.8052, allocations: 16 kB / 1.114 GB, free: 2.602 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.197e-05/0.8052, allocations: 18.25 kB / 1.114 GB, free: 2.586 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.42e-07/0.8052, allocations: 4.594 kB / 1.114 GB, free: 2.582 MB / 0.7136 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002139/0.8055, allocations: 93.58 kB / 1.115 GB, free: 2.484 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.061e-05/0.8055, allocations: 8 kB / 1.115 GB, free: 2.477 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.39e-06/0.8055, allocations: 0 / 1.115 GB, free: 2.477 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.225e-05/0.8055, allocations: 4 kB / 1.115 GB, free: 2.473 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001141/0.8056, allocations: 19.98 kB / 1.115 GB, free: 2.453 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.198e-06/0.8056, allocations: 0 / 1.115 GB, free: 2.453 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.623e-05/0.8057, allocations: 1.312 kB / 1.115 GB, free: 2.453 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.153e-05/0.8057, allocations: 8 kB / 1.115 GB, free: 2.445 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 6.47e-05/0.8058, allocations: 104.9 kB / 1.115 GB, free: 2.336 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.226e-05/0.8058, allocations: 7.906 kB / 1.115 GB, free: 2.328 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001888/0.806, allocations: 91.7 kB / 1.115 GB, free: 2.227 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.035e-06/0.806, allocations: 4 kB / 1.115 GB, free: 2.223 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.474e-06/0.806, allocations: 7.984 kB / 1.115 GB, free: 2.215 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.791e-06/0.806, allocations: 3.984 kB / 1.115 GB, free: 2.211 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003582/0.8064, allocations: 323.2 kB / 1.115 GB, free: 1.852 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/0.8064, allocations: 0 / 1.115 GB, free: 1.852 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001162/0.8065, allocations: 23.98 kB / 1.115 GB, free: 1.828 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.823e-06/0.8065, allocations: 0 / 1.115 GB, free: 1.828 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.836e-06/0.8065, allocations: 4 kB / 1.115 GB, free: 1.824 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.173e-06/0.8065, allocations: 0 / 1.115 GB, free: 1.824 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.946e-06/0.8065, allocations: 7.906 kB / 1.115 GB, free: 1.816 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002158/0.8068, allocations: 211.3 kB / 1.115 GB, free: 1.598 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 3.59e-05/0.8068, allocations: 81.11 kB / 1.115 GB, free: 1.5 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.624e-05/0.8068, allocations: 0 / 1.115 GB, free: 1.5 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001298/0.807, allocations: 3.906 kB / 1.115 GB, free: 1.496 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.779e-05/0.807, allocations: 7.984 kB / 1.115 GB, free: 1.488 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.526e-06/0.807, allocations: 8.062 kB / 1.115 GB, free: 1.48 MB / 0.7136 GB Notification: Performance of sort global known variables: time 2.672e-05/0.807, allocations: 75.28 kB / 1.115 GB, free: 1.406 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0002762/0.8073, allocations: 43.92 kB / 1.116 GB, free: 1.363 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.0002314/0.8076, allocations: 143.1 kB / 1.116 GB, free: 1.215 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001248/0.8077, allocations: 51.94 kB / 1.116 GB, free: 1.164 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.853e-06/0.8077, allocations: 4 kB / 1.116 GB, free: 1.16 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 4.05e-05/0.8078, allocations: 31.94 kB / 1.116 GB, free: 1.129 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001477/0.8079, allocations: 7.5 kB / 1.116 GB, free: 1.125 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000446/0.8084, allocations: 209.5 kB / 1.116 GB, free: 0.8945 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002432/0.8086, allocations: 0.6997 MB / 1.117 GB, free: 172 kB / 0.7136 GB Notification: Performance of SimCode: time 2.71e-07/0.8086, allocations: 4 kB / 1.117 GB, free: 168 kB / 0.7136 GB Notification: Performance of Templates: time 0.003119/0.8118, allocations: 1.056 MB / 1.118 GB, free: 15.13 MB / 0.7292 GB make -j1 -f Buildings_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.makefile (rm -f Buildings_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe ; mkfifo Buildings_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe >> ../files/Buildings_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.sim & ./Buildings_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe 2>&1)