Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_3.0.0_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.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.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss") translateModel(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss") [: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.8208/0.8208, 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.001264/0.001264, allocations: 168.9 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.626/1.626, allocations: 170.5 MB / 373.9 MB, free: 15.91 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.00179/0.00179, allocations: 125.6 kB / 444.5 MB, free: 9.445 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.5273/0.5273, allocations: 73.39 MB / 0.666 GB, free: 62.28 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6476/1.175, allocations: 321.3 MB / 0.9798 GB, free: 118.5 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002181/1.175, allocations: 84.81 kB / 0.9799 GB, free: 118.5 MB / 0.5886 GB Notification: Performance of FrontEnd: time 0.0216/1.197, allocations: 9.195 MB / 0.9889 GB, free: 111.3 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 1.888e-05/1.197, allocations: 4 kB / 0.9889 GB, free: 111.2 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: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.0008704/1.198, allocations: 0.5261 MB / 0.9894 GB, free: 110.7 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 4.206e-05/1.198, allocations: 8.031 kB / 0.9894 GB, free: 110.7 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.053e-05/1.198, allocations: 27.62 kB / 0.9894 GB, free: 110.7 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006102/1.199, allocations: 289.1 kB / 0.9897 GB, free: 110.4 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.263e-05/1.199, allocations: 2.734 kB / 0.9897 GB, free: 110.4 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.589e-05/1.199, allocations: 4 kB / 0.9897 GB, free: 110.3 MB / 0.5886 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001833/1.199, allocations: 72.56 kB / 0.9898 GB, free: 110.3 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001916/1.199, allocations: 91.52 kB / 0.9899 GB, free: 110.2 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.135e-05/1.199, allocations: 3.906 kB / 0.9899 GB, free: 110.2 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.735e-05/1.199, allocations: 0 / 0.9899 GB, free: 110.2 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.875e-06/1.199, allocations: 11.97 kB / 0.9899 GB, free: 110.2 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000733/1.2, allocations: 443.2 kB / 0.9903 GB, free: 109.8 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001549/1.2, allocations: 104.2 kB / 0.9904 GB, free: 109.7 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.644e-05/1.2, allocations: 50.84 kB / 0.9904 GB, free: 109.7 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 2.257e-05/1.2, allocations: 0 / 0.9904 GB, free: 109.7 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.975e-05/1.2, allocations: 34.19 kB / 0.9905 GB, free: 109.6 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=10): time 1.984e-06/1.2, allocations: 4 kB / 0.9905 GB, free: 109.6 MB / 0.5886 GB Notification: Performance of matching and sorting (n=10): time 0.0005633/1.201, allocations: 185.3 kB / 0.9907 GB, free: 109.5 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.236e-05/1.201, allocations: 51.41 kB / 0.9907 GB, free: 109.4 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001787/1.201, allocations: 206.8 kB / 0.9909 GB, free: 109.2 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 2.012e-05/1.201, allocations: 25.7 kB / 0.9909 GB, free: 109.2 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 4.574e-05/1.201, allocations: 104.2 kB / 0.991 GB, free: 109.1 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 2.863e-05/1.201, allocations: 31.17 kB / 0.9911 GB, free: 109.1 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.344e-05/1.201, allocations: 0 / 0.9911 GB, free: 109.1 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 7.976e-05/1.201, allocations: 338.4 kB / 0.9914 GB, free: 108.7 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001211/1.201, allocations: 68.86 kB / 0.9915 GB, free: 108.7 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001105/1.201, allocations: 79.69 kB / 0.9915 GB, free: 108.6 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003453/1.202, allocations: 113.4 kB / 0.9916 GB, free: 108.6 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.158e-06/1.202, allocations: 0 / 0.9916 GB, free: 108.6 MB / 0.5886 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0008856/1.203, allocations: 336.7 kB / 0.992 GB, free: 108.3 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.491e-05/1.203, allocations: 7.984 kB / 0.992 GB, free: 108.3 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.542e-06/1.203, allocations: 0 / 0.992 GB, free: 108.3 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005926/1.203, allocations: 119.1 kB / 0.9921 GB, free: 108.2 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003009/1.204, allocations: 43.97 kB / 0.9921 GB, free: 108.1 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001513/1.205, allocations: 1.605 MB / 0.9937 GB, free: 106.6 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002424/1.205, allocations: 31.89 kB / 0.9937 GB, free: 106.5 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.342e-05/1.205, allocations: 4 kB / 0.9937 GB, free: 106.5 MB / 0.5886 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (14): * Single equations (assignments): 13 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 5} Notification: Performance of prepare postOptimizeDAE: time 9.046e-05/1.206, allocations: 106.4 kB / 0.9938 GB, free: 106.4 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.984e-05/1.206, allocations: 19.72 kB / 0.9938 GB, free: 106.4 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.11e-05/1.206, allocations: 28.52 kB / 0.9939 GB, free: 106.4 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.893e-06/1.206, allocations: 0 / 0.9939 GB, free: 106.4 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.256e-06/1.206, allocations: 1.062 kB / 0.9939 GB, free: 106.4 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.446e-06/1.206, allocations: 0 / 0.9939 GB, free: 106.4 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002253/1.206, allocations: 224 kB / 0.9941 GB, free: 106.2 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.823e-06/1.206, allocations: 4 kB / 0.9941 GB, free: 106.2 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002066/1.206, allocations: 43.95 kB / 0.9941 GB, free: 106.1 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.585e-06/1.206, allocations: 0 / 0.9941 GB, free: 106.1 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.443e-05/1.206, allocations: 0 / 0.9941 GB, free: 106.1 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.685e-06/1.206, allocations: 0.75 kB / 0.9941 GB, free: 106.1 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.156e-06/1.206, allocations: 7.906 kB / 0.9941 GB, free: 106.1 MB / 0.5886 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0004334/1.207, allocations: 287.6 kB / 0.9944 GB, free: 105.8 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 8.69e-05/1.207, allocations: 112.4 kB / 0.9945 GB, free: 105.7 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.48e-05/1.207, allocations: 0 / 0.9945 GB, free: 105.7 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002495/1.207, allocations: 21.09 kB / 0.9945 GB, free: 105.7 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.644e-05/1.207, allocations: 11.98 kB / 0.9945 GB, free: 105.7 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.236e-05/1.207, allocations: 4 kB / 0.9946 GB, free: 105.7 MB / 0.5886 GB Notification: Performance of sort global known variables: time 0.0001232/1.207, allocations: 159 kB / 0.9947 GB, free: 105.6 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0003217/1.208, allocations: 51.75 kB / 0.9948 GB, free: 105.5 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 (10): * Single equations (assignments): 10 * 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.0002443/1.208, allocations: 160.8 kB / 0.9949 GB, free: 105.3 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.000552/1.208, allocations: 277.3 kB / 0.9952 GB, free: 105.1 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 2.374e-06/1.208, allocations: 0 / 0.9952 GB, free: 105.1 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 8.467e-05/1.209, allocations: 50.92 kB / 0.9952 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.0002709/1.209, allocations: 19.83 kB / 0.9952 GB, free: 105.1 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005764/1.209, allocations: 250.1 kB / 0.9955 GB, free: 104.8 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002398/1.21, allocations: 0.7582 MB / 0.9962 GB, free: 104 MB / 0.5886 GB Notification: Performance of SimCode: time 2.3e-07/1.21, allocations: 0 / 0.9962 GB, free: 104 MB / 0.5886 GB Notification: Performance of Templates: time 0.006211/1.216, allocations: 2.968 MB / 0.9991 GB, free: 101.1 MB / 0.5886 GB make -j1 -f Buildings_3.0.0_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.makefile (rm -f Buildings_3.0.0_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.pipe ; mkfifo Buildings_3.0.0_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.pipe >> ../files/Buildings_3.0.0_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.sim & ./Buildings_3.0.0_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.pipe 2>&1)