Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.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.InverseFlowFunctions,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions") translateModel(Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions") [: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.473/1.473, allocations: 285.5 MB / 292.8 MB, free: 10.49 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.001586/0.001586, allocations: 173.3 kB / 361.1 MB, free: 7.117 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.336/1.336, allocations: 205.1 MB / 0.6195 GB, free: 10.33 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.0008733/0.0008733, allocations: 87.09 kB / 0.7325 GB, free: 44.3 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 7.975e-06/8.005e-06, allocations: 0 / 0.8511 GB, free: 3.027 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5899/0.5899, allocations: 115.3 MB / 0.9637 GB, free: 78.25 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1626/0.7525, allocations: 138.9 MB / 1.099 GB, free: 1.176 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003368/0.7529, allocations: 76.56 kB / 1.099 GB, free: 1.102 MB / 0.698 GB Notification: Performance of FrontEnd: time 0.01714/0.7701, allocations: 4.952 MB / 1.104 GB, free: 12.24 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 6.983e-06/0.7701, allocations: 0 / 1.104 GB, free: 12.24 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004212/0.7706, allocations: 364.2 kB / 1.105 GB, free: 11.84 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.765e-05/0.7706, allocations: 8.531 kB / 1.105 GB, free: 11.84 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.317e-05/0.7707, allocations: 3.906 kB / 1.105 GB, free: 11.83 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001376/0.7708, allocations: 163.1 kB / 1.105 GB, free: 11.63 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.469e-05/0.7708, allocations: 0 / 1.105 GB, free: 11.63 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.269e-05/0.7708, allocations: 4 kB / 1.105 GB, free: 11.63 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.434e-05/0.7709, allocations: 15.98 kB / 1.105 GB, free: 11.61 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.61e-05/0.771, allocations: 37.7 kB / 1.105 GB, free: 11.57 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.085e-06/0.771, allocations: 0 / 1.105 GB, free: 11.57 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.757e-06/0.7711, allocations: 0 / 1.105 GB, free: 11.57 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.414e-06/0.7711, allocations: 7.891 kB / 1.105 GB, free: 11.56 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003194/0.7714, allocations: 233.5 kB / 1.105 GB, free: 11.3 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002056/0.7716, allocations: 46.62 kB / 1.105 GB, free: 11.24 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.377e-05/0.7717, allocations: 12.86 kB / 1.105 GB, free: 11.23 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 2.527e-05/0.7717, allocations: 7.938 kB / 1.105 GB, free: 11.22 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.961e-05/0.7717, allocations: 34.47 kB / 1.105 GB, free: 11.18 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=4): time 1.062e-06/0.7717, allocations: 0 / 1.105 GB, free: 11.18 MB / 0.7136 GB Notification: Performance of matching and sorting (n=4): time 0.0001484/0.7719, allocations: 45.78 kB / 1.105 GB, free: 11.12 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.112e-05/0.7719, allocations: 55.34 kB / 1.105 GB, free: 11.06 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.719e-05/0.772, allocations: 100.9 kB / 1.105 GB, free: 10.95 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.321e-05/0.772, allocations: 31.47 kB / 1.105 GB, free: 10.92 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 3.956e-05/0.7721, allocations: 84.05 kB / 1.105 GB, free: 10.83 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 9.778e-06/0.7721, allocations: 7.906 kB / 1.105 GB, free: 10.82 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.256e-06/0.7721, allocations: 0 / 1.105 GB, free: 10.82 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001052/0.7722, allocations: 318.8 kB / 1.106 GB, free: 10.5 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.614e-05/0.7722, allocations: 4 kB / 1.106 GB, free: 10.5 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.027e-05/0.7723, allocations: 27.72 kB / 1.106 GB, free: 10.47 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.321e-05/0.7723, allocations: 7.984 kB / 1.106 GB, free: 10.46 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.362e-06/0.7723, allocations: 0 / 1.106 GB, free: 10.46 MB / 0.7136 GB Notification: Performance of matching and sorting (n=5) (initialization): time 8.35e-05/0.7724, allocations: 53.62 kB / 1.106 GB, free: 10.4 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.407e-05/0.7724, allocations: 4 kB / 1.106 GB, free: 10.4 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.53e-06/0.7724, allocations: 0 / 1.106 GB, free: 10.4 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.636e-05/0.7724, allocations: 4 kB / 1.106 GB, free: 10.39 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.117e-05/0.7725, allocations: 4 kB / 1.106 GB, free: 10.39 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.011e-06/0.7725, allocations: 4 kB / 1.106 GB, free: 10.39 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.826e-05/0.7725, allocations: 7.938 kB / 1.106 GB, free: 10.38 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.54e-06/0.7725, allocations: 0 / 1.106 GB, free: 10.38 MB / 0.7136 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 5 * 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.0001213/0.7727, allocations: 109 kB / 1.106 GB, free: 10.27 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.606e-05/0.7727, allocations: 4 kB / 1.106 GB, free: 10.26 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001429/0.7729, allocations: 63.66 kB / 1.106 GB, free: 10.19 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.693e-06/0.7729, allocations: 0 / 1.106 GB, free: 10.19 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.098e-06/0.7729, allocations: 0 / 1.106 GB, free: 10.19 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.317e-06/0.7729, allocations: 0 / 1.106 GB, free: 10.19 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001372/0.773, allocations: 138.2 kB / 1.106 GB, free: 10.02 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.32e-07/0.773, allocations: 0 / 1.106 GB, free: 10.02 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.972e-05/0.7731, allocations: 8 kB / 1.106 GB, free: 10.01 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.694e-06/0.7731, allocations: 0 / 1.106 GB, free: 10.01 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.098e-05/0.7731, allocations: 5.531 kB / 1.106 GB, free: 10.01 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.382e-06/0.7731, allocations: 0 / 1.106 GB, free: 10.01 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.947e-06/0.7731, allocations: 3.984 kB / 1.106 GB, free: 10 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001215/0.7733, allocations: 147.8 kB / 1.106 GB, free: 9.844 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 4.667e-05/0.7733, allocations: 88.95 kB / 1.106 GB, free: 9.738 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.348e-05/0.7733, allocations: 0 / 1.106 GB, free: 9.738 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.254e-05/0.7734, allocations: 4 kB / 1.106 GB, free: 9.734 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.741e-05/0.7734, allocations: 0 / 1.106 GB, free: 9.734 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.981e-06/0.7734, allocations: 9.25 kB / 1.106 GB, free: 9.727 MB / 0.7136 GB Notification: Performance of sort global known variables: time 3.438e-05/0.7735, allocations: 79.28 kB / 1.106 GB, free: 9.648 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0002797/0.7738, allocations: 23.98 kB / 1.106 GB, free: 9.625 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 (4): * Single equations (assignments): 4 * 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.0002331/0.774, allocations: 123 kB / 1.107 GB, free: 9.496 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 8.784e-05/0.7741, allocations: 20 kB / 1.107 GB, free: 9.477 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.754e-06/0.7741, allocations: 0 / 1.107 GB, free: 9.477 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 1.891e-05/0.7741, allocations: 15.94 kB / 1.107 GB, free: 9.461 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001514/0.7743, allocations: 12.64 kB / 1.107 GB, free: 9.449 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002172/0.7745, allocations: 56.75 kB / 1.107 GB, free: 9.371 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003301/0.7748, allocations: 0.6915 MB / 1.107 GB, free: 8.656 MB / 0.7136 GB Notification: Performance of SimCode: time 2.91e-07/0.7749, allocations: 0 / 1.107 GB, free: 8.656 MB / 0.7136 GB Notification: Performance of Templates: time 0.00243/0.7773, allocations: 0.5537 MB / 1.108 GB, free: 8.137 MB / 0.7136 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.makefile (rm -f Buildings_maint.8.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.sim & ./Buildings_maint.8.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe 2>&1)