Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_3.0.0_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.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.EN12975SolarGain,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain") translateModel(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain") [: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.7963/0.7963, 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.001233/0.001233, allocations: 170.5 kB / 171.6 MB, free: 2.004 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.574/1.574, allocations: 170.5 MB / 373.9 MB, free: 15.85 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.001706/0.001706, allocations: 101.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.4643/0.4644, allocations: 73.4 MB / 0.666 GB, free: 62.3 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.685/1.149, allocations: 321.2 MB / 0.9797 GB, free: 116.5 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002321/1.15, allocations: 84.48 kB / 0.9798 GB, free: 116.5 MB / 0.5886 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/Fluid/SolarCollectors/BaseClasses/EN12975SolarGain.mo:36:63-36:71:writable] Warning: Non-array modification '"W"' for array component, possibly due to missing 'each'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/Fluid/SolarCollectors/BaseClasses/EN12975SolarGain.mo:40:6-40:14:writable] Warning: Non-array modification '"K"' for array component, possibly due to missing 'each'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/Fluid/SolarCollectors/BaseClasses/EN12975SolarGain.mo:41:6-41:24:writable] Warning: Non-array modification '"degC"' for array component, possibly due to missing 'each'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/Fluid/SolarCollectors/BaseClasses/EN12975SolarGain.mo:42:6-42:28:writable] Warning: Non-array modification '"Temperature"' for array component, possibly due to missing 'each'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/Fluid/SolarCollectors/BaseClasses/EN12975SolarGain.mo:40:6-40:14:writable] Warning: Non-array modification '"K"' for array component, possibly due to missing 'each'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/Fluid/SolarCollectors/BaseClasses/EN12975SolarGain.mo:41:6-41:24:writable] Warning: Non-array modification '"degC"' for array component, possibly due to missing 'each'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/Fluid/SolarCollectors/BaseClasses/EN12975SolarGain.mo:42:6-42:28:writable] Warning: Non-array modification '"Temperature"' for array component, possibly due to missing 'each'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/Fluid/SolarCollectors/BaseClasses/EN12975SolarGain.mo:40:6-40:14:writable] Warning: Non-array modification '"K"' for array component, possibly due to missing 'each'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/Fluid/SolarCollectors/BaseClasses/EN12975SolarGain.mo:41:6-41:24:writable] Warning: Non-array modification '"degC"' for array component, possibly due to missing 'each'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/Fluid/SolarCollectors/BaseClasses/EN12975SolarGain.mo:42:6-42:28:writable] Warning: Non-array modification '"Temperature"' for array component, possibly due to missing 'each'. Notification: Performance of FrontEnd: time 0.02378/1.173, allocations: 9.919 MB / 0.9895 GB, free: 108.6 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 1.424e-05/1.174, allocations: 4 kB / 0.9895 GB, free: 108.6 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: 19 * Number of variables: 19 Notification: Performance of Generate backend data structure: time 0.0009541/1.175, allocations: 0.5794 MB / 0.99 GB, free: 108 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 4.397e-05/1.175, allocations: 12.03 kB / 0.9901 GB, free: 108 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.761e-05/1.175, allocations: 23.72 kB / 0.9901 GB, free: 108 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000601/1.175, allocations: 279 kB / 0.9903 GB, free: 107.7 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.293e-05/1.175, allocations: 3.547 kB / 0.9903 GB, free: 107.7 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.556e-05/1.175, allocations: 11.91 kB / 0.9904 GB, free: 107.7 MB / 0.5886 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000208/1.176, allocations: 96.34 kB / 0.9904 GB, free: 107.6 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001869/1.176, allocations: 104 kB / 0.9905 GB, free: 107.5 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.888e-05/1.176, allocations: 0 / 0.9905 GB, free: 107.5 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.085e-05/1.176, allocations: 4 kB / 0.9906 GB, free: 107.5 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.755e-06/1.176, allocations: 4 kB / 0.9906 GB, free: 107.5 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008073/1.177, allocations: 479.2 kB / 0.991 GB, free: 107.1 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001235/1.177, allocations: 76.38 kB / 0.9911 GB, free: 107 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.852e-05/1.177, allocations: 58.59 kB / 0.9911 GB, free: 107 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 2.737e-05/1.177, allocations: 7.531 kB / 0.9911 GB, free: 107 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.712e-05/1.177, allocations: 34.56 kB / 0.9912 GB, free: 106.9 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=11): time 1.332e-06/1.177, allocations: 224 / 0.9912 GB, free: 106.9 MB / 0.5886 GB Notification: Performance of matching and sorting (n=11): time 0.0009212/1.178, allocations: 276 kB / 0.9914 GB, free: 106.7 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.235e-05/1.178, allocations: 55.41 kB / 0.9915 GB, free: 106.6 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001597/1.178, allocations: 200.5 kB / 0.9917 GB, free: 106.5 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 2.157e-05/1.178, allocations: 25.7 kB / 0.9917 GB, free: 106.4 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 4.255e-05/1.178, allocations: 111 kB / 0.9918 GB, free: 106.3 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 3.736e-05/1.178, allocations: 39.33 kB / 0.9919 GB, free: 106.3 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.317e-05/1.178, allocations: 0 / 0.9919 GB, free: 106.3 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 6.194e-05/1.178, allocations: 333.6 kB / 0.9922 GB, free: 106 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.235e-05/1.178, allocations: 45.42 kB / 0.9922 GB, free: 105.9 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.596e-05/1.178, allocations: 44.98 kB / 0.9923 GB, free: 105.9 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006066/1.179, allocations: 173.1 kB / 0.9924 GB, free: 105.8 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.773e-06/1.179, allocations: 4 kB / 0.9924 GB, free: 105.8 MB / 0.5886 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0007852/1.18, allocations: 269.4 kB / 0.9927 GB, free: 105.5 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.554e-05/1.18, allocations: 4 kB / 0.9927 GB, free: 105.5 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.392e-06/1.18, allocations: 0 / 0.9927 GB, free: 105.5 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.405e-05/1.18, allocations: 3.938 kB / 0.9927 GB, free: 105.5 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003627/1.18, allocations: 63.94 kB / 0.9928 GB, free: 105.5 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.833e-06/1.18, allocations: 0 / 0.9928 GB, free: 105.5 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002436/1.181, allocations: 43.88 kB / 0.9928 GB, free: 105.4 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.195e-05/1.181, allocations: 7.797 kB / 0.9928 GB, free: 105.4 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 (11): * Single equations (assignments): 11 * 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 8.031e-05/1.181, allocations: 109.9 kB / 0.9929 GB, free: 105.3 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.813e-05/1.181, allocations: 19.72 kB / 0.9929 GB, free: 105.3 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009085/1.182, allocations: 310.6 kB / 0.9932 GB, free: 105 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.837e-06/1.182, allocations: 4 kB / 0.9932 GB, free: 105 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.801e-06/1.182, allocations: 3.906 kB / 0.9932 GB, free: 105 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.499e-06/1.182, allocations: 4 kB / 0.9932 GB, free: 105 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002377/1.182, allocations: 256.2 kB / 0.9935 GB, free: 104.8 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.274e-06/1.182, allocations: 5.375 kB / 0.9935 GB, free: 104.8 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003293/1.182, allocations: 59.95 kB / 0.9935 GB, free: 104.7 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.826e-06/1.182, allocations: 0 / 0.9935 GB, free: 104.7 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.262e-05/1.182, allocations: 7.984 kB / 0.9936 GB, free: 104.7 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.212e-06/1.182, allocations: 0 / 0.9936 GB, free: 104.7 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.535e-06/1.182, allocations: 0 / 0.9936 GB, free: 104.7 MB / 0.5886 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0007932/1.183, allocations: 387.4 kB / 0.9939 GB, free: 104.3 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 8.735e-05/1.183, allocations: 127.9 kB / 0.994 GB, free: 104.2 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.45e-05/1.183, allocations: 0 / 0.994 GB, free: 104.2 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002735/1.184, allocations: 35.97 kB / 0.9941 GB, free: 104.2 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.184e-05/1.184, allocations: 20.41 kB / 0.9941 GB, free: 104.2 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.708e-05/1.184, allocations: 3.984 kB / 0.9941 GB, free: 104.2 MB / 0.5886 GB Notification: Performance of sort global known variables: time 0.0001213/1.184, allocations: 166.3 kB / 0.9943 GB, free: 104 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0003054/1.184, allocations: 49.72 kB / 0.9943 GB, free: 104 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 (13): * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002663/1.184, allocations: 178.7 kB / 0.9945 GB, free: 103.8 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0002484/1.185, allocations: 124.1 kB / 0.9946 GB, free: 103.7 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/1.185, allocations: 0 / 0.9946 GB, free: 103.7 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.0001146/1.185, allocations: 72.61 kB / 0.9947 GB, free: 103.7 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000296/1.185, allocations: 27.56 kB / 0.9947 GB, free: 103.6 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000658/1.186, allocations: 261 kB / 0.9949 GB, free: 103.4 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003003/1.186, allocations: 0.7698 MB / 0.9957 GB, free: 102.6 MB / 0.5886 GB Notification: Performance of SimCode: time 2.31e-07/1.186, allocations: 0 / 0.9957 GB, free: 102.6 MB / 0.5886 GB Notification: Performance of Templates: time 0.005483/1.191, allocations: 2.958 MB / 0.9986 GB, free: 99.7 MB / 0.5886 GB make -j1 -f Buildings_3.0.0_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.makefile (rm -f Buildings_3.0.0_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.pipe ; mkfifo Buildings_3.0.0_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.pipe >> ../files/Buildings_3.0.0_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.sim & ./Buildings_3.0.0_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.pipe 2>&1)