Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_3.0.0_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.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.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic") translateModel(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic") [: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.8299/0.8299, allocations: 132.4 MB / 139.7 MB, free: 15.5 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.001071/0.001071, allocations: 171.3 kB / 171.6 MB, free: 2.023 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.733/1.733, allocations: 170.5 MB / 373.9 MB, free: 15.96 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.002194/0.002194, allocations: 106.8 kB / 444.4 MB, free: 9.492 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.6645/0.6645, allocations: 73.39 MB / 0.666 GB, free: 62.41 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.824/6.489, allocations: 2.13 GB / 2.796 GB, free: 67.3 MB / 0.6198 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003112/6.489, allocations: 92.78 kB / 2.796 GB, free: 67.21 MB / 0.6198 GB Notification: Performance of FrontEnd: time 0.6041/7.093, allocations: 84.54 MB / 2.879 GB, free: 195.3 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 9.076e-05/7.093, allocations: 17.25 kB / 2.879 GB, free: 195.3 MB / 0.6198 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 190 * Number of variables: 190 Notification: Performance of Generate backend data structure: time 0.002902/7.096, allocations: 1.099 MB / 2.88 GB, free: 194.6 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.884e-05/7.096, allocations: 11.91 kB / 2.88 GB, free: 194.6 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002395/7.099, allocations: 322.8 kB / 2.88 GB, free: 194.6 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001277/7.1, allocations: 0.5089 MB / 2.88 GB, free: 194.3 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.452e-05/7.1, allocations: 27.34 kB / 2.881 GB, free: 194.3 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001797/7.1, allocations: 44.25 kB / 2.881 GB, free: 194.3 MB / 0.6198 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001827/7.102, allocations: 1.001 MB / 2.882 GB, free: 194.3 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001359/7.103, allocations: 0.7018 MB / 2.882 GB, free: 194.2 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.146e-05/7.103, allocations: 2.281 kB / 2.882 GB, free: 194.2 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.109e-05/7.103, allocations: 0.9375 kB / 2.882 GB, free: 194.2 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.068e-05/7.103, allocations: 18.69 kB / 2.882 GB, free: 194.2 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004496/7.108, allocations: 2.217 MB / 2.884 GB, free: 193.5 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001135/7.109, allocations: 0.6835 MB / 2.885 GB, free: 193.5 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003936/7.11, allocations: 260.1 kB / 2.885 GB, free: 193.4 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007108/7.11, allocations: 469.2 kB / 2.886 GB, free: 193 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006261/7.111, allocations: 408.4 kB / 2.886 GB, free: 192.9 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=70): time 3.066e-06/7.111, allocations: 0 / 2.886 GB, free: 192.9 MB / 0.6198 GB Notification: Performance of matching and sorting (n=70): time 0.00219/7.113, allocations: 0.73 MB / 2.887 GB, free: 192.8 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.455e-05/7.113, allocations: 162.7 kB / 2.887 GB, free: 192.6 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006788/7.114, allocations: 425.3 kB / 2.887 GB, free: 192.5 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 8.656e-05/7.114, allocations: 35.39 kB / 2.887 GB, free: 192.5 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002318/7.114, allocations: 272.3 kB / 2.888 GB, free: 192.3 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002029/7.114, allocations: 220.4 kB / 2.888 GB, free: 192.2 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.856e-05/7.115, allocations: 0 / 2.888 GB, free: 192.2 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001153/7.115, allocations: 363.9 kB / 2.888 GB, free: 191.8 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003533/7.115, allocations: 219.7 kB / 2.888 GB, free: 191.8 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004076/7.115, allocations: 298.2 kB / 2.889 GB, free: 191.8 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008755/7.116, allocations: 337.2 kB / 2.889 GB, free: 191.8 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.809e-06/7.116, allocations: 0 / 2.889 GB, free: 191.8 MB / 0.6198 GB Notification: Performance of matching and sorting (n=77) (initialization): time 0.002027/7.118, allocations: 0.7876 MB / 2.89 GB, free: 191.7 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.533e-05/7.118, allocations: 3.875 kB / 2.89 GB, free: 191.7 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.23e-05/7.118, allocations: 3.406 kB / 2.89 GB, free: 191.7 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006182/7.119, allocations: 78.75 kB / 2.89 GB, free: 191.7 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008505/7.12, allocations: 153.2 kB / 2.89 GB, free: 191.7 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001782/7.122, allocations: 1.351 MB / 2.891 GB, free: 190.5 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000868/7.123, allocations: 74.31 kB / 2.891 GB, free: 190.4 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001308/7.123, allocations: 31.88 kB / 2.892 GB, free: 190.4 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition2,$whenCondition1,$PRE.weaDat.conTim1.tStart,weaDat.conTim1.tStart,$PRE.weaDat.conTim.tStart,weaDat.conTim.tStart) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (76): * Single equations (assignments): 73 * Array equations: 0 * Algorithm blocks: 2 * 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 1} Notification: Performance of prepare postOptimizeDAE: time 0.0002846/7.123, allocations: 116.4 kB / 2.892 GB, free: 190.3 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002886/7.123, allocations: 62.16 kB / 2.892 GB, free: 190.3 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003281/7.127, allocations: 0.9945 MB / 2.893 GB, free: 190.2 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.032e-05/7.127, allocations: 7.75 kB / 2.893 GB, free: 190.2 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.787e-06/7.127, allocations: 3.906 kB / 2.893 GB, free: 190.2 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.112e-05/7.127, allocations: 7.781 kB / 2.893 GB, free: 190.2 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001235/7.128, allocations: 0.6899 MB / 2.893 GB, free: 190 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.125e-06/7.128, allocations: 3.25 kB / 2.893 GB, free: 190 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008285/7.129, allocations: 150.8 kB / 2.893 GB, free: 190 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005547/7.129, allocations: 84.22 kB / 2.894 GB, free: 190 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.999e-05/7.129, allocations: 15.64 kB / 2.894 GB, free: 190 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002005/7.131, allocations: 1.379 MB / 2.895 GB, free: 188.8 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.734e-06/7.132, allocations: 0 / 2.895 GB, free: 188.8 MB / 0.6198 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002344/7.134, allocations: 0.8182 MB / 2.896 GB, free: 188.7 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005876/7.134, allocations: 271.1 kB / 2.896 GB, free: 188.5 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001978/7.135, allocations: 0 / 2.896 GB, free: 188.5 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007185/7.135, allocations: 57.86 kB / 2.896 GB, free: 188.5 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001086/7.136, allocations: 47.2 kB / 2.896 GB, free: 188.5 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.037e-05/7.136, allocations: 30.61 kB / 2.896 GB, free: 188.5 MB / 0.6198 GB Notification: Performance of sort global known variables: time 0.0005556/7.136, allocations: 343.3 kB / 2.896 GB, free: 188.4 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.001747/7.138, allocations: 383.6 kB / 2.897 GB, free: 188.4 MB / 0.6198 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition2,$whenCondition1,weaDat.conTim1.tStart,weaDat.conTim.tStart) * Number of discrete states: 2 (weaDat.conTim1.tStart,weaDat.conTim.tStart) * Top-level inputs: 0 Notification: Strong component statistics for simulation (78): * Single equations (assignments): 75 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.003333/7.141, allocations: 1.181 MB / 2.898 GB, free: 188.1 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.001891/7.143, allocations: 0.7304 MB / 2.899 GB, free: 187.9 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 7.383e-06/7.143, allocations: 3 kB / 2.899 GB, free: 187.9 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0008745/7.144, allocations: 438.3 kB / 2.899 GB, free: 187.8 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001319/7.145, allocations: 147.8 kB / 2.899 GB, free: 187.8 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005907/7.151, allocations: 1.236 MB / 2.9 GB, free: 187.5 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001486/7.153, allocations: 1.075 MB / 2.901 GB, free: 186.8 MB / 0.6198 GB Notification: Performance of SimCode: time 1.854e-06/7.153, allocations: 0 / 2.901 GB, free: 186.8 MB / 0.6198 GB Notification: Performance of Templates: time 0.0509/7.204, allocations: 16.85 MB / 2.918 GB, free: 185.2 MB / 0.6198 GB make -j1 -f Buildings_3.0.0_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.makefile (rm -f Buildings_3.0.0_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.pipe ; mkfifo Buildings_3.0.0_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.pipe >> ../files/Buildings_3.0.0_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.sim & ./Buildings_3.0.0_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.pipe 2>&1)