Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_3.0.0_Buildings.Media.Examples.WaterDerivativeCheck.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.WaterDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Media.Examples.WaterDerivativeCheck") translateModel(Buildings.Media.Examples.WaterDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Media.Examples.WaterDerivativeCheck") [: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.7321/0.7321, allocations: 132.4 MB / 139.7 MB, free: 15.52 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.001311/0.001311, allocations: 175.3 kB / 171.6 MB, free: 1.996 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.548/1.548, allocations: 170.5 MB / 373.9 MB, free: 15.86 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.001908/0.001908, allocations: 111.9 kB / 444.4 MB, free: 9.367 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.5834/0.5834, allocations: 73.39 MB / 0.666 GB, free: 62.59 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.7932/1.377, allocations: 324.8 MB / 0.9832 GB, free: 111.8 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002752/1.377, allocations: 72.75 kB / 0.9833 GB, free: 111.8 MB / 0.5886 GB Notification: Performance of FrontEnd: time 0.0253/1.402, allocations: 12 MB / 0.995 GB, free: 102.7 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 7.865e-06/1.402, allocations: 0 / 0.995 GB, free: 102.7 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0002833/1.403, allocations: 337.9 kB / 0.9953 GB, free: 102.4 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 6.833e-05/1.403, allocations: 8.031 kB / 0.9953 GB, free: 102.3 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001134/1.403, allocations: 6.781 kB / 0.9953 GB, free: 102.3 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.962e-05/1.403, allocations: 178.8 kB / 0.9955 GB, free: 102.1 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.339e-05/1.403, allocations: 0 / 0.9955 GB, free: 102.1 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.742e-05/1.403, allocations: 8 kB / 0.9955 GB, free: 102.1 MB / 0.5886 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.327e-05/1.403, allocations: 14.92 kB / 0.9955 GB, free: 102.1 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.954e-05/1.403, allocations: 49.11 kB / 0.9956 GB, free: 102.1 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.708e-06/1.403, allocations: 0 / 0.9956 GB, free: 102.1 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.627e-05/1.403, allocations: 0 / 0.9956 GB, free: 102.1 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.018e-05/1.403, allocations: 0 / 0.9956 GB, free: 102.1 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001721/1.403, allocations: 146.2 kB / 0.9957 GB, free: 101.9 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 7.42e-05/1.404, allocations: 39.66 kB / 0.9958 GB, free: 101.8 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.858e-05/1.404, allocations: 19.86 kB / 0.9958 GB, free: 101.8 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006406/1.404, allocations: 0.6046 MB / 0.9964 GB, free: 101.1 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.922e-05/1.404, allocations: 34.55 kB / 0.9964 GB, free: 101.1 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=5): time 1.292e-06/1.404, allocations: 4 kB / 0.9964 GB, free: 101.1 MB / 0.5886 GB Notification: Performance of matching and sorting (n=7): time 0.0005567/1.405, allocations: 279.6 kB / 0.9967 GB, free: 100.8 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.223e-05/1.405, allocations: 54.22 kB / 0.9967 GB, free: 100.7 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.157e-05/1.405, allocations: 89 kB / 0.9968 GB, free: 100.6 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.127e-05/1.405, allocations: 25.7 kB / 0.9968 GB, free: 100.6 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 3.455e-05/1.405, allocations: 95.34 kB / 0.9969 GB, free: 100.5 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 1.285e-05/1.405, allocations: 21.47 kB / 0.997 GB, free: 100.5 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.008e-06/1.405, allocations: 0 / 0.997 GB, free: 100.5 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 5.457e-05/1.405, allocations: 322.7 kB / 0.9973 GB, free: 100.1 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.099e-05/1.405, allocations: 8 kB / 0.9973 GB, free: 100.1 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.958e-05/1.405, allocations: 48.03 kB / 0.9973 GB, free: 100.1 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.554e-05/1.405, allocations: 23.45 kB / 0.9973 GB, free: 100.1 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.61e-07/1.405, allocations: 0 / 0.9973 GB, free: 100.1 MB / 0.5886 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001086/1.405, allocations: 80.88 kB / 0.9974 GB, free: 99.98 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.525e-05/1.405, allocations: 14.73 kB / 0.9974 GB, free: 99.97 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.871e-06/1.405, allocations: 0 / 0.9974 GB, free: 99.97 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.516e-05/1.405, allocations: 4 kB / 0.9974 GB, free: 99.96 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.804e-05/1.405, allocations: 19.94 kB / 0.9974 GB, free: 99.95 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.174e-06/1.405, allocations: 0 / 0.9974 GB, free: 99.95 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.103e-05/1.406, allocations: 7.906 kB / 0.9975 GB, free: 99.94 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.995e-06/1.406, allocations: 5.172 kB / 0.9975 GB, free: 99.93 MB / 0.5886 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (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 prepare postOptimizeDAE: time 5.983e-05/1.406, allocations: 116.2 kB / 0.9976 GB, free: 99.82 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.163e-05/1.406, allocations: 4 kB / 0.9976 GB, free: 99.81 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.878e-05/1.406, allocations: 11.34 kB / 0.9976 GB, free: 99.8 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.454e-06/1.406, allocations: 0 / 0.9976 GB, free: 99.8 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.982e-06/1.406, allocations: 0 / 0.9976 GB, free: 99.8 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.388e-06/1.406, allocations: 4.281 kB / 0.9976 GB, free: 99.8 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001978/1.406, allocations: 151.2 kB / 0.9977 GB, free: 99.62 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.883e-06/1.406, allocations: 0 / 0.9977 GB, free: 99.62 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.132e-05/1.406, allocations: 16 kB / 0.9977 GB, free: 99.61 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.484e-06/1.406, allocations: 0 / 0.9977 GB, free: 99.61 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.084e-05/1.406, allocations: 7.984 kB / 0.9978 GB, free: 99.6 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.015e-06/1.406, allocations: 5.672 kB / 0.9978 GB, free: 99.59 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.876e-06/1.406, allocations: 0 / 0.9978 GB, free: 99.59 MB / 0.5886 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.000141/1.406, allocations: 165.6 kB / 0.9979 GB, free: 99.43 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 3.56e-05/1.406, allocations: 81.11 kB / 0.998 GB, free: 99.33 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.814e-05/1.406, allocations: 7.922 kB / 0.998 GB, free: 99.32 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001036/1.406, allocations: 0 / 0.998 GB, free: 99.32 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.636e-05/1.406, allocations: 4 kB / 0.998 GB, free: 99.32 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.921e-06/1.406, allocations: 4 kB / 0.998 GB, free: 99.31 MB / 0.5886 GB Notification: Performance of sort global known variables: time 2.174e-05/1.406, allocations: 83.03 kB / 0.9981 GB, free: 99.23 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0002391/1.407, allocations: 19.89 kB / 0.9981 GB, free: 99.21 MB / 0.5886 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (hLiqSym,cpSym,cvSym) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 7 * 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.0001816/1.407, allocations: 111.9 kB / 0.9982 GB, free: 99.1 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 9.594e-05/1.407, allocations: 45.64 kB / 0.9983 GB, free: 99.06 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/1.407, allocations: 0 / 0.9983 GB, free: 99.06 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 1.791e-05/1.407, allocations: 11.69 kB / 0.9983 GB, free: 99.05 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00017/1.407, allocations: 4 kB / 0.9983 GB, free: 99.05 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004775/1.408, allocations: 257.8 kB / 0.9985 GB, free: 98.79 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001564/1.408, allocations: 0.7036 MB / 0.9992 GB, free: 98.05 MB / 0.5886 GB Notification: Performance of SimCode: time 2.3e-07/1.408, allocations: 0 / 0.9992 GB, free: 98.05 MB / 0.5886 GB Notification: Performance of Templates: time 0.002905/1.411, allocations: 0.8038 MB / 1 GB, free: 97.29 MB / 0.5886 GB make -j1 -f Buildings_3.0.0_Buildings.Media.Examples.WaterDerivativeCheck.makefile (rm -f Buildings_3.0.0_Buildings.Media.Examples.WaterDerivativeCheck.pipe ; mkfifo Buildings_3.0.0_Buildings.Media.Examples.WaterDerivativeCheck.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Media.Examples.WaterDerivativeCheck.pipe >> ../files/Buildings_3.0.0_Buildings.Media.Examples.WaterDerivativeCheck.sim & ./Buildings_3.0.0_Buildings.Media.Examples.WaterDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Media.Examples.WaterDerivativeCheck.pipe 2>&1)