Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_3.0.0_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.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.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck") translateModel(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck") [: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.8021/0.8021, allocations: 132.4 MB / 139.7 MB, free: 15.57 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.001922/0.001922, allocations: 173.8 kB / 171.6 MB, free: 1.988 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.728/1.728, 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.002013/0.002013, allocations: 116.8 kB / 444.4 MB, free: 9.355 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.609/0.609, allocations: 73.39 MB / 0.666 GB, free: 62.38 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.7585/1.368, allocations: 314.2 MB / 0.9728 GB, free: 119.8 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002215/1.368, allocations: 77.89 kB / 0.9729 GB, free: 119.8 MB / 0.5886 GB Notification: Performance of FrontEnd: time 0.01706/1.385, allocations: 7.693 MB / 0.9804 GB, free: 113.8 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 1.279e-05/1.385, allocations: 4 kB / 0.9804 GB, free: 113.8 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.0003387/1.385, allocations: 345.5 kB / 0.9808 GB, free: 113.4 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 4.5e-05/1.385, allocations: 8.031 kB / 0.9808 GB, free: 113.4 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002346/1.386, allocations: 17.33 kB / 0.9808 GB, free: 113.4 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001043/1.386, allocations: 170.9 kB / 0.981 GB, free: 113.2 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.511e-05/1.386, allocations: 0 / 0.981 GB, free: 113.2 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.768e-05/1.386, allocations: 4 kB / 0.981 GB, free: 113.2 MB / 0.5886 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.202e-05/1.386, allocations: 4 kB / 0.981 GB, free: 113.2 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000106/1.386, allocations: 63.02 kB / 0.981 GB, free: 113.1 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.191e-05/1.386, allocations: 11.92 kB / 0.981 GB, free: 113.1 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.544e-05/1.386, allocations: 3.938 kB / 0.981 GB, free: 113.1 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.515e-06/1.386, allocations: 7.984 kB / 0.981 GB, free: 113.1 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005268/1.387, allocations: 426.2 kB / 0.9815 GB, free: 112.6 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001093/1.387, allocations: 66.59 kB / 0.9815 GB, free: 112.5 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.854e-05/1.387, allocations: 21.92 kB / 0.9815 GB, free: 112.5 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 1.194e-05/1.387, allocations: 4.922 kB / 0.9815 GB, free: 112.5 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.335e-05/1.387, allocations: 34.56 kB / 0.9816 GB, free: 112.5 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=5): time 1.513e-06/1.387, allocations: 0 / 0.9816 GB, free: 112.5 MB / 0.5886 GB Notification: Performance of matching and sorting (n=7): time 0.0005922/1.387, allocations: 284 kB / 0.9818 GB, free: 112.1 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.162e-05/1.387, allocations: 106.8 kB / 0.9819 GB, free: 112 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.772e-05/1.388, allocations: 96.92 kB / 0.982 GB, free: 111.9 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.467e-05/1.388, allocations: 25.7 kB / 0.9821 GB, free: 111.9 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 3.124e-05/1.388, allocations: 86.98 kB / 0.9821 GB, free: 111.8 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 1.559e-05/1.388, allocations: 27.08 kB / 0.9822 GB, free: 111.8 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.537e-06/1.388, allocations: 4 kB / 0.9822 GB, free: 111.8 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 6.599e-05/1.388, allocations: 317.8 kB / 0.9825 GB, free: 111.5 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.201e-05/1.388, allocations: 8 kB / 0.9825 GB, free: 111.4 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.566e-05/1.388, allocations: 47.84 kB / 0.9825 GB, free: 111.4 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.508e-05/1.388, allocations: 23.55 kB / 0.9826 GB, free: 111.4 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/1.388, allocations: 3.906 kB / 0.9826 GB, free: 111.4 MB / 0.5886 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001324/1.388, allocations: 78.8 kB / 0.9826 GB, free: 111.3 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.319e-05/1.388, allocations: 4 kB / 0.9826 GB, free: 111.3 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.073e-06/1.388, allocations: 4.812 kB / 0.9826 GB, free: 111.3 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.436e-05/1.388, allocations: 0 / 0.9826 GB, free: 111.3 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.303e-05/1.388, allocations: 27.92 kB / 0.9827 GB, free: 111.3 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.645e-06/1.388, allocations: 4.125 kB / 0.9827 GB, free: 111.3 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.201e-05/1.388, allocations: 3.906 kB / 0.9827 GB, free: 111.2 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.474e-06/1.388, allocations: 7.672 kB / 0.9827 GB, free: 111.2 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 6.52e-05/1.388, allocations: 105.9 kB / 0.9828 GB, free: 111.1 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.778e-05/1.388, allocations: 7.906 kB / 0.9828 GB, free: 111.1 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.468e-05/1.388, allocations: 8.5 kB / 0.9828 GB, free: 111.1 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.825e-06/1.388, allocations: 3.938 kB / 0.9828 GB, free: 111.1 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.953e-06/1.388, allocations: 4 kB / 0.9828 GB, free: 111.1 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.999e-06/1.388, allocations: 4.453 kB / 0.9828 GB, free: 111.1 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000293/1.389, allocations: 150.1 kB / 0.983 GB, free: 110.9 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.555e-06/1.389, allocations: 0 / 0.983 GB, free: 110.9 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.168e-05/1.389, allocations: 19.92 kB / 0.983 GB, free: 110.9 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.14e-06/1.389, allocations: 4 kB / 0.983 GB, free: 110.9 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.369e-05/1.389, allocations: 7.656 kB / 0.983 GB, free: 110.9 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.645e-06/1.389, allocations: 0 / 0.983 GB, free: 110.9 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.57e-06/1.389, allocations: 4 kB / 0.983 GB, free: 110.9 MB / 0.5886 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002142/1.389, allocations: 349 kB / 0.9833 GB, free: 110.5 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 4.713e-05/1.389, allocations: 85.02 kB / 0.9834 GB, free: 110.4 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.678e-05/1.389, allocations: 0 / 0.9834 GB, free: 110.4 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001794/1.389, allocations: 5.422 kB / 0.9834 GB, free: 110.4 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.644e-05/1.389, allocations: 4 kB / 0.9834 GB, free: 110.4 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.165e-06/1.389, allocations: 8 kB / 0.9834 GB, free: 110.4 MB / 0.5886 GB Notification: Performance of sort global known variables: time 2.063e-05/1.389, allocations: 79.28 kB / 0.9835 GB, free: 110.4 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0003178/1.39, allocations: 12 kB / 0.9835 GB, free: 110.3 MB / 0.5886 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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.0001415/1.39, allocations: 107.3 kB / 0.9836 GB, free: 110.2 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0001082/1.39, allocations: 39.75 kB / 0.9836 GB, free: 110.2 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 2.195e-06/1.39, allocations: 0 / 0.9836 GB, free: 110.2 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 2.045e-05/1.39, allocations: 19 kB / 0.9837 GB, free: 110.2 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002534/1.39, allocations: 9.484 kB / 0.9837 GB, free: 110.2 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005197/1.391, allocations: 279.5 kB / 0.9839 GB, free: 109.9 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000164/1.391, allocations: 0.6958 MB / 0.9846 GB, free: 109.2 MB / 0.5886 GB Notification: Performance of SimCode: time 3.5e-07/1.391, allocations: 0 / 0.9846 GB, free: 109.2 MB / 0.5886 GB Notification: Performance of Templates: time 0.002867/1.394, allocations: 0.6597 MB / 0.9853 GB, free: 108.6 MB / 0.5886 GB make -j1 -f Buildings_3.0.0_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.makefile (rm -f Buildings_3.0.0_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.pipe ; mkfifo Buildings_3.0.0_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.pipe >> ../files/Buildings_3.0.0_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.sim & ./Buildings_3.0.0_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.pipe 2>&1)