Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.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.InverseFlowFunctions,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions") translateModel(Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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.1.4-maint.8.1.x/package.mo): time 1.473/1.473, allocations: 289.8 MB / 297.1 MB, free: 6.594 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.001088/0.001088, allocations: 181.3 kB / 366.3 MB, free: 1.93 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.398/1.398, allocations: 205.1 MB / 0.6256 GB, free: 7.422 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.0009724/0.0009724, allocations: 93.7 kB / 0.7396 GB, free: 39.84 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 8.736e-06/8.756e-06, allocations: 4 kB / 0.859 GB, free: 13.56 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5722/0.5722, allocations: 116.3 MB / 0.9726 GB, free: 76.12 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1644/0.7367, allocations: 139.8 MB / 1.109 GB, free: 10.63 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002624/0.737, allocations: 79.89 kB / 1.109 GB, free: 10.55 MB / 0.7136 GB Notification: Performance of FrontEnd: time 0.01632/0.7533, allocations: 4.95 MB / 1.114 GB, free: 5.656 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 7.975e-06/0.7534, allocations: 0 / 1.114 GB, free: 5.656 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.0004126/0.7538, allocations: 358.4 kB / 1.114 GB, free: 5.262 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.358e-05/0.7539, allocations: 8.031 kB / 1.114 GB, free: 5.254 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.589e-05/0.7539, allocations: 7.844 kB / 1.114 GB, free: 5.246 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001357/0.7541, allocations: 163.1 kB / 1.115 GB, free: 5.047 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.256e-05/0.7541, allocations: 4 kB / 1.115 GB, free: 5.043 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.006e-05/0.7541, allocations: 0 / 1.115 GB, free: 5.043 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.539e-05/0.7542, allocations: 11.98 kB / 1.115 GB, free: 5.031 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.559e-05/0.7543, allocations: 37.7 kB / 1.115 GB, free: 4.988 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.532e-06/0.7543, allocations: 4 kB / 1.115 GB, free: 4.984 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.466e-06/0.7543, allocations: 0 / 1.115 GB, free: 4.984 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.442e-06/0.7543, allocations: 3.906 kB / 1.115 GB, free: 4.98 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003092/0.7546, allocations: 225.6 kB / 1.115 GB, free: 4.723 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000187/0.7548, allocations: 42.5 kB / 1.115 GB, free: 4.672 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.391e-05/0.7549, allocations: 16.92 kB / 1.115 GB, free: 4.652 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 2.617e-05/0.7549, allocations: 8 kB / 1.115 GB, free: 4.645 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.953e-05/0.7549, allocations: 38.55 kB / 1.115 GB, free: 4.598 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=4): time 2.915e-06/0.7549, allocations: 0 / 1.115 GB, free: 4.598 MB / 0.7136 GB Notification: Performance of matching and sorting (n=4): time 0.0001414/0.7551, allocations: 47.05 kB / 1.115 GB, free: 4.547 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.759e-05/0.7551, allocations: 51.41 kB / 1.115 GB, free: 4.484 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.832e-05/0.7552, allocations: 100.9 kB / 1.115 GB, free: 4.379 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.348e-05/0.7552, allocations: 25.7 kB / 1.115 GB, free: 4.348 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 3.912e-05/0.7552, allocations: 87.98 kB / 1.115 GB, free: 4.258 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 1.008e-05/0.7553, allocations: 11.91 kB / 1.115 GB, free: 4.246 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.276e-06/0.7553, allocations: 0 / 1.115 GB, free: 4.246 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001065/0.7554, allocations: 318.8 kB / 1.116 GB, free: 3.926 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.48e-05/0.7554, allocations: 4 kB / 1.116 GB, free: 3.922 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.11e-05/0.7554, allocations: 22.64 kB / 1.116 GB, free: 3.895 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.424e-05/0.7555, allocations: 8 kB / 1.116 GB, free: 3.887 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/0.7555, allocations: 0 / 1.116 GB, free: 3.887 MB / 0.7136 GB Notification: Performance of matching and sorting (n=5) (initialization): time 9.274e-05/0.7556, allocations: 53.69 kB / 1.116 GB, free: 3.828 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.456e-05/0.7556, allocations: 7.938 kB / 1.116 GB, free: 3.82 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.93e-06/0.7556, allocations: 0 / 1.116 GB, free: 3.82 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.341e-05/0.7556, allocations: 1.125 kB / 1.116 GB, free: 3.82 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.307e-05/0.7557, allocations: 8 kB / 1.116 GB, free: 3.812 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.19e-06/0.7557, allocations: 0 / 1.116 GB, free: 3.812 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.984e-05/0.7557, allocations: 11.89 kB / 1.116 GB, free: 3.801 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.967e-06/0.7557, allocations: 5.938 kB / 1.116 GB, free: 3.797 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 7.846e-05/0.7558, allocations: 101 kB / 1.116 GB, free: 3.691 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.725e-05/0.7559, allocations: 8.031 kB / 1.116 GB, free: 3.684 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001487/0.756, allocations: 60.31 kB / 1.116 GB, free: 3.613 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.365e-06/0.756, allocations: 7.938 kB / 1.116 GB, free: 3.605 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.827e-06/0.756, allocations: 0 / 1.116 GB, free: 3.605 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.116e-06/0.756, allocations: 0 / 1.116 GB, free: 3.605 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001397/0.7562, allocations: 134.2 kB / 1.116 GB, free: 3.438 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.383e-06/0.7562, allocations: 0 / 1.116 GB, free: 3.438 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.994e-05/0.7562, allocations: 8 kB / 1.116 GB, free: 3.43 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.894e-06/0.7563, allocations: 0.5625 kB / 1.116 GB, free: 3.43 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.076e-05/0.7563, allocations: 11.89 kB / 1.116 GB, free: 3.418 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.583e-06/0.7563, allocations: 0 / 1.116 GB, free: 3.418 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.395e-06/0.7563, allocations: 0 / 1.116 GB, free: 3.418 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001126/0.7564, allocations: 143.5 kB / 1.116 GB, free: 3.262 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 4.575e-05/0.7565, allocations: 84.95 kB / 1.116 GB, free: 3.16 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.579e-05/0.7565, allocations: 3.219 kB / 1.116 GB, free: 3.16 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.289e-05/0.7565, allocations: 3.938 kB / 1.116 GB, free: 3.156 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.279e-05/0.7566, allocations: 4 kB / 1.116 GB, free: 3.152 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.346e-06/0.7566, allocations: 4 kB / 1.116 GB, free: 3.148 MB / 0.7136 GB Notification: Performance of sort global known variables: time 3.031e-05/0.7566, allocations: 83.27 kB / 1.116 GB, free: 3.066 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0002651/0.7569, allocations: 16 kB / 1.116 GB, free: 3.051 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.00022/0.7571, allocations: 135.1 kB / 1.116 GB, free: 2.906 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 7.87e-05/0.7572, allocations: 16 kB / 1.116 GB, free: 2.891 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.923e-06/0.7572, allocations: 0 / 1.116 GB, free: 2.891 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 1.973e-05/0.7572, allocations: 17.2 kB / 1.116 GB, free: 2.875 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001294/0.7574, allocations: 12.77 kB / 1.116 GB, free: 2.863 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000204/0.7576, allocations: 59.92 kB / 1.117 GB, free: 2.781 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002992/0.7579, allocations: 0.6915 MB / 1.117 GB, free: 2.066 MB / 0.7136 GB Notification: Performance of SimCode: time 2.31e-07/0.7579, allocations: 0 / 1.117 GB, free: 2.066 MB / 0.7136 GB Notification: Performance of Templates: time 0.00232/0.7602, allocations: 0.5562 MB / 1.118 GB, free: 1.547 MB / 0.7136 GB make -j1 -f Buildings_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.makefile (rm -f Buildings_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe ; mkfifo Buildings_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe >> ../files/Buildings_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.sim & ./Buildings_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe 2>&1)