Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_3.0.0_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.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.BaseClasses.Examples.HANaturalCylinder,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder") translateModel(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder") [: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.7896/0.7896, allocations: 132.4 MB / 139.7 MB, free: 15.55 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.001437/0.001438, allocations: 165 kB / 171.6 MB, free: 1.98 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.501/1.501, allocations: 170.5 MB / 373.9 MB, free: 15.78 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.001799/0.001799, allocations: 113.1 kB / 444.4 MB, free: 9.324 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.5715/0.5715, allocations: 73.39 MB / 0.666 GB, free: 62.36 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.7405/1.312, allocations: 319.7 MB / 0.9782 GB, free: 120.1 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003109/1.313, allocations: 90.69 kB / 0.9783 GB, free: 120 MB / 0.5886 GB Notification: Performance of FrontEnd: time 0.02942/1.342, allocations: 12.82 MB / 0.9908 GB, free: 110.1 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 1.4e-05/1.342, allocations: 4 kB / 0.9908 GB, free: 110.1 MB / 0.5886 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.0007965/1.343, allocations: 466.7 kB / 0.9913 GB, free: 109.7 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 5.828e-05/1.343, allocations: 14.77 kB / 0.9913 GB, free: 109.6 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.968e-05/1.343, allocations: 11.81 kB / 0.9913 GB, free: 109.6 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001371/1.343, allocations: 179.7 kB / 0.9915 GB, free: 109.4 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.739e-05/1.343, allocations: 7.984 kB / 0.9915 GB, free: 109.4 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.05e-05/1.343, allocations: 4 kB / 0.9915 GB, free: 109.4 MB / 0.5886 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002272/1.343, allocations: 89.23 kB / 0.9916 GB, free: 109.4 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001475/1.344, allocations: 84.28 kB / 0.9916 GB, free: 109.3 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.088e-05/1.344, allocations: 7.906 kB / 0.9917 GB, free: 109.3 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.586e-05/1.344, allocations: 0.5625 kB / 0.9917 GB, free: 109.3 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.293e-06/1.344, allocations: 0 / 0.9917 GB, free: 109.3 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007224/1.344, allocations: 384 kB / 0.992 GB, free: 108.9 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000142/1.345, allocations: 88.31 kB / 0.9921 GB, free: 108.8 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.772e-05/1.345, allocations: 47.05 kB / 0.9922 GB, free: 108.8 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009208/1.346, allocations: 0.9263 MB / 0.9931 GB, free: 107.8 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.375e-05/1.346, allocations: 35.5 kB / 0.9931 GB, free: 107.8 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=12): time 2.345e-06/1.346, allocations: 0 / 0.9931 GB, free: 107.8 MB / 0.5886 GB Notification: Performance of matching and sorting (n=12): time 0.0005237/1.346, allocations: 148 kB / 0.9932 GB, free: 107.6 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.005e-05/1.346, allocations: 51.41 kB / 0.9933 GB, free: 107.6 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001292/1.346, allocations: 143.7 kB / 0.9934 GB, free: 107.4 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.616e-05/1.346, allocations: 25.7 kB / 0.9934 GB, free: 107.4 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 5.356e-05/1.346, allocations: 105.7 kB / 0.9935 GB, free: 107.3 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 2.267e-05/1.346, allocations: 38.77 kB / 0.9936 GB, free: 107.3 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.023e-05/1.346, allocations: 4 kB / 0.9936 GB, free: 107.3 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 6.913e-05/1.347, allocations: 322.6 kB / 0.9939 GB, free: 107 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.521e-05/1.347, allocations: 44.19 kB / 0.9939 GB, free: 106.9 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.563e-05/1.347, allocations: 78.17 kB / 0.994 GB, free: 106.9 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005646/1.347, allocations: 146.4 kB / 0.9941 GB, free: 106.7 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/1.347, allocations: 0 / 0.9941 GB, free: 106.7 MB / 0.5886 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0007116/1.348, allocations: 267.9 kB / 0.9944 GB, free: 106.5 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.743e-05/1.348, allocations: 4 kB / 0.9944 GB, free: 106.5 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.713e-06/1.348, allocations: 4 kB / 0.9944 GB, free: 106.5 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.773e-05/1.348, allocations: 0 / 0.9944 GB, free: 106.5 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003029/1.348, allocations: 68.73 kB / 0.9945 GB, free: 106.4 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.744e-06/1.348, allocations: 4 kB / 0.9945 GB, free: 106.4 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001737/1.349, allocations: 35.67 kB / 0.9945 GB, free: 106.4 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.336e-05/1.349, allocations: 11.55 kB / 0.9945 GB, free: 106.4 MB / 0.5886 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 26 * 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.943e-05/1.349, allocations: 114.9 kB / 0.9946 GB, free: 106.3 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.901e-05/1.349, allocations: 15.75 kB / 0.9947 GB, free: 106.3 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004144/1.349, allocations: 152.5 kB / 0.9948 GB, free: 106.1 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.447e-06/1.349, allocations: 0 / 0.9948 GB, free: 106.1 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.484e-06/1.349, allocations: 1 kB / 0.9948 GB, free: 106.1 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.091e-06/1.349, allocations: 7.906 kB / 0.9948 GB, free: 106.1 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001621/1.349, allocations: 184.7 kB / 0.995 GB, free: 105.9 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.773e-06/1.349, allocations: 1.969 kB / 0.995 GB, free: 105.9 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000172/1.35, allocations: 39.97 kB / 0.995 GB, free: 105.9 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.066e-06/1.35, allocations: 0 / 0.995 GB, free: 105.9 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.399e-05/1.35, allocations: 3.906 kB / 0.995 GB, free: 105.9 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.071e-06/1.35, allocations: 5.75 kB / 0.995 GB, free: 105.9 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.645e-06/1.35, allocations: 3.938 kB / 0.995 GB, free: 105.9 MB / 0.5886 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003675/1.35, allocations: 242.2 kB / 0.9953 GB, free: 105.7 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 3.24e-05/1.35, allocations: 88.95 kB / 0.9953 GB, free: 105.6 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.752e-05/1.35, allocations: 0 / 0.9953 GB, free: 105.6 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001553/1.35, allocations: 31.88 kB / 0.9954 GB, free: 105.5 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.801e-05/1.35, allocations: 7.984 kB / 0.9954 GB, free: 105.5 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.676e-06/1.35, allocations: 0 / 0.9954 GB, free: 105.5 MB / 0.5886 GB Notification: Performance of sort global known variables: time 5.957e-05/1.35, allocations: 113.8 kB / 0.9955 GB, free: 105.4 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0003443/1.351, allocations: 60.25 kB / 0.9956 GB, free: 105.4 MB / 0.5886 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 (12): * Single equations (assignments): 12 * 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.000346/1.351, allocations: 175 kB / 0.9957 GB, free: 105.2 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0002265/1.351, allocations: 116 kB / 0.9958 GB, free: 105.1 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.983e-06/1.351, allocations: 0 / 0.9958 GB, free: 105.1 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 6.58e-05/1.351, allocations: 46.48 kB / 0.9959 GB, free: 105.1 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002674/1.352, allocations: 16.09 kB / 0.9959 GB, free: 105.1 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004532/1.352, allocations: 156.6 kB / 0.996 GB, free: 104.9 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002521/1.352, allocations: 0.7307 MB / 0.9968 GB, free: 104.1 MB / 0.5886 GB Notification: Performance of SimCode: time 3.6e-07/1.352, allocations: 0 / 0.9968 GB, free: 104.1 MB / 0.5886 GB Notification: Performance of Templates: time 0.006385/1.359, allocations: 2.732 MB / 0.9994 GB, free: 101.5 MB / 0.5886 GB make -j1 -f Buildings_3.0.0_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.makefile (rm -f Buildings_3.0.0_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe ; mkfifo Buildings_3.0.0_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe >> ../files/Buildings_3.0.0_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.sim & ./Buildings_3.0.0_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe 2>&1)