Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_3.0.0_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber.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.RayleighNumber,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber") translateModel(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber") [: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.8217/0.8217, allocations: 132.4 MB / 139.7 MB, free: 15.54 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.001064/0.001064, allocations: 168.3 kB / 171.6 MB, free: 1.969 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.519/1.519, allocations: 170.5 MB / 373.9 MB, free: 15.87 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.001838/0.001838, allocations: 110.3 kB / 444.4 MB, free: 9.395 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.5365/0.5366, allocations: 73.4 MB / 0.666 GB, free: 62.32 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.7224/1.259, allocations: 318.8 MB / 0.9774 GB, free: 119 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002627/1.259, allocations: 82.89 kB / 0.9774 GB, free: 119 MB / 0.5886 GB Notification: Performance of FrontEnd: time 0.02491/1.284, allocations: 11.66 MB / 0.9888 GB, free: 110.1 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 8.076e-06/1.284, allocations: 0 / 0.9888 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: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0004272/1.285, allocations: 389.4 kB / 0.9892 GB, free: 109.7 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 4.913e-05/1.285, allocations: 8.031 kB / 0.9892 GB, free: 109.7 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.55e-05/1.285, allocations: 13.69 kB / 0.9892 GB, free: 109.7 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001109/1.285, allocations: 163.1 kB / 0.9894 GB, free: 109.5 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.312e-05/1.285, allocations: 4 kB / 0.9894 GB, free: 109.5 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.506e-05/1.285, allocations: 11 kB / 0.9894 GB, free: 109.5 MB / 0.5886 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00015/1.285, allocations: 54.97 kB / 0.9894 GB, free: 109.4 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001114/1.285, allocations: 60.8 kB / 0.9895 GB, free: 109.4 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.765e-06/1.285, allocations: 0 / 0.9895 GB, free: 109.4 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.285e-05/1.285, allocations: 0 / 0.9895 GB, free: 109.4 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.712e-06/1.285, allocations: 4 kB / 0.9895 GB, free: 109.4 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004526/1.286, allocations: 305.3 kB / 0.9898 GB, free: 109.1 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001083/1.286, allocations: 72.48 kB / 0.9899 GB, free: 109 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.408e-05/1.286, allocations: 35.34 kB / 0.9899 GB, free: 109 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007253/1.287, allocations: 0.7544 MB / 0.9906 GB, free: 108.1 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.303e-05/1.287, allocations: 42.19 kB / 0.9907 GB, free: 108.1 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=8): time 1.222e-06/1.287, allocations: 0 / 0.9907 GB, free: 108.1 MB / 0.5886 GB Notification: Performance of matching and sorting (n=8): time 0.0003879/1.287, allocations: 111.2 kB / 0.9908 GB, free: 108 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.753e-05/1.287, allocations: 55.41 kB / 0.9908 GB, free: 107.9 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.644e-05/1.287, allocations: 112.7 kB / 0.9909 GB, free: 107.8 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.127e-05/1.287, allocations: 29.7 kB / 0.991 GB, free: 107.8 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 3.549e-05/1.287, allocations: 91.16 kB / 0.991 GB, free: 107.7 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 1.717e-05/1.287, allocations: 23.59 kB / 0.9911 GB, free: 107.7 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.201e-06/1.287, allocations: 0 / 0.9911 GB, free: 107.7 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 7.595e-05/1.288, allocations: 322.5 kB / 0.9914 GB, free: 107.4 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.696e-05/1.288, allocations: 19.67 kB / 0.9914 GB, free: 107.3 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.312e-05/1.288, allocations: 32.97 kB / 0.9914 GB, free: 107.3 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001915/1.288, allocations: 55.08 kB / 0.9915 GB, free: 107.3 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/1.288, allocations: 0 / 0.9915 GB, free: 107.3 MB / 0.5886 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002632/1.288, allocations: 120.7 kB / 0.9916 GB, free: 107.2 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.204e-05/1.288, allocations: 8 kB / 0.9916 GB, free: 107.2 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.362e-06/1.288, allocations: 1.406 kB / 0.9916 GB, free: 107.2 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.391e-05/1.288, allocations: 0 / 0.9916 GB, free: 107.2 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001439/1.288, allocations: 27.17 kB / 0.9916 GB, free: 107.1 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.13e-06/1.288, allocations: 4 kB / 0.9916 GB, free: 107.1 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.872e-05/1.288, allocations: 20.67 kB / 0.9917 GB, free: 107.1 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.046e-05/1.288, allocations: 4 kB / 0.9917 GB, free: 107.1 MB / 0.5886 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 9 * 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.916e-05/1.288, allocations: 101.9 kB / 0.9918 GB, free: 107 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3e-05/1.289, allocations: 7.906 kB / 0.9918 GB, free: 107 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003411/1.289, allocations: 128 kB / 0.9919 GB, free: 106.9 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.516e-06/1.289, allocations: 4 kB / 0.9919 GB, free: 106.9 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.18e-06/1.289, allocations: 0 / 0.9919 GB, free: 106.9 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.669e-06/1.289, allocations: 3.984 kB / 0.9919 GB, free: 106.9 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001418/1.289, allocations: 171.3 kB / 0.9921 GB, free: 106.7 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.625e-06/1.289, allocations: 8.531 kB / 0.9921 GB, free: 106.7 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001122/1.289, allocations: 27.92 kB / 0.9921 GB, free: 106.7 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.854e-06/1.289, allocations: 0 / 0.9921 GB, free: 106.7 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.131e-05/1.289, allocations: 4 kB / 0.9921 GB, free: 106.7 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.172e-06/1.289, allocations: 0 / 0.9921 GB, free: 106.7 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.004e-06/1.289, allocations: 0 / 0.9921 GB, free: 106.7 MB / 0.5886 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002968/1.29, allocations: 222.3 kB / 0.9923 GB, free: 106.4 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 5.485e-05/1.29, allocations: 89 kB / 0.9924 GB, free: 106.3 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.551e-05/1.29, allocations: 0 / 0.9924 GB, free: 106.3 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001048/1.29, allocations: 7.984 kB / 0.9924 GB, free: 106.3 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.712e-05/1.29, allocations: 8.438 kB / 0.9924 GB, free: 106.3 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.452e-06/1.29, allocations: 0 / 0.9924 GB, free: 106.3 MB / 0.5886 GB Notification: Performance of sort global known variables: time 4.517e-05/1.29, allocations: 100.5 kB / 0.9925 GB, free: 106.2 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0002651/1.29, allocations: 23.38 kB / 0.9925 GB, free: 106.2 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 (8): * Single equations (assignments): 8 * 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.0003346/1.29, allocations: 131.2 kB / 0.9927 GB, free: 106.1 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.000149/1.291, allocations: 58.91 kB / 0.9927 GB, free: 106 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.973e-06/1.291, allocations: 4 kB / 0.9927 GB, free: 106 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 4.704e-05/1.291, allocations: 26.44 kB / 0.9927 GB, free: 106 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002118/1.291, allocations: 11.59 kB / 0.9927 GB, free: 106 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000363/1.291, allocations: 101.2 kB / 0.9928 GB, free: 105.9 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000299/1.292, allocations: 0.7109 MB / 0.9935 GB, free: 105.2 MB / 0.5886 GB Notification: Performance of SimCode: time 2.7e-07/1.292, allocations: 0 / 0.9935 GB, free: 105.2 MB / 0.5886 GB Notification: Performance of Templates: time 0.004092/1.296, allocations: 1.291 MB / 0.9948 GB, free: 103.9 MB / 0.5886 GB make -j1 -f Buildings_3.0.0_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber.makefile (rm -f Buildings_3.0.0_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber.pipe ; mkfifo Buildings_3.0.0_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber.pipe >> ../files/Buildings_3.0.0_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber.sim & ./Buildings_3.0.0_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber.pipe 2>&1)