Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_1.6_Buildings.Fluid.BaseClasses.FlowModels.Examples.InverseFlowFunction.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Using package Buildings with version 1.6 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo) Running command: translateModel(Buildings.Fluid.BaseClasses.FlowModels.Examples.InverseFlowFunction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Fluid.BaseClasses.FlowModels.Examples.InverseFlowFunction") translateModel(Buildings.Fluid.BaseClasses.FlowModels.Examples.InverseFlowFunction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Fluid.BaseClasses.FlowModels.Examples.InverseFlowFunction") [: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 1.6.0+build.1/package.mo): time 0.499/0.499, allocations: 94.74 MB / 102 MB, free: 10.35 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.001087/0.001087, allocations: 176.4 kB / 125.3 MB, free: 11.98 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.228/1.228, allocations: 170.5 MB / 319 MB, free: 9.332 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001634/0.001634, allocations: 112.7 kB / 381 MB, free: 18.17 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 9.318e-06/9.338e-06, allocations: 4 kB / 448.6 MB, free: 2.086 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1248/0.1249, allocations: 61.53 MB / 0.4981 GB, free: 4.465 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3197/0.4446, allocations: 93.89 MB / 0.5898 GB, free: 8.418 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002864/0.4449, allocations: 82.09 kB / 0.5899 GB, free: 8.34 MB / 410.7 MB Notification: Performance of FrontEnd: time 0.01337/0.4583, allocations: 3.756 MB / 0.5936 GB, free: 4.672 MB / 410.7 MB Notification: Performance of Transformations before backend: time 7.865e-06/0.4583, allocations: 0 / 0.5936 GB, free: 4.672 MB / 410.7 MB 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.0004131/0.4588, allocations: 378.3 kB / 0.5939 GB, free: 4.258 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.261e-05/0.4588, allocations: 8.031 kB / 0.5939 GB, free: 4.25 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.215e-05/0.4589, allocations: 1.562 kB / 0.5939 GB, free: 4.25 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001443/0.459, allocations: 167.4 kB / 0.5941 GB, free: 4.051 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.134e-05/0.459, allocations: 0 / 0.5941 GB, free: 4.051 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.087e-06/0.459, allocations: 0 / 0.5941 GB, free: 4.051 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.831e-05/0.4591, allocations: 11.98 kB / 0.5941 GB, free: 4.039 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.854e-05/0.4592, allocations: 41.64 kB / 0.5942 GB, free: 3.992 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.582e-06/0.4592, allocations: 0 / 0.5942 GB, free: 3.992 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.398e-06/0.4592, allocations: 4 kB / 0.5942 GB, free: 3.988 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.953e-06/0.4593, allocations: 0 / 0.5942 GB, free: 3.988 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003453/0.4596, allocations: 233.4 kB / 0.5944 GB, free: 3.723 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002024/0.4598, allocations: 46.69 kB / 0.5944 GB, free: 3.668 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.693e-05/0.4599, allocations: 14.17 kB / 0.5944 GB, free: 3.652 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005783/0.4605, allocations: 398.6 kB / 0.5948 GB, free: 3.191 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.262e-05/0.4605, allocations: 30.56 kB / 0.5948 GB, free: 3.152 MB / 410.7 MB Notification: Performance of pre-optimization done (n=4): time 3.777e-06/0.4605, allocations: 0 / 0.5948 GB, free: 3.152 MB / 410.7 MB Notification: Performance of matching and sorting (n=4): time 0.0003668/0.4609, allocations: 65.52 kB / 0.5949 GB, free: 3.082 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.927e-05/0.4609, allocations: 51.41 kB / 0.595 GB, free: 3.02 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.519e-05/0.461, allocations: 97 kB / 0.5951 GB, free: 2.918 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.405e-05/0.461, allocations: 25.7 kB / 0.5951 GB, free: 2.887 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.073e-05/0.4611, allocations: 80.14 kB / 0.5952 GB, free: 2.805 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.589e-05/0.4611, allocations: 19.73 kB / 0.5952 GB, free: 2.785 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.577e-06/0.4611, allocations: 0 / 0.5952 GB, free: 2.785 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001241/0.4612, allocations: 316.3 kB / 0.5955 GB, free: 2.469 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.891e-05/0.4613, allocations: 4 kB / 0.5955 GB, free: 2.465 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.917e-05/0.4613, allocations: 21.72 kB / 0.5955 GB, free: 2.438 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004034/0.4617, allocations: 64.56 kB / 0.5956 GB, free: 2.375 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.4617, allocations: 0 / 0.5956 GB, free: 2.375 MB / 410.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0004345/0.4622, allocations: 105.5 kB / 0.5957 GB, free: 2.266 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.599e-05/0.4622, allocations: 4 kB / 0.5957 GB, free: 2.262 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.571e-06/0.4622, allocations: 3.938 kB / 0.5957 GB, free: 2.258 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.293e-05/0.4622, allocations: 32 / 0.5957 GB, free: 2.258 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.726e-05/0.4623, allocations: 15.98 kB / 0.5957 GB, free: 2.242 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.362e-06/0.4623, allocations: 4 kB / 0.5957 GB, free: 2.238 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.108e-05/0.4623, allocations: 3.906 kB / 0.5957 GB, free: 2.234 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.837e-06/0.4623, allocations: 4.438 kB / 0.5957 GB, free: 2.234 MB / 410.7 MB 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.674e-05/0.4624, allocations: 105 kB / 0.5958 GB, free: 2.125 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.687e-05/0.4625, allocations: 3.938 kB / 0.5958 GB, free: 2.121 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005047/0.463, allocations: 117.3 kB / 0.5959 GB, free: 2 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.558e-06/0.463, allocations: 7.469 kB / 0.5959 GB, free: 1.996 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.468e-06/0.463, allocations: 0 / 0.5959 GB, free: 1.996 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.786e-06/0.463, allocations: 4 kB / 0.5959 GB, free: 1.992 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001401/0.4632, allocations: 134.2 kB / 0.596 GB, free: 1.824 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.274e-06/0.4632, allocations: 2.188 kB / 0.5961 GB, free: 1.824 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.452e-05/0.4632, allocations: 8 kB / 0.5961 GB, free: 1.816 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.796e-06/0.4632, allocations: 0 / 0.5961 GB, free: 1.816 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.394e-06/0.4632, allocations: 0 / 0.5961 GB, free: 1.816 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.757e-06/0.4632, allocations: 4 kB / 0.5961 GB, free: 1.812 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.526e-06/0.4633, allocations: 3.906 kB / 0.5961 GB, free: 1.809 MB / 410.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0004609/0.4637, allocations: 199.4 kB / 0.5963 GB, free: 1.598 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.902e-05/0.4638, allocations: 81.02 kB / 0.5963 GB, free: 1.5 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.498e-05/0.4638, allocations: 0 / 0.5963 GB, free: 1.5 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.663e-05/0.4639, allocations: 0 / 0.5963 GB, free: 1.5 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.729e-05/0.4639, allocations: 7.984 kB / 0.5963 GB, free: 1.492 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.997e-06/0.4639, allocations: 0 / 0.5963 GB, free: 1.492 MB / 410.7 MB Notification: Performance of sort global known variables: time 4.353e-05/0.4639, allocations: 84.03 kB / 0.5964 GB, free: 1.41 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0003656/0.4643, allocations: 71.86 kB / 0.5965 GB, free: 1.34 MB / 410.7 MB 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.0003744/0.4647, allocations: 187 kB / 0.5967 GB, free: 1.148 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 8.982e-05/0.4648, allocations: 23.94 kB / 0.5967 GB, free: 1.125 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.873e-06/0.4648, allocations: 0 / 0.5967 GB, free: 1.125 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 2.132e-05/0.4648, allocations: 12 kB / 0.5967 GB, free: 1.113 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001475/0.465, allocations: 0 / 0.5967 GB, free: 1.113 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002566/0.4652, allocations: 65.39 kB / 0.5968 GB, free: 1.027 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003201/0.4656, allocations: 0.6954 MB / 0.5974 GB, free: 316 kB / 410.7 MB Notification: Performance of SimCode: time 2.4e-07/0.4656, allocations: 4.062 kB / 0.5974 GB, free: 312 kB / 410.7 MB Notification: Performance of Templates: time 0.00368/0.4693, allocations: 1.314 MB / 0.5987 GB, free: 15.04 MB / 426.7 MB make -j1 -f Buildings_1.6_Buildings.Fluid.BaseClasses.FlowModels.Examples.InverseFlowFunction.makefile (rm -f Buildings_1.6_Buildings.Fluid.BaseClasses.FlowModels.Examples.InverseFlowFunction.pipe ; mkfifo Buildings_1.6_Buildings.Fluid.BaseClasses.FlowModels.Examples.InverseFlowFunction.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Fluid.BaseClasses.FlowModels.Examples.InverseFlowFunction.pipe >> ../files/Buildings_1.6_Buildings.Fluid.BaseClasses.FlowModels.Examples.InverseFlowFunction.sim & ./Buildings_1.6_Buildings.Fluid.BaseClasses.FlowModels.Examples.InverseFlowFunction -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Fluid.BaseClasses.FlowModels.Examples.InverseFlowFunction.pipe 2>&1)