Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_3.0.0_Buildings.Media.Examples.WaterProperties.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.Media.Examples.WaterProperties,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Media.Examples.WaterProperties") translateModel(Buildings.Media.Examples.WaterProperties,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Media.Examples.WaterProperties") [: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.7669/0.7669, 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.001123/0.001123, allocations: 173 kB / 171.6 MB, free: 2.012 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.495/1.495, allocations: 170.5 MB / 373.9 MB, free: 15.84 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.001931/0.001931, allocations: 109.9 kB / 444.4 MB, free: 9.375 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.5555/0.5555, allocations: 73.39 MB / 0.666 GB, free: 62.35 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.8031/1.359, allocations: 338.1 MB / 0.9961 GB, free: 100.1 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002911/1.359, allocations: 68.47 kB / 0.9962 GB, free: 100 MB / 0.5886 GB Notification: Performance of FrontEnd: time 0.04325/1.402, allocations: 18.41 MB / 1.014 GB, free: 85.58 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 1.394e-05/1.403, allocations: 9.938 kB / 1.014 GB, free: 85.58 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: 39 * Number of variables: 39 Notification: Performance of Generate backend data structure: time 0.0007352/1.403, allocations: 467 kB / 1.015 GB, free: 85.09 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 5.513e-05/1.403, allocations: 12.03 kB / 1.015 GB, free: 85.07 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001996/1.404, allocations: 27.36 kB / 1.015 GB, free: 85.05 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002349/1.404, allocations: 205.9 kB / 1.015 GB, free: 84.82 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.156e-05/1.404, allocations: 4 kB / 1.015 GB, free: 84.81 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.485e-05/1.404, allocations: 11.98 kB / 1.015 GB, free: 84.8 MB / 0.5886 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000439/1.404, allocations: 416.7 kB / 1.015 GB, free: 84.46 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000262/1.405, allocations: 207.5 kB / 1.015 GB, free: 84.29 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.19e-05/1.405, allocations: 0 / 1.015 GB, free: 84.29 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.472e-05/1.405, allocations: 8 kB / 1.015 GB, free: 84.28 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.294e-05/1.405, allocations: 15.83 kB / 1.015 GB, free: 84.26 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009872/1.406, allocations: 0.9807 MB / 1.016 GB, free: 83.28 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002921/1.406, allocations: 145 kB / 1.017 GB, free: 83.16 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.117e-05/1.406, allocations: 50.7 kB / 1.017 GB, free: 83.12 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001265/1.407, allocations: 1.914 MB / 1.019 GB, free: 80.89 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.277e-05/1.407, allocations: 33.5 kB / 1.019 GB, free: 80.85 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=15): time 1.463e-06/1.407, allocations: 0 / 1.019 GB, free: 80.85 MB / 0.5886 GB Notification: Performance of matching and sorting (n=15): time 0.0005736/1.408, allocations: 146 kB / 1.019 GB, free: 80.71 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.202e-05/1.408, allocations: 55.41 kB / 1.019 GB, free: 80.65 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001336/1.408, allocations: 125.8 kB / 1.019 GB, free: 80.52 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.902e-05/1.408, allocations: 29.7 kB / 1.019 GB, free: 80.48 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 5.496e-05/1.408, allocations: 138.6 kB / 1.019 GB, free: 80.36 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 2.677e-05/1.408, allocations: 50.95 kB / 1.019 GB, free: 80.31 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.594e-06/1.408, allocations: 0 / 1.019 GB, free: 80.31 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 8.618e-05/1.408, allocations: 326.3 kB / 1.019 GB, free: 79.99 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.587e-05/1.408, allocations: 32.06 kB / 1.019 GB, free: 79.96 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.255e-05/1.409, allocations: 132.5 kB / 1.02 GB, free: 79.8 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003442/1.409, allocations: 85.61 kB / 1.02 GB, free: 79.73 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.318e-06/1.409, allocations: 0 / 1.02 GB, free: 79.73 MB / 0.5886 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0005022/1.409, allocations: 203.1 kB / 1.02 GB, free: 79.55 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.613e-05/1.409, allocations: 12.45 kB / 1.02 GB, free: 79.54 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.047e-06/1.409, allocations: 4 kB / 1.02 GB, free: 79.53 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.812e-05/1.409, allocations: 8 kB / 1.02 GB, free: 79.52 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001802/1.41, allocations: 59.66 kB / 1.02 GB, free: 79.47 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.417e-05/1.41, allocations: 8 kB / 1.02 GB, free: 79.46 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001339/1.41, allocations: 27.62 kB / 1.02 GB, free: 79.43 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.901e-05/1.41, allocations: 13.58 kB / 1.02 GB, free: 79.42 MB / 0.5886 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (30): * Single equations (assignments): 29 * Array equations: 1 * 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.841e-05/1.41, allocations: 112.7 kB / 1.02 GB, free: 79.31 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.946e-05/1.41, allocations: 19.8 kB / 1.02 GB, free: 79.29 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000535/1.411, allocations: 178.4 kB / 1.02 GB, free: 79.12 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.918e-06/1.411, allocations: 4 kB / 1.02 GB, free: 79.12 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.743e-06/1.411, allocations: 3.906 kB / 1.02 GB, free: 79.12 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.969e-06/1.411, allocations: 3.984 kB / 1.02 GB, free: 79.11 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001946/1.411, allocations: 180.5 kB / 1.02 GB, free: 78.91 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.096e-06/1.411, allocations: 0 / 1.02 GB, free: 78.91 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000147/1.411, allocations: 35.91 kB / 1.02 GB, free: 78.88 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.557e-06/1.411, allocations: 0 / 1.02 GB, free: 78.88 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.324e-05/1.411, allocations: 4 kB / 1.02 GB, free: 78.88 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.075e-06/1.411, allocations: 0.7031 kB / 1.02 GB, free: 78.88 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.868e-06/1.411, allocations: 4.562 kB / 1.02 GB, free: 78.87 MB / 0.5886 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0004192/1.411, allocations: 240.6 kB / 1.021 GB, free: 78.64 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 7.619e-05/1.412, allocations: 112 kB / 1.021 GB, free: 78.52 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.878e-05/1.412, allocations: 7.844 kB / 1.021 GB, free: 78.51 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001741/1.412, allocations: 6.125 kB / 1.021 GB, free: 78.51 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.519e-05/1.412, allocations: 11.92 kB / 1.021 GB, free: 78.5 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.005e-05/1.412, allocations: 11.98 kB / 1.021 GB, free: 78.49 MB / 0.5886 GB Notification: Performance of sort global known variables: time 5.13e-05/1.412, allocations: 104.8 kB / 1.021 GB, free: 78.39 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0003974/1.412, allocations: 67.62 kB / 1.021 GB, free: 78.33 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 (15): * Single equations (assignments): 14 * Array equations: 1 * 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.0003001/1.413, allocations: 190.3 kB / 1.021 GB, free: 78.14 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0002203/1.413, allocations: 98.86 kB / 1.021 GB, free: 78.06 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 3.576e-06/1.413, allocations: 0.9375 kB / 1.021 GB, free: 78.06 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 6.52e-05/1.413, allocations: 42.98 kB / 1.021 GB, free: 78.02 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003129/1.413, allocations: 36.14 kB / 1.021 GB, free: 78 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005082/1.414, allocations: 163.8 kB / 1.022 GB, free: 77.82 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002279/1.414, allocations: 0.7516 MB / 1.022 GB, free: 77.05 MB / 0.5886 GB Notification: Performance of SimCode: time 2.4e-07/1.414, allocations: 0 / 1.022 GB, free: 77.05 MB / 0.5886 GB Notification: Performance of Templates: time 0.006721/1.421, allocations: 3.128 MB / 1.025 GB, free: 74 MB / 0.5886 GB make -j1 -f Buildings_3.0.0_Buildings.Media.Examples.WaterProperties.makefile (rm -f Buildings_3.0.0_Buildings.Media.Examples.WaterProperties.pipe ; mkfifo Buildings_3.0.0_Buildings.Media.Examples.WaterProperties.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Media.Examples.WaterProperties.pipe >> ../files/Buildings_3.0.0_Buildings.Media.Examples.WaterProperties.sim & ./Buildings_3.0.0_Buildings.Media.Examples.WaterProperties -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Media.Examples.WaterProperties.pipe 2>&1)