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_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_m_flow_DerivativeCheck2,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2") translateModel(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_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.463/1.463, allocations: 285.5 MB / 292.8 MB, free: 0.6953 MB / 226.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001066/0.001066, allocations: 182.4 kB / 361.1 MB, free: 15.25 MB / 290.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.333/1.333, allocations: 205.2 MB / 0.6195 GB, free: 5.793 MB / 466.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009037/0.0009033, allocations: 83.66 kB / 0.7325 GB, free: 47.5 MB / 0.5183 GB Notification: Performance of FrontEnd - loaded program: time 8.325e-06/8.355e-06, allocations: 0 / 0.8511 GB, free: 12.71 MB / 0.5964 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5887/0.5888, allocations: 115.3 MB / 0.9637 GB, free: 85.55 MB / 0.6746 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1614/0.7503, allocations: 138.7 MB / 1.099 GB, free: 10.65 MB / 0.7058 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002249/0.7505, allocations: 75.95 kB / 1.099 GB, free: 10.58 MB / 0.7058 GB Notification: Performance of FrontEnd: time 0.01306/0.7636, allocations: 3.912 MB / 1.103 GB, free: 6.719 MB / 0.7058 GB Notification: Performance of Transformations before backend: time 6.532e-06/0.7636, allocations: 0.5938 kB / 1.103 GB, free: 6.719 MB / 0.7058 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0004261/0.7641, allocations: 376 kB / 1.103 GB, free: 6.309 MB / 0.7058 GB Notification: Performance of prepare preOptimizeDAE: time 3.461e-05/0.7641, allocations: 12.03 kB / 1.103 GB, free: 6.297 MB / 0.7058 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.406e-05/0.7642, allocations: 4 kB / 1.103 GB, free: 6.293 MB / 0.7058 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001175/0.7643, allocations: 167 kB / 1.104 GB, free: 6.09 MB / 0.7058 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.197e-05/0.7643, allocations: 0 / 1.104 GB, free: 6.09 MB / 0.7058 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.867e-05/0.7643, allocations: 8 kB / 1.104 GB, free: 6.082 MB / 0.7058 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.7e-05/0.7644, allocations: 31.98 kB / 1.104 GB, free: 6.051 MB / 0.7058 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001027/0.7645, allocations: 63.48 kB / 1.104 GB, free: 5.988 MB / 0.7058 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.519e-05/0.7646, allocations: 7.906 kB / 1.104 GB, free: 5.98 MB / 0.7058 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.176e-05/0.7646, allocations: 3.938 kB / 1.104 GB, free: 5.977 MB / 0.7058 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.228e-06/0.7646, allocations: 0 / 1.104 GB, free: 5.977 MB / 0.7058 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004712/0.7651, allocations: 301.2 kB / 1.104 GB, free: 5.645 MB / 0.7058 GB Notification: Performance of preOpt comSubExp (simulation): time 7.16e-05/0.7652, allocations: 37.7 kB / 1.104 GB, free: 5.602 MB / 0.7058 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.421e-05/0.7652, allocations: 20.86 kB / 1.104 GB, free: 5.578 MB / 0.7058 GB Notification: Performance of preOpt evalFunc (simulation): time 2.684e-05/0.7652, allocations: 7.906 kB / 1.104 GB, free: 5.57 MB / 0.7058 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.95e-05/0.7653, allocations: 34.5 kB / 1.104 GB, free: 5.527 MB / 0.7058 GB Notification: Performance of pre-optimization done (n=7): time 1.192e-06/0.7653, allocations: 0 / 1.104 GB, free: 5.527 MB / 0.7058 GB Notification: Performance of matching and sorting (n=11): time 0.0008332/0.7661, allocations: 0.5224 MB / 1.105 GB, free: 4.914 MB / 0.7058 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.506e-05/0.7661, allocations: 55.41 kB / 1.105 GB, free: 4.848 MB / 0.7058 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.327e-05/0.7662, allocations: 89 kB / 1.105 GB, free: 4.754 MB / 0.7058 GB Notification: Performance of collectPreVariables (initialization): time 1.576e-05/0.7662, allocations: 25.7 kB / 1.105 GB, free: 4.723 MB / 0.7058 GB Notification: Performance of collectInitialEqns (initialization): time 4.296e-05/0.7663, allocations: 92.03 kB / 1.105 GB, free: 4.629 MB / 0.7058 GB Notification: Performance of collectInitialBindings (initialization): time 3.135e-05/0.7663, allocations: 31.47 kB / 1.105 GB, free: 4.598 MB / 0.7058 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.923e-06/0.7663, allocations: 0 / 1.105 GB, free: 4.598 MB / 0.7058 GB Notification: Performance of setup shared object (initialization): time 9.512e-05/0.7664, allocations: 326.8 kB / 1.105 GB, free: 4.27 MB / 0.7058 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.67e-05/0.7665, allocations: 16 kB / 1.105 GB, free: 4.254 MB / 0.7058 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.564e-05/0.7665, allocations: 24 kB / 1.105 GB, free: 4.23 MB / 0.7058 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.189e-05/0.7666, allocations: 23.92 kB / 1.105 GB, free: 4.207 MB / 0.7058 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.72e-07/0.7666, allocations: 0 / 1.105 GB, free: 4.207 MB / 0.7058 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.000146/0.7667, allocations: 97.7 kB / 1.105 GB, free: 4.105 MB / 0.7058 GB Notification: Performance of prepare postOptimizeDAE: time 1.046e-05/0.7667, allocations: 4 kB / 1.105 GB, free: 4.102 MB / 0.7058 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.879e-06/0.7667, allocations: 4 kB / 1.105 GB, free: 4.098 MB / 0.7058 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.077e-05/0.7668, allocations: 1.969 kB / 1.105 GB, free: 4.098 MB / 0.7058 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001617/0.7669, allocations: 23.98 kB / 1.105 GB, free: 4.074 MB / 0.7058 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.197e-06/0.7669, allocations: 8 kB / 1.105 GB, free: 4.066 MB / 0.7058 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.016e-05/0.767, allocations: 4 kB / 1.105 GB, free: 4.062 MB / 0.7058 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.194e-05/0.767, allocations: 7.984 kB / 1.105 GB, free: 4.055 MB / 0.7058 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 0.0001384/0.7672, allocations: 112.6 kB / 1.105 GB, free: 3.938 MB / 0.7058 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.259e-05/0.7672, allocations: 8.094 kB / 1.106 GB, free: 3.93 MB / 0.7058 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001865/0.7674, allocations: 99.67 kB / 1.106 GB, free: 3.828 MB / 0.7058 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.954e-06/0.7674, allocations: 8 kB / 1.106 GB, free: 3.82 MB / 0.7058 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.907e-06/0.7674, allocations: 0 / 1.106 GB, free: 3.82 MB / 0.7058 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.216e-06/0.7674, allocations: 0 / 1.106 GB, free: 3.82 MB / 0.7058 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003318/0.7678, allocations: 334.9 kB / 1.106 GB, free: 3.449 MB / 0.7058 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.342e-06/0.7678, allocations: 0.9375 kB / 1.106 GB, free: 3.449 MB / 0.7058 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001672/0.768, allocations: 34.41 kB / 1.106 GB, free: 3.418 MB / 0.7058 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.264e-06/0.768, allocations: 4 kB / 1.106 GB, free: 3.414 MB / 0.7058 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.099e-05/0.768, allocations: 0 / 1.106 GB, free: 3.414 MB / 0.7058 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.352e-06/0.768, allocations: 4 kB / 1.106 GB, free: 3.41 MB / 0.7058 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.663e-06/0.768, allocations: 0 / 1.106 GB, free: 3.41 MB / 0.7058 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002255/0.7683, allocations: 218 kB / 1.106 GB, free: 3.184 MB / 0.7058 GB Notification: Performance of postOpt removeConstants (simulation): time 3.1e-05/0.7683, allocations: 81.02 kB / 1.106 GB, free: 3.086 MB / 0.7058 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.745e-05/0.7683, allocations: 4 kB / 1.106 GB, free: 3.082 MB / 0.7058 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001322/0.7685, allocations: 8.047 kB / 1.106 GB, free: 3.074 MB / 0.7058 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.235e-05/0.7685, allocations: 17.67 kB / 1.106 GB, free: 3.059 MB / 0.7058 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.348e-06/0.7685, allocations: 4 kB / 1.106 GB, free: 3.055 MB / 0.7058 GB Notification: Performance of sort global known variables: time 3.537e-05/0.7685, allocations: 75.28 kB / 1.106 GB, free: 2.98 MB / 0.7058 GB Notification: Performance of remove unused functions: time 0.000263/0.7688, allocations: 39.94 kB / 1.106 GB, free: 2.941 MB / 0.7058 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (dp_comp,der_dp_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.0002075/0.769, allocations: 139.2 kB / 1.107 GB, free: 2.797 MB / 0.7058 GB Notification: Performance of simCode: created initialization part: time 0.0001393/0.7692, allocations: 59.92 kB / 1.107 GB, free: 2.738 MB / 0.7058 GB Notification: Performance of simCode: created event and clocks part: time 3.136e-06/0.7692, allocations: 112 / 1.107 GB, free: 2.738 MB / 0.7058 GB Notification: Performance of simCode: created simulation system equations: time 4.653e-05/0.7692, allocations: 39.94 kB / 1.107 GB, free: 2.699 MB / 0.7058 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001786/0.7694, allocations: 14.34 kB / 1.107 GB, free: 2.688 MB / 0.7058 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004371/0.7699, allocations: 215.6 kB / 1.107 GB, free: 2.457 MB / 0.7058 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002716/0.7702, allocations: 0.7197 MB / 1.108 GB, free: 1.711 MB / 0.7058 GB Notification: Performance of SimCode: time 2.41e-07/0.7702, allocations: 0 / 1.108 GB, free: 1.711 MB / 0.7058 GB Notification: Performance of Templates: time 0.003247/0.7734, allocations: 1.243 MB / 1.109 GB, free: 0.5273 MB / 0.7058 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.makefile (rm -f Buildings_maint.8.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.sim & ./Buildings_maint.8.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe 2>&1)