Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass") translateModel(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass") [: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(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.112/2.112, allocations: 284.9 MB / 292.2 MB, free: 10.74 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001578/0.001577, allocations: 189.2 kB / 360.4 MB, free: 7.516 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.61/1.61, allocations: 205.1 MB / 0.6188 GB, free: 12.44 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001275/0.001274, allocations: 88.06 kB / 0.7318 GB, free: 44.99 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 9.177e-06/9.277e-06, allocations: 0 / 0.8502 GB, free: 3.875 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5591/0.5592, allocations: 115.2 MB / 0.9628 GB, free: 78.16 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.469/5.028, allocations: 2.071 GB / 3.034 GB, free: 272.5 MB / 0.9323 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003049/5.029, allocations: 90.16 kB / 3.034 GB, free: 272.5 MB / 0.9323 GB Notification: Performance of FrontEnd: time 0.2311/5.26, allocations: 63.25 MB / 3.096 GB, free: 255.6 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 9.061e-05/5.26, allocations: 21.06 kB / 3.096 GB, free: 255.6 MB / 0.9323 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 197 * Number of variables: 197 Notification: Performance of Generate backend data structure: time 0.002432/5.262, allocations: 1.067 MB / 3.097 GB, free: 254.8 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 4.156e-05/5.262, allocations: 13.03 kB / 3.097 GB, free: 254.8 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001801/5.264, allocations: 217 kB / 3.097 GB, free: 254.7 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001424/5.266, allocations: 0.6138 MB / 3.098 GB, free: 254.3 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.492e-05/5.266, allocations: 25.25 kB / 3.098 GB, free: 254.3 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001337/5.266, allocations: 43.84 kB / 3.098 GB, free: 254.3 MB / 0.9323 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00233/5.268, allocations: 0.9821 MB / 3.099 GB, free: 254.1 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001725/5.27, allocations: 0.7228 MB / 3.099 GB, free: 253.8 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.879e-05/5.27, allocations: 3.938 kB / 3.099 GB, free: 253.8 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001155/5.27, allocations: 10.89 kB / 3.099 GB, free: 253.8 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.967e-05/5.27, allocations: 21.62 kB / 3.099 GB, free: 253.8 MB / 0.9323 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005749/5.276, allocations: 2.282 MB / 3.102 GB, free: 252.5 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003011/5.279, allocations: 0.722 MB / 3.102 GB, free: 252.4 MB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006258/5.28, allocations: 263.9 kB / 3.103 GB, free: 252.4 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001198/5.28, allocations: 25.41 kB / 3.103 GB, free: 252.4 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008233/5.281, allocations: 391.7 kB / 3.103 GB, free: 252.2 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=73): time 3.186e-06/5.281, allocations: 0 / 3.103 GB, free: 252.2 MB / 0.9323 GB Notification: Performance of matching and sorting (n=73): time 0.002685/5.283, allocations: 0.6568 MB / 3.104 GB, free: 252.1 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.584e-05/5.283, allocations: 242.7 kB / 3.104 GB, free: 251.8 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001008/5.284, allocations: 0.497 MB / 3.104 GB, free: 251.6 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 0.0001206/5.285, allocations: 25.7 kB / 3.104 GB, free: 251.6 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002208/5.285, allocations: 288.8 kB / 3.105 GB, free: 251.4 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002191/5.285, allocations: 236.8 kB / 3.105 GB, free: 251.2 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.624e-05/5.285, allocations: 0 / 3.105 GB, free: 251.2 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 0.00012/5.285, allocations: 374.8 kB / 3.105 GB, free: 250.9 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005494/5.286, allocations: 197.1 kB / 3.106 GB, free: 250.9 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006362/5.286, allocations: 296.1 kB / 3.106 GB, free: 250.8 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007085/5.287, allocations: 254.9 kB / 3.106 GB, free: 250.7 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.499e-06/5.287, allocations: 0 / 3.106 GB, free: 250.7 MB / 0.9323 GB Notification: Performance of matching and sorting (n=77) (initialization): time 0.002649/5.29, allocations: 0.6627 MB / 3.107 GB, free: 250.5 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 1.934e-05/5.29, allocations: 6.656 kB / 3.107 GB, free: 250.5 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.939e-06/5.29, allocations: 0 / 3.107 GB, free: 250.5 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001088/5.291, allocations: 79.78 kB / 3.107 GB, free: 250.5 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001249/5.292, allocations: 147 kB / 3.107 GB, free: 250.5 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002695/5.295, allocations: 1.467 MB / 3.108 GB, free: 249.2 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001221/5.296, allocations: 68.59 kB / 3.108 GB, free: 249.1 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.594e-05/5.296, allocations: 29.23 kB / 3.108 GB, free: 249.1 MB / 0.9323 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.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (75): * Single equations (assignments): 74 * 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 2} Notification: Performance of prepare postOptimizeDAE: time 0.000246/5.297, allocations: 122.2 kB / 3.109 GB, free: 249 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001817/5.297, allocations: 69.66 kB / 3.109 GB, free: 249 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003754/5.3, allocations: 0.9468 MB / 3.11 GB, free: 248.7 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.465e-05/5.301, allocations: 8.562 kB / 3.11 GB, free: 248.7 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.302e-06/5.301, allocations: 5.547 kB / 3.11 GB, free: 248.7 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.247e-05/5.301, allocations: 3.984 kB / 3.11 GB, free: 248.7 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001403/5.302, allocations: 0.7601 MB / 3.11 GB, free: 248.3 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.043e-06/5.302, allocations: 3.906 kB / 3.11 GB, free: 248.3 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001279/5.303, allocations: 159 kB / 3.11 GB, free: 248.3 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009563/5.304, allocations: 79.91 kB / 3.111 GB, free: 248.2 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.745e-05/5.304, allocations: 14.33 kB / 3.111 GB, free: 248.2 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002542/5.307, allocations: 1.496 MB / 3.112 GB, free: 246.9 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.32e-06/5.307, allocations: 0 / 3.112 GB, free: 246.9 MB / 0.9323 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002762/5.31, allocations: 0.7599 MB / 3.113 GB, free: 246.7 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006037/5.31, allocations: 279.6 kB / 3.113 GB, free: 246.5 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001897/5.311, allocations: 9.312 kB / 3.113 GB, free: 246.5 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001088/5.312, allocations: 57.53 kB / 3.113 GB, free: 246.5 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001636/5.312, allocations: 48.08 kB / 3.113 GB, free: 246.5 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001033/5.312, allocations: 39.22 kB / 3.113 GB, free: 246.4 MB / 0.9323 GB Notification: Performance of sort global known variables: time 0.000715/5.313, allocations: 406.1 kB / 3.114 GB, free: 246.2 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.001303/5.314, allocations: 304.4 kB / 3.114 GB, free: 245.9 MB / 0.9323 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.conTimMin.tNext,weaDat.conTim.tNext) * Number of discrete states: 2 (weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Top-level inputs: 0 Notification: Strong component statistics for simulation (85): * Single equations (assignments): 82 * 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 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.001963/5.316, allocations: 1.007 MB / 3.115 GB, free: 245 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.001908/5.318, allocations: 0.6673 MB / 3.115 GB, free: 244.5 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 4.027e-06/5.318, allocations: 0 / 3.115 GB, free: 244.5 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.001041/5.319, allocations: 454 kB / 3.116 GB, free: 244.2 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001853/5.321, allocations: 209.2 kB / 3.116 GB, free: 244 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005804/5.327, allocations: 1.334 MB / 3.117 GB, free: 242.8 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001093/5.328, allocations: 1.118 MB / 3.118 GB, free: 241.7 MB / 0.9323 GB Notification: Performance of SimCode: time 1.593e-06/5.328, allocations: 0 / 3.118 GB, free: 241.7 MB / 0.9323 GB Notification: Performance of Templates: time 0.03961/5.368, allocations: 16.79 MB / 3.135 GB, free: 225 MB / 0.9323 GB make -j1 -f Buildings_8.0.0_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.makefile (rm -f Buildings_8.0.0_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.pipe ; mkfifo Buildings_8.0.0_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.pipe >> ../files/Buildings_8.0.0_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.sim & ./Buildings_8.0.0_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.pipe 2>&1)