Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.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.InvertingBasicFlowFunction_dp,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp") translateModel(Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp") [: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.54/1.54, allocations: 285.5 MB / 292.8 MB, free: 10.47 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.001077/0.001077, allocations: 175.6 kB / 361.1 MB, free: 7.121 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.354/1.354, allocations: 205.1 MB / 0.6195 GB, free: 10.32 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.0009721/0.0009721, allocations: 89.5 kB / 0.7326 GB, free: 44.28 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 8.566e-06/8.696e-06, allocations: 0 / 0.8511 GB, free: 2.988 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6017/0.6017, allocations: 115.3 MB / 0.9637 GB, free: 78.36 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1672/0.769, allocations: 137.7 MB / 1.098 GB, free: 2.402 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002757/0.7693, allocations: 81.34 kB / 1.098 GB, free: 2.324 MB / 0.698 GB Notification: Performance of FrontEnd: time 0.0104/0.7797, allocations: 3.089 MB / 1.101 GB, free: 15.31 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 5.711e-06/0.7798, allocations: 0 / 1.101 GB, free: 15.31 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0002937/0.7801, allocations: 339.8 kB / 1.102 GB, free: 14.93 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.407e-05/0.7802, allocations: 8.531 kB / 1.102 GB, free: 14.93 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.025e-05/0.7802, allocations: 0 / 1.102 GB, free: 14.93 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001273/0.7803, allocations: 171.5 kB / 1.102 GB, free: 14.72 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.35e-05/0.7803, allocations: 0.5938 kB / 1.102 GB, free: 14.72 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.242e-05/0.7804, allocations: 5.656 kB / 1.102 GB, free: 14.71 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 4.773e-05/0.7804, allocations: 0 / 1.102 GB, free: 14.71 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.823e-05/0.7805, allocations: 29.7 kB / 1.102 GB, free: 14.68 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.177e-06/0.7805, allocations: 0 / 1.102 GB, free: 14.68 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.027e-06/0.7805, allocations: 0.5312 kB / 1.102 GB, free: 14.68 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.228e-06/0.7805, allocations: 0.5938 kB / 1.102 GB, free: 14.68 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001539/0.7807, allocations: 135 kB / 1.102 GB, free: 14.51 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 5.03e-05/0.7808, allocations: 27.11 kB / 1.102 GB, free: 14.48 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.014e-05/0.7808, allocations: 9.422 kB / 1.102 GB, free: 14.46 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 2.448e-05/0.7808, allocations: 0.6875 kB / 1.102 GB, free: 14.46 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.29e-05/0.7809, allocations: 33 kB / 1.102 GB, free: 14.43 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=2): time 1.402e-06/0.7809, allocations: 1.688 kB / 1.102 GB, free: 14.43 MB / 0.7136 GB Notification: Performance of matching and sorting (n=2): time 0.0001429/0.781, allocations: 41.69 kB / 1.102 GB, free: 14.38 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.237e-05/0.7811, allocations: 52.91 kB / 1.102 GB, free: 14.32 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.916e-05/0.7811, allocations: 93.97 kB / 1.102 GB, free: 14.22 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 2.034e-05/0.7811, allocations: 25.7 kB / 1.102 GB, free: 14.19 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 7.926e-05/0.7812, allocations: 81.73 kB / 1.102 GB, free: 14.11 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.364e-05/0.7813, allocations: 3.906 kB / 1.102 GB, free: 14.1 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.635e-06/0.7813, allocations: 0 / 1.102 GB, free: 14.1 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001091/0.7814, allocations: 315.4 kB / 1.103 GB, free: 13.79 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.453e-05/0.7814, allocations: 4.625 kB / 1.103 GB, free: 13.78 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.825e-06/0.7814, allocations: 5.188 kB / 1.103 GB, free: 13.78 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.547e-05/0.7814, allocations: 4 kB / 1.103 GB, free: 13.77 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.7814, allocations: 0 / 1.103 GB, free: 13.77 MB / 0.7136 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.55e-05/0.7815, allocations: 42.38 kB / 1.103 GB, free: 13.73 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.267e-05/0.7815, allocations: 4 kB / 1.103 GB, free: 13.72 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.24e-06/0.7816, allocations: 0.75 kB / 1.103 GB, free: 13.72 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.258e-05/0.7816, allocations: 0 / 1.103 GB, free: 13.72 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001655/0.7817, allocations: 12.67 kB / 1.103 GB, free: 13.71 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003832/0.7821, allocations: 0.5892 MB / 1.103 GB, free: 13.1 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.243e-05/0.7822, allocations: 0.5312 kB / 1.103 GB, free: 13.1 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.57e-06/0.7822, allocations: 3.938 kB / 1.103 GB, free: 13.1 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 (2): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 8.225e-05/0.7823, allocations: 116.3 kB / 1.103 GB, free: 12.98 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.728e-06/0.7823, allocations: 3.906 kB / 1.103 GB, free: 12.98 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001052/0.7824, allocations: 43.34 kB / 1.103 GB, free: 12.93 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.156e-06/0.7824, allocations: 3.984 kB / 1.103 GB, free: 12.93 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.529e-06/0.7824, allocations: 0 / 1.103 GB, free: 12.93 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.956e-06/0.7824, allocations: 0 / 1.103 GB, free: 12.93 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.742e-05/0.7825, allocations: 134.2 kB / 1.103 GB, free: 12.76 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.503e-06/0.7825, allocations: 0 / 1.103 GB, free: 12.76 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.847e-05/0.7826, allocations: 12.03 kB / 1.103 GB, free: 12.75 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.877e-06/0.7826, allocations: 1.125 kB / 1.103 GB, free: 12.75 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.709e-06/0.7826, allocations: 7.891 kB / 1.104 GB, free: 12.74 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003312/0.783, allocations: 0.586 MB / 1.104 GB, free: 12.13 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.793e-06/0.783, allocations: 1.688 kB / 1.104 GB, free: 12.13 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 7.2e-05/0.7831, allocations: 69.16 kB / 1.104 GB, free: 12.04 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 4.349e-05/0.7831, allocations: 77.11 kB / 1.104 GB, free: 11.95 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.225e-05/0.7831, allocations: 4 kB / 1.104 GB, free: 11.95 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.528e-05/0.7832, allocations: 0 / 1.104 GB, free: 11.95 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.384e-05/0.7832, allocations: 5.094 kB / 1.104 GB, free: 11.94 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.554e-06/0.7832, allocations: 3.938 kB / 1.104 GB, free: 11.94 MB / 0.7136 GB Notification: Performance of sort global known variables: time 3.046e-05/0.7832, allocations: 79.28 kB / 1.104 GB, free: 11.86 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0001996/0.7834, allocations: 15.94 kB / 1.104 GB, free: 11.84 MB / 0.7136 GB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (2): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001999/0.7836, allocations: 123.1 kB / 1.104 GB, free: 11.71 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001784/0.7838, allocations: 19.92 kB / 1.104 GB, free: 11.7 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 5.52e-06/0.7838, allocations: 8 kB / 1.104 GB, free: 11.69 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 9.962e-05/0.784, allocations: 11.98 kB / 1.104 GB, free: 11.68 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001103/0.7841, allocations: 0 / 1.104 GB, free: 11.68 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001753/0.7843, allocations: 56.86 kB / 1.105 GB, free: 11.6 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002733/0.7845, allocations: 0.6848 MB / 1.105 GB, free: 10.89 MB / 0.7136 GB Notification: Performance of SimCode: time 4.41e-07/0.7845, allocations: 0 / 1.105 GB, free: 10.89 MB / 0.7136 GB Notification: Performance of Templates: time 0.002265/0.7868, allocations: 427.9 kB / 1.106 GB, free: 10.49 MB / 0.7136 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.makefile (rm -f Buildings_maint.8.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.sim & ./Buildings_maint.8.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe 2>&1)