Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.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_m_flow_DerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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_8_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.1.4-maint.8.1.x/package.mo): time 1.466/1.466, allocations: 289.8 MB / 297.1 MB, free: 6.586 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.0009742/0.0009742, allocations: 181.2 kB / 366.3 MB, free: 1.938 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.177/1.177, allocations: 205.1 MB / 0.6256 GB, free: 5.777 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.0008152/0.0008152, allocations: 90.28 kB / 0.7396 GB, free: 39.6 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 6.542e-06/6.562e-06, allocations: 0 / 0.859 GB, free: 13.3 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.511/0.511, allocations: 116.3 MB / 0.9726 GB, free: 68.55 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1669/0.678, allocations: 138.8 MB / 1.108 GB, free: 9.609 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002368/0.6783, allocations: 79.89 kB / 1.108 GB, free: 9.531 MB / 0.7136 GB Notification: Performance of FrontEnd: time 0.008647/0.6869, allocations: 2.493 MB / 1.111 GB, free: 7.062 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 7.655e-06/0.687, allocations: 4 kB / 1.111 GB, free: 7.059 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.0003034/0.6873, allocations: 342.3 kB / 1.111 GB, free: 6.68 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.301e-05/0.6873, allocations: 8.031 kB / 1.111 GB, free: 6.672 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.277e-05/0.6874, allocations: 3.906 kB / 1.111 GB, free: 6.668 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001239/0.6875, allocations: 167.1 kB / 1.111 GB, free: 6.465 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.406e-05/0.6875, allocations: 4 kB / 1.111 GB, free: 6.461 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.822e-05/0.6876, allocations: 0 / 1.111 GB, free: 6.461 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.912e-05/0.6876, allocations: 12 kB / 1.111 GB, free: 6.449 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.478e-05/0.6877, allocations: 33.69 kB / 1.111 GB, free: 6.41 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.236e-06/0.6877, allocations: 7.906 kB / 1.111 GB, free: 6.402 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.042e-05/0.6877, allocations: 0 / 1.111 GB, free: 6.402 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.859e-06/0.6878, allocations: 0 / 1.111 GB, free: 6.402 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001493/0.6879, allocations: 134.2 kB / 1.111 GB, free: 6.234 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000151/0.6881, allocations: 33.69 kB / 1.111 GB, free: 6.195 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.813e-05/0.6881, allocations: 12.86 kB / 1.111 GB, free: 6.18 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 2.191e-05/0.6881, allocations: 7.938 kB / 1.111 GB, free: 6.172 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.778e-05/0.6882, allocations: 34.56 kB / 1.111 GB, free: 6.129 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=4): time 1.123e-06/0.6882, allocations: 0 / 1.111 GB, free: 6.129 MB / 0.7136 GB Notification: Performance of matching and sorting (n=6): time 0.0005187/0.6887, allocations: 290.2 kB / 1.112 GB, free: 5.793 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.02e-05/0.6887, allocations: 51.41 kB / 1.112 GB, free: 5.73 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001111/0.6889, allocations: 89 kB / 1.112 GB, free: 5.637 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.531e-05/0.6889, allocations: 25.7 kB / 1.112 GB, free: 5.605 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 3.128e-05/0.6889, allocations: 80.14 kB / 1.112 GB, free: 5.523 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.718e-05/0.689, allocations: 27.7 kB / 1.112 GB, free: 5.496 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.267e-06/0.689, allocations: 0 / 1.112 GB, free: 5.496 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 9.085e-05/0.6891, allocations: 314.8 kB / 1.112 GB, free: 5.18 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.968e-05/0.6891, allocations: 8 kB / 1.112 GB, free: 5.172 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.947e-05/0.6891, allocations: 9.719 kB / 1.112 GB, free: 5.164 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.662e-05/0.6891, allocations: 12 kB / 1.112 GB, free: 5.152 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.31e-07/0.6892, allocations: 1.969 kB / 1.112 GB, free: 5.152 MB / 0.7136 GB Notification: Performance of matching and sorting (n=7) (initialization): time 9.057e-05/0.6892, allocations: 61.67 kB / 1.112 GB, free: 5.086 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.485e-05/0.6893, allocations: 11.91 kB / 1.112 GB, free: 5.074 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.769e-06/0.6893, allocations: 4 kB / 1.112 GB, free: 5.07 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.262e-05/0.6893, allocations: 0 / 1.112 GB, free: 5.07 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.658e-05/0.6894, allocations: 15.92 kB / 1.112 GB, free: 5.055 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.767e-06/0.6894, allocations: 0 / 1.112 GB, free: 5.055 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.043e-05/0.6894, allocations: 4 kB / 1.112 GB, free: 5.051 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.66e-06/0.6894, allocations: 0 / 1.112 GB, free: 5.051 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 6.236e-05/0.6895, allocations: 101 kB / 1.112 GB, free: 4.945 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.447e-05/0.6895, allocations: 7.906 kB / 1.112 GB, free: 4.938 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001447/0.6896, allocations: 67.89 kB / 1.113 GB, free: 4.859 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.643e-06/0.6897, allocations: 4 kB / 1.113 GB, free: 4.855 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.839e-06/0.6897, allocations: 0 / 1.113 GB, free: 4.855 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.326e-06/0.6897, allocations: 3.938 kB / 1.113 GB, free: 4.852 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002845/0.69, allocations: 284 kB / 1.113 GB, free: 4.527 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.182e-06/0.69, allocations: 0 / 1.113 GB, free: 4.527 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.348e-05/0.69, allocations: 8 kB / 1.113 GB, free: 4.52 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.737e-06/0.6901, allocations: 4.188 kB / 1.113 GB, free: 4.516 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.766e-06/0.6901, allocations: 4 kB / 1.113 GB, free: 4.512 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.998e-06/0.6901, allocations: 7.922 kB / 1.113 GB, free: 4.504 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.176e-06/0.6901, allocations: 4.031 kB / 1.113 GB, free: 4.5 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001656/0.6903, allocations: 187.3 kB / 1.113 GB, free: 4.293 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 4.569e-05/0.6903, allocations: 85.02 kB / 1.113 GB, free: 4.191 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.697e-05/0.6904, allocations: 5.859 kB / 1.113 GB, free: 4.188 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.219e-05/0.6904, allocations: 4 kB / 1.113 GB, free: 4.184 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.745e-05/0.6905, allocations: 4.062 kB / 1.113 GB, free: 4.18 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.103e-06/0.6905, allocations: 4 kB / 1.113 GB, free: 4.176 MB / 0.7136 GB Notification: Performance of sort global known variables: time 3.657e-05/0.6905, allocations: 79.34 kB / 1.113 GB, free: 4.098 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0002451/0.6908, allocations: 31.92 kB / 1.113 GB, free: 4.066 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.0002041/0.691, allocations: 127.1 kB / 1.113 GB, free: 3.934 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 8.823e-05/0.6911, allocations: 31.98 kB / 1.113 GB, free: 3.902 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.863e-06/0.6911, allocations: 0 / 1.113 GB, free: 3.902 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 2.216e-05/0.6911, allocations: 15.94 kB / 1.113 GB, free: 3.887 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001481/0.6913, allocations: 4.062 kB / 1.113 GB, free: 3.883 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00033/0.6916, allocations: 138.2 kB / 1.114 GB, free: 3.723 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002568/0.6919, allocations: 0.6919 MB / 1.114 GB, free: 3.004 MB / 0.7136 GB Notification: Performance of SimCode: time 2.6e-07/0.6919, allocations: 0 / 1.114 GB, free: 3.004 MB / 0.7136 GB Notification: Performance of Templates: time 0.002511/0.6944, allocations: 0.6598 MB / 1.115 GB, free: 2.367 MB / 0.7136 GB make -j1 -f Buildings_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.makefile (rm -f Buildings_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe ; mkfifo Buildings_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe >> ../files/Buildings_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.sim & ./Buildings_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe 2>&1)