Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_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_m_flow_DerivativeCheck2,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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_8_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.1.4-maint.8.1.x/package.mo): time 1.487/1.487, allocations: 289.8 MB / 297.1 MB, free: 6.691 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.001075/0.001075, allocations: 173.3 kB / 366.3 MB, free: 1.996 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.409/1.409, 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.0009967/0.0009967, allocations: 88.88 kB / 0.7395 GB, free: 39.7 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 8.637e-06/8.657e-06, allocations: 4 kB / 0.859 GB, free: 13.38 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.545/0.545, allocations: 116.3 MB / 0.9726 GB, free: 68.09 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1454/0.6904, allocations: 139.7 MB / 1.109 GB, free: 8.797 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002052/0.6907, allocations: 80.86 kB / 1.109 GB, free: 8.719 MB / 0.7136 GB Notification: Performance of FrontEnd: time 0.01223/0.7029, allocations: 3.907 MB / 1.113 GB, free: 4.828 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 5.971e-06/0.703, allocations: 4 kB / 1.113 GB, free: 4.824 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0004135/0.7034, allocations: 378.9 kB / 1.113 GB, free: 4.41 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.141e-05/0.7034, allocations: 8.031 kB / 1.113 GB, free: 4.402 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.684e-05/0.7035, allocations: 4 kB / 1.113 GB, free: 4.398 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001447/0.7036, allocations: 170.9 kB / 1.113 GB, free: 4.191 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.655e-05/0.7037, allocations: 8 kB / 1.113 GB, free: 4.184 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.098e-05/0.7037, allocations: 4 kB / 1.113 GB, free: 4.18 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.527e-05/0.7038, allocations: 31.98 kB / 1.113 GB, free: 4.148 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001057/0.7039, allocations: 61.3 kB / 1.114 GB, free: 4.086 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.188e-05/0.7039, allocations: 3.906 kB / 1.114 GB, free: 4.082 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.241e-05/0.7039, allocations: 0 / 1.114 GB, free: 4.082 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.562e-06/0.704, allocations: 4 kB / 1.114 GB, free: 4.078 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004986/0.7045, allocations: 293.2 kB / 1.114 GB, free: 3.754 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 7.251e-05/0.7045, allocations: 41.7 kB / 1.114 GB, free: 3.707 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.386e-05/0.7046, allocations: 16.86 kB / 1.114 GB, free: 3.688 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 2.622e-05/0.7046, allocations: 3.906 kB / 1.114 GB, free: 3.684 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.912e-05/0.7047, allocations: 46.5 kB / 1.114 GB, free: 3.629 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=7): time 1.412e-06/0.7047, allocations: 0 / 1.114 GB, free: 3.629 MB / 0.7136 GB Notification: Performance of matching and sorting (n=11): time 0.0008553/0.7055, allocations: 0.5192 MB / 1.114 GB, free: 3.02 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.901e-05/0.7056, allocations: 52.44 kB / 1.114 GB, free: 2.957 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.345e-05/0.7056, allocations: 93 kB / 1.115 GB, free: 2.859 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.729e-05/0.7057, allocations: 29.7 kB / 1.115 GB, free: 2.824 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 8.056e-05/0.7057, allocations: 92.03 kB / 1.115 GB, free: 2.73 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 3.371e-05/0.7058, allocations: 35.47 kB / 1.115 GB, free: 2.695 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.635e-06/0.7058, allocations: 0 / 1.115 GB, free: 2.695 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001006/0.7059, allocations: 318.8 kB / 1.115 GB, free: 2.375 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.961e-05/0.7059, allocations: 24 kB / 1.115 GB, free: 2.352 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.508e-05/0.706, allocations: 20 kB / 1.115 GB, free: 2.332 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.146e-05/0.706, allocations: 19.98 kB / 1.115 GB, free: 2.312 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.31e-07/0.706, allocations: 0 / 1.115 GB, free: 2.312 MB / 0.7136 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001402/0.7062, allocations: 98.5 kB / 1.115 GB, free: 2.211 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.508e-05/0.7062, allocations: 7.984 kB / 1.115 GB, free: 2.203 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.448e-06/0.7062, allocations: 0 / 1.115 GB, free: 2.203 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.192e-05/0.7062, allocations: 0 / 1.115 GB, free: 2.203 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001732/0.7064, allocations: 31.98 kB / 1.115 GB, free: 2.172 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.949e-06/0.7064, allocations: 0 / 1.115 GB, free: 2.172 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.277e-05/0.7065, allocations: 12 kB / 1.115 GB, free: 2.16 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.087e-05/0.7065, allocations: 3.984 kB / 1.115 GB, free: 2.156 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 8.105e-05/0.7066, allocations: 112.8 kB / 1.115 GB, free: 2.039 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.897e-05/0.7067, allocations: 4.656 kB / 1.115 GB, free: 2.035 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002007/0.7069, allocations: 103.8 kB / 1.115 GB, free: 1.926 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.934e-06/0.7069, allocations: 0 / 1.115 GB, free: 1.926 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.028e-06/0.7069, allocations: 0 / 1.115 GB, free: 1.926 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.557e-06/0.7069, allocations: 4 kB / 1.115 GB, free: 1.922 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003511/0.7072, allocations: 334.9 kB / 1.116 GB, free: 1.551 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.72e-07/0.7073, allocations: 0 / 1.116 GB, free: 1.551 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001694/0.7074, allocations: 35.97 kB / 1.116 GB, free: 1.516 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.254e-06/0.7074, allocations: 0 / 1.116 GB, free: 1.516 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.216e-05/0.7075, allocations: 4 kB / 1.116 GB, free: 1.512 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.152e-06/0.7075, allocations: 4 kB / 1.116 GB, free: 1.508 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.014e-06/0.7075, allocations: 0 / 1.116 GB, free: 1.508 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.000246/0.7077, allocations: 219.3 kB / 1.116 GB, free: 1.277 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 3.67e-05/0.7078, allocations: 81.02 kB / 1.116 GB, free: 1.18 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.934e-05/0.7078, allocations: 0 / 1.116 GB, free: 1.18 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001315/0.7079, allocations: 11.98 kB / 1.116 GB, free: 1.168 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.162e-05/0.708, allocations: 4.922 kB / 1.116 GB, free: 1.164 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.929e-06/0.708, allocations: 8 kB / 1.116 GB, free: 1.156 MB / 0.7136 GB Notification: Performance of sort global known variables: time 4.269e-05/0.708, allocations: 83.34 kB / 1.116 GB, free: 1.074 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0002772/0.7083, allocations: 39.94 kB / 1.116 GB, free: 1.035 MB / 0.7136 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.0002255/0.7085, allocations: 135.2 kB / 1.116 GB, free: 0.8945 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001352/0.7087, allocations: 63.92 kB / 1.116 GB, free: 0.832 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 3.656e-06/0.7087, allocations: 112 / 1.116 GB, free: 0.832 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 4.587e-05/0.7087, allocations: 31.94 kB / 1.116 GB, free: 0.8008 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001764/0.7089, allocations: 11.17 kB / 1.116 GB, free: 0.793 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004588/0.7094, allocations: 225.5 kB / 1.117 GB, free: 0.5469 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000315/0.7097, allocations: 0.7114 MB / 1.117 GB, free: 15.81 MB / 0.7292 GB Notification: Performance of SimCode: time 1.91e-07/0.7097, allocations: 0 / 1.117 GB, free: 15.81 MB / 0.7292 GB Notification: Performance of Templates: time 0.003311/0.713, allocations: 1.239 MB / 1.119 GB, free: 14.6 MB / 0.7292 GB make -j1 -f Buildings_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.makefile (rm -f Buildings_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe ; mkfifo Buildings_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe >> ../files/Buildings_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.sim & ./Buildings_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe 2>&1)