Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_3.0.0_Buildings.Fluid.HeatExchangers.Boreholes.BaseClasses.Examples.Factorial.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo", uses=false) Using package Modelica_StateGraph2 with version 2.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo) 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 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/package.mo) Running command: translateModel(Buildings.Fluid.HeatExchangers.Boreholes.BaseClasses.Examples.Factorial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.HeatExchangers.Boreholes.BaseClasses.Examples.Factorial") translateModel(Buildings.Fluid.HeatExchangers.Boreholes.BaseClasses.Examples.Factorial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.HeatExchangers.Boreholes.BaseClasses.Examples.Factorial") [: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 3.0.0/package.mo): time 0.7739/0.7739, allocations: 132.4 MB / 139.7 MB, free: 15.56 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.001348/0.001348, allocations: 172 kB / 171.6 MB, free: 2.023 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.422/1.422, allocations: 170.5 MB / 373.9 MB, free: 15.82 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001583/0.001583, allocations: 118.3 kB / 444.4 MB, free: 9.359 MB / 346.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo:257:38-257:110:writable] Warning: The file was not encoded in UTF-8: "

An important practical aspect of state machines is the abilit...". Defaulting to 7-bit ASCII with unknown characters replaced by '?'. To change encoding when loading a file: loadFile(encoding="ISO-XXXX-YY"). To change it in a package: add a file package.encoding at the top-level. Note: The Modelica Language Specification only allows files encoded in UTF-8. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo:761:36-761:108:writable] Warning: The file was not encoded in UTF-8: "

The Modelica_StateGraph2 library is described in detail in (O...". Defaulting to 7-bit ASCII with unknown characters replaced by '?'. To change encoding when loading a file: loadFile(encoding="ISO-XXXX-YY"). To change it in a package: add a file package.encoding at the top-level. Note: The Modelica Language Specification only allows files encoded in UTF-8. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo:1435:36-1435:108:writable] Warning: The file was not encoded in UTF-8: "

Main Authors:
SCode: time 0.5366/0.5366, allocations: 73.39 MB / 0.666 GB, free: 62.49 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.164/0.7007, allocations: 100.2 MB / 0.7639 GB, free: 4.074 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002389/0.701, allocations: 87.44 kB / 0.7639 GB, free: 3.992 MB / 474.7 MB Notification: Performance of FrontEnd: time 0.002406/0.7034, allocations: 0.6993 MB / 0.7646 GB, free: 3.316 MB / 474.7 MB Notification: Performance of Transformations before backend: time 7.263e-06/0.7034, allocations: 0 / 0.7646 GB, free: 3.316 MB / 474.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.0003117/0.7037, allocations: 322.4 kB / 0.7649 GB, free: 2.957 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.754e-05/0.7038, allocations: 12.53 kB / 0.7649 GB, free: 2.945 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.49e-05/0.7038, allocations: 7.078 kB / 0.7649 GB, free: 2.941 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001335/0.704, allocations: 167 kB / 0.7651 GB, free: 2.738 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.449e-05/0.704, allocations: 0 / 0.7651 GB, free: 2.738 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.515e-05/0.704, allocations: 0.6562 kB / 0.7651 GB, free: 2.738 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.078e-05/0.7041, allocations: 19.92 kB / 0.7651 GB, free: 2.719 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001144/0.7042, allocations: 77.48 kB / 0.7652 GB, free: 2.625 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.107e-06/0.7042, allocations: 0 / 0.7652 GB, free: 2.625 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.403e-05/0.7043, allocations: 5.141 kB / 0.7652 GB, free: 2.621 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.845e-06/0.7043, allocations: 7.906 kB / 0.7652 GB, free: 2.613 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008614/0.7051, allocations: 1.103 MB / 0.7663 GB, free: 1.371 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.424e-05/0.7052, allocations: 166.6 kB / 0.7664 GB, free: 1.199 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.865e-05/0.7053, allocations: 85.3 kB / 0.7665 GB, free: 1.113 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.284e-05/0.7053, allocations: 76.75 kB / 0.7666 GB, free: 1.039 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.567e-05/0.7054, allocations: 105.8 kB / 0.7667 GB, free: 0.9258 MB / 474.7 MB Notification: Performance of pre-optimization done (n=0): time 1.442e-06/0.7054, allocations: 0.8125 kB / 0.7667 GB, free: 0.9258 MB / 474.7 MB Notification: Performance of matching and sorting (n=0): time 8.475e-05/0.7055, allocations: 37.55 kB / 0.7667 GB, free: 0.8828 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.289e-05/0.7056, allocations: 81.7 kB / 0.7668 GB, free: 0.7852 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001116/0.7057, allocations: 125.1 kB / 0.7669 GB, free: 0.6562 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 1.424e-05/0.7057, allocations: 25.7 kB / 0.767 GB, free: 0.625 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.091e-05/0.7058, allocations: 88.55 kB / 0.767 GB, free: 0.5352 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.697e-06/0.7058, allocations: 4.531 kB / 0.767 GB, free: 0.5312 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.427e-06/0.7058, allocations: 0 / 0.767 GB, free: 0.5312 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001323/0.7059, allocations: 320.2 kB / 0.7674 GB, free: 216 kB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.284e-05/0.7059, allocations: 8 kB / 0.7674 GB, free: 208 kB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.633e-05/0.706, allocations: 41.81 kB / 0.7674 GB, free: 152 kB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001428/0.7062, allocations: 24.48 kB / 0.7674 GB, free: 128 kB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.805e-06/0.7062, allocations: 3.938 kB / 0.7674 GB, free: 124 kB / 474.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002347/0.7065, allocations: 77.59 kB / 0.7675 GB, free: 40 kB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.46e-05/0.7065, allocations: 4 kB / 0.7675 GB, free: 36 kB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.945e-06/0.7065, allocations: 2.25 kB / 0.7675 GB, free: 36 kB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.555e-05/0.7065, allocations: 4 kB / 0.7675 GB, free: 32 kB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.626e-05/0.7066, allocations: 4 kB / 0.7675 GB, free: 28 kB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.796e-06/0.7066, allocations: 8.156 kB / 0.7675 GB, free: 20 kB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.444e-05/0.7067, allocations: 7.906 kB / 0.7675 GB, free: 12 kB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.219e-05/0.7067, allocations: 0 / 0.7675 GB, free: 12 kB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 5 (y[5],y[4],y[3],y[2],y[1]) * 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.0001621/0.7069, allocations: 190.5 kB / 0.7677 GB, free: 15.82 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.917e-05/0.7069, allocations: 108.9 kB / 0.7678 GB, free: 15.71 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.589e-05/0.707, allocations: 108.5 kB / 0.7679 GB, free: 15.6 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.279e-05/0.7071, allocations: 185.2 kB / 0.7681 GB, free: 15.41 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.468e-05/0.7072, allocations: 184.2 kB / 0.7683 GB, free: 15.22 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.466e-05/0.7073, allocations: 176.3 kB / 0.7684 GB, free: 15.04 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002748/0.7076, allocations: 389.7 kB / 0.7688 GB, free: 14.62 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.135e-05/0.7076, allocations: 101 kB / 0.7689 GB, free: 14.51 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.124e-05/0.7077, allocations: 105 kB / 0.769 GB, free: 14.4 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001063/0.7078, allocations: 189.5 kB / 0.7692 GB, free: 14.21 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.299e-05/0.7079, allocations: 180.2 kB / 0.7694 GB, free: 14.03 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.932e-05/0.708, allocations: 186.2 kB / 0.7695 GB, free: 13.84 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.93e-05/0.7081, allocations: 186.8 kB / 0.7697 GB, free: 13.65 MB / 490.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001717/0.7082, allocations: 307.7 kB / 0.77 GB, free: 13.33 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.765e-05/0.7083, allocations: 190 kB / 0.7702 GB, free: 13.12 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001249/0.7085, allocations: 180.3 kB / 0.7704 GB, free: 12.93 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001282/0.7086, allocations: 105 kB / 0.7705 GB, free: 12.82 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.509e-05/0.7087, allocations: 180.2 kB / 0.7706 GB, free: 12.64 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.446e-05/0.7088, allocations: 110.3 kB / 0.7707 GB, free: 12.53 MB / 490.7 MB Notification: Performance of sort global known variables: time 6.692e-05/0.7088, allocations: 101.3 kB / 0.7708 GB, free: 12.43 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0003083/0.7091, allocations: 8 kB / 0.7708 GB, free: 12.42 MB / 490.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 (0): * Single equations (assignments): 0 * 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.0002386/0.7094, allocations: 170.5 kB / 0.771 GB, free: 12.24 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 9.557e-05/0.7095, allocations: 27.92 kB / 0.771 GB, free: 12.21 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.7095, allocations: 0 / 0.771 GB, free: 12.21 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 2.034e-06/0.7095, allocations: 0 / 0.771 GB, free: 12.21 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003492/0.7099, allocations: 0.5266 MB / 0.7715 GB, free: 11.68 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000251/0.7101, allocations: 143 kB / 0.7717 GB, free: 11.52 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003047/0.7104, allocations: 0.6919 MB / 0.7724 GB, free: 10.8 MB / 490.7 MB Notification: Performance of SimCode: time 3.51e-07/0.7105, allocations: 0 / 0.7724 GB, free: 10.8 MB / 490.7 MB Notification: Performance of Templates: time 0.002657/0.7131, allocations: 0.5134 MB / 0.7729 GB, free: 10.32 MB / 490.7 MB make -j1 -f Buildings_3.0.0_Buildings.Fluid.HeatExchangers.Boreholes.BaseClasses.Examples.Factorial.makefile (rm -f Buildings_3.0.0_Buildings.Fluid.HeatExchangers.Boreholes.BaseClasses.Examples.Factorial.pipe ; mkfifo Buildings_3.0.0_Buildings.Fluid.HeatExchangers.Boreholes.BaseClasses.Examples.Factorial.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Fluid.HeatExchangers.Boreholes.BaseClasses.Examples.Factorial.pipe >> ../files/Buildings_3.0.0_Buildings.Fluid.HeatExchangers.Boreholes.BaseClasses.Examples.Factorial.sim & ./Buildings_3.0.0_Buildings.Fluid.HeatExchangers.Boreholes.BaseClasses.Examples.Factorial -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Fluid.HeatExchangers.Boreholes.BaseClasses.Examples.Factorial.pipe 2>&1)