Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_3.0.0_Buildings.BoundaryConditions.SolarGeometry.Examples.ProjectedShadowLength.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.SolarGeometry.Examples.ProjectedShadowLength,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.BoundaryConditions.SolarGeometry.Examples.ProjectedShadowLength") translateModel(Buildings.BoundaryConditions.SolarGeometry.Examples.ProjectedShadowLength,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.BoundaryConditions.SolarGeometry.Examples.ProjectedShadowLength") [: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.7467/0.7467, allocations: 132.4 MB / 139.7 MB, free: 15.56 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.001186/0.001186, allocations: 168.6 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.832/1.832, allocations: 170.5 MB / 373.9 MB, free: 15.82 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.001833/0.001832, allocations: 111 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.7445/0.7445, allocations: 73.39 MB / 0.666 GB, free: 62.34 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1907/0.9353, allocations: 107.9 MB / 0.7714 GB, free: 12.34 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003514/0.9358, allocations: 75.97 kB / 0.7715 GB, free: 12.27 MB / 490.7 MB Notification: Performance of FrontEnd: time 0.7883/1.724, allocations: 129.4 MB / 0.8978 GB, free: 173.2 MB / 0.573 GB Notification: Performance of Transformations before backend: time 6.277e-05/1.724, allocations: 13.62 kB / 0.8978 GB, free: 173.2 MB / 0.573 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 172 * Number of variables: 172 Notification: Performance of Generate backend data structure: time 0.003549/1.728, allocations: 1.008 MB / 0.8988 GB, free: 172.5 MB / 0.573 GB Notification: Performance of prepare preOptimizeDAE: time 7.096e-05/1.728, allocations: 8.875 kB / 0.8988 GB, free: 172.5 MB / 0.573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006227/1.729, allocations: 89.59 kB / 0.8989 GB, free: 172.4 MB / 0.573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.2119/1.94, allocations: 116.5 MB / 1.013 GB, free: 75.19 MB / 0.573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001309/1.941, allocations: 24 kB / 1.013 GB, free: 75.16 MB / 0.573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004048/1.941, allocations: 40 kB / 1.013 GB, free: 75.12 MB / 0.573 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001827/1.943, allocations: 419.2 kB / 1.013 GB, free: 74.71 MB / 0.573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001801/1.945, allocations: 0.5598 MB / 1.014 GB, free: 74.14 MB / 0.573 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.153e-05/1.945, allocations: 0 / 1.014 GB, free: 74.14 MB / 0.573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.149e-05/1.945, allocations: 4 kB / 1.014 GB, free: 74.13 MB / 0.573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.553e-05/1.945, allocations: 20 kB / 1.014 GB, free: 74.11 MB / 0.573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004396/1.949, allocations: 1.717 MB / 1.015 GB, free: 72.35 MB / 0.573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001186/1.951, allocations: 0.5783 MB / 1.016 GB, free: 71.73 MB / 0.573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004263/1.951, allocations: 276.3 kB / 1.016 GB, free: 71.45 MB / 0.573 GB Notification: Performance of preOpt evalFunc (simulation): time 9.888e-05/1.951, allocations: 15.98 kB / 1.016 GB, free: 71.44 MB / 0.573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.406e-05/1.951, allocations: 54.39 kB / 1.016 GB, free: 71.38 MB / 0.573 GB Notification: Performance of pre-optimization done (n=72): time 4.449e-06/1.951, allocations: 0 / 1.016 GB, free: 71.38 MB / 0.573 GB Notification: Performance of matching and sorting (n=72): time 0.001305/1.952, allocations: 0.4972 MB / 1.017 GB, free: 70.88 MB / 0.573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001403/1.953, allocations: 255.2 kB / 1.017 GB, free: 70.57 MB / 0.573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003615/1.953, allocations: 254 kB / 1.017 GB, free: 70.32 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 4.876e-05/1.953, allocations: 29.7 kB / 1.017 GB, free: 70.28 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001531/1.953, allocations: 236.6 kB / 1.017 GB, free: 70.04 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001815/1.953, allocations: 228.5 kB / 1.018 GB, free: 69.82 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.078e-05/1.953, allocations: 4 kB / 1.018 GB, free: 69.81 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 0.0001518/1.954, allocations: 350.8 kB / 1.018 GB, free: 69.46 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002574/1.954, allocations: 161.3 kB / 1.018 GB, free: 69.3 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002889/1.954, allocations: 220.6 kB / 1.018 GB, free: 69.07 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003998/1.955, allocations: 171 kB / 1.019 GB, free: 68.91 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.726e-06/1.955, allocations: 4 kB / 1.019 GB, free: 68.91 MB / 0.573 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.0007635/1.955, allocations: 0.5109 MB / 1.019 GB, free: 68.39 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 2.496e-05/1.955, allocations: 4 kB / 1.019 GB, free: 68.39 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.164e-05/1.955, allocations: 4 kB / 1.019 GB, free: 68.39 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.05e-05/1.955, allocations: 3.938 kB / 1.019 GB, free: 68.38 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005154/1.956, allocations: 107.8 kB / 1.019 GB, free: 68.28 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.144e-05/1.956, allocations: 0 / 1.019 GB, free: 68.28 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006316/1.957, allocations: 75.42 kB / 1.019 GB, free: 68.2 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.956e-05/1.957, allocations: 23.98 kB / 1.019 GB, free: 68.18 MB / 0.573 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 4 (proShaLenEas.lessThreshold.y,proShaLenSou.lessThreshold.y,proShaLenWes.lessThreshold.y,proShaLenNor.lessThreshold.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (64): * Single equations (assignments): 60 * Array equations: 0 * Algorithm blocks: 4 * 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 0.0002313/1.957, allocations: 236.6 kB / 1.019 GB, free: 67.92 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001548/1.957, allocations: 59.33 kB / 1.02 GB, free: 67.86 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001682/1.959, allocations: 0.7981 MB / 1.02 GB, free: 67.06 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.525e-05/1.959, allocations: 8 kB / 1.02 GB, free: 67.05 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.007e-05/1.959, allocations: 3.906 kB / 1.02 GB, free: 67.05 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.488e-05/1.959, allocations: 7.984 kB / 1.02 GB, free: 67.04 MB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009221/1.96, allocations: 0.6066 MB / 1.021 GB, free: 66.4 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.111e-06/1.96, allocations: 4 kB / 1.021 GB, free: 66.39 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005619/1.96, allocations: 131.8 kB / 1.021 GB, free: 66.27 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.278e-06/1.96, allocations: 8 kB / 1.021 GB, free: 66.26 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.429e-05/1.961, allocations: 23.97 kB / 1.021 GB, free: 66.23 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.162e-06/1.961, allocations: 4 kB / 1.021 GB, free: 66.23 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.822e-06/1.961, allocations: 3.938 kB / 1.021 GB, free: 66.23 MB / 0.573 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001158/1.962, allocations: 1.037 MB / 1.022 GB, free: 65.15 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002969/1.962, allocations: 220.2 kB / 1.022 GB, free: 64.91 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.227e-05/1.962, allocations: 4 kB / 1.022 GB, free: 64.91 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007207/1.963, allocations: 47.86 kB / 1.022 GB, free: 64.86 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001769/1.963, allocations: 51.92 kB / 1.022 GB, free: 64.81 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.823e-05/1.963, allocations: 31.98 kB / 1.022 GB, free: 64.78 MB / 0.573 GB Notification: Performance of sort global known variables: time 0.0002102/1.963, allocations: 204.6 kB / 1.023 GB, free: 64.58 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.0007253/1.964, allocations: 155.4 kB / 1.023 GB, free: 64.43 MB / 0.573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 4 (proShaLenEas.lessThreshold.y,proShaLenSou.lessThreshold.y,proShaLenWes.lessThreshold.y,proShaLenNor.lessThreshold.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (92): * Single equations (assignments): 88 * Array equations: 0 * Algorithm blocks: 4 * 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.0002278/1.964, allocations: 119 kB / 1.023 GB, free: 64.3 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.000976/1.965, allocations: 0.6296 MB / 1.024 GB, free: 63.65 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 3.497e-06/1.965, allocations: 0 / 1.024 GB, free: 63.65 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.0005627/1.966, allocations: 0.5011 MB / 1.024 GB, free: 63.12 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004405/1.966, allocations: 30.58 kB / 1.024 GB, free: 63.1 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002091/1.968, allocations: 0.8974 MB / 1.025 GB, free: 62.17 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000795/1.969, allocations: 0.9939 MB / 1.026 GB, free: 61.15 MB / 0.573 GB Notification: Performance of SimCode: time 6.91e-07/1.969, allocations: 0 / 1.026 GB, free: 61.15 MB / 0.573 GB Notification: Performance of Templates: time 0.01292/1.982, allocations: 6.026 MB / 1.032 GB, free: 55.18 MB / 0.573 GB make -j1 -f Buildings_3.0.0_Buildings.BoundaryConditions.SolarGeometry.Examples.ProjectedShadowLength.makefile (rm -f Buildings_3.0.0_Buildings.BoundaryConditions.SolarGeometry.Examples.ProjectedShadowLength.pipe ; mkfifo Buildings_3.0.0_Buildings.BoundaryConditions.SolarGeometry.Examples.ProjectedShadowLength.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.BoundaryConditions.SolarGeometry.Examples.ProjectedShadowLength.pipe >> ../files/Buildings_3.0.0_Buildings.BoundaryConditions.SolarGeometry.Examples.ProjectedShadowLength.sim & ./Buildings_3.0.0_Buildings.BoundaryConditions.SolarGeometry.Examples.ProjectedShadowLength -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.BoundaryConditions.SolarGeometry.Examples.ProjectedShadowLength.pipe 2>&1)