Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: translateModel(BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle") translateModel(BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle") [: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/BuildingSystems 2.0.0-master/package.mo): time 0.7128/0.7128, allocations: 141.8 MB / 149.1 MB, free: 11.41 MB / 139.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001054/0.001054, allocations: 185.6 kB / 181.9 MB, free: 8.215 MB / 155.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.424/1.424, allocations: 221.4 MB / 436 MB, free: 0.5625 MB / 331.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001137/0.001137, allocations: 94.64 kB / 0.507 GB, free: 9.48 MB / 395.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002093/0.002093, allocations: 281.9 kB / 0.5884 GB, free: 6.312 MB / 475.1 MB Notification: Performance of FrontEnd - loaded program: time 1.515e-05/1.518e-05, allocations: 2.031 kB / 0.6759 GB, free: 167.3 MB / 0.5421 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2187/0.2188, allocations: 82.78 MB / 0.7567 GB, free: 116.3 MB / 0.5421 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.63/3.849, allocations: 1.69 GB / 2.447 GB, free: 54.72 MB / 0.6984 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002525/3.849, allocations: 102.9 kB / 2.447 GB, free: 54.63 MB / 0.6984 GB Notification: Performance of FrontEnd: time 0.4153/4.264, allocations: 59.1 MB / 2.505 GB, free: 224.7 MB / 0.6984 GB Notification: Performance of Transformations before backend: time 5.803e-05/4.264, allocations: 22.62 kB / 2.505 GB, free: 224.7 MB / 0.6984 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 195 * Number of variables: 195 Notification: Performance of Generate backend data structure: time 0.001456/4.266, allocations: 1.087 MB / 2.506 GB, free: 224.1 MB / 0.6984 GB Notification: Performance of prepare preOptimizeDAE: time 3.169e-05/4.266, allocations: 9.594 kB / 2.506 GB, free: 224.1 MB / 0.6984 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000839/4.267, allocations: 197.4 kB / 2.506 GB, free: 224.1 MB / 0.6984 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007876/4.267, allocations: 0.6044 MB / 2.507 GB, free: 223.9 MB / 0.6984 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.962e-05/4.267, allocations: 32.8 kB / 2.507 GB, free: 223.9 MB / 0.6984 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.035e-05/4.267, allocations: 43.44 kB / 2.507 GB, free: 223.9 MB / 0.6984 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001174/4.269, allocations: 0.963 MB / 2.508 GB, free: 223.8 MB / 0.6984 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009179/4.27, allocations: 0.7084 MB / 2.508 GB, free: 223.7 MB / 0.6984 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.803e-05/4.27, allocations: 3.75 kB / 2.508 GB, free: 223.7 MB / 0.6984 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.175e-05/4.27, allocations: 0 / 2.508 GB, free: 223.7 MB / 0.6984 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.492e-05/4.27, allocations: 19.31 kB / 2.508 GB, free: 223.7 MB / 0.6984 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002939/4.273, allocations: 2.222 MB / 2.51 GB, free: 223 MB / 0.6984 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001017/4.274, allocations: 0.697 MB / 2.511 GB, free: 222.9 MB / 0.6984 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000365/4.274, allocations: 233.2 kB / 2.511 GB, free: 222.9 MB / 0.6984 GB Notification: Performance of preOpt evalFunc (simulation): time 7.66e-05/4.274, allocations: 36.17 kB / 2.511 GB, free: 222.9 MB / 0.6984 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005182/4.275, allocations: 361.6 kB / 2.512 GB, free: 222.8 MB / 0.6984 GB Notification: Performance of pre-optimization done (n=70): time 2.285e-06/4.275, allocations: 0 / 2.512 GB, free: 222.8 MB / 0.6984 GB Notification: Performance of matching and sorting (n=70): time 0.001699/4.276, allocations: 0.6213 MB / 2.512 GB, free: 222.7 MB / 0.6984 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.534e-05/4.276, allocations: 243.8 kB / 2.513 GB, free: 222.5 MB / 0.6984 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008276/4.277, allocations: 0.4944 MB / 2.513 GB, free: 222.3 MB / 0.6984 GB Notification: Performance of collectPreVariables (initialization): time 6.177e-05/4.277, allocations: 30.89 kB / 2.513 GB, free: 222.3 MB / 0.6984 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002215/4.278, allocations: 291.3 kB / 2.513 GB, free: 222.1 MB / 0.6984 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001875/4.278, allocations: 217 kB / 2.514 GB, free: 222 MB / 0.6984 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.085e-05/4.278, allocations: 2.734 kB / 2.514 GB, free: 222 MB / 0.6984 GB Notification: Performance of setup shared object (initialization): time 0.0001233/4.278, allocations: 373.9 kB / 2.514 GB, free: 221.7 MB / 0.6984 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000381/4.278, allocations: 179.3 kB / 2.514 GB, free: 221.7 MB / 0.6984 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003859/4.279, allocations: 283.8 kB / 2.514 GB, free: 221.6 MB / 0.6984 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004008/4.279, allocations: 235.8 kB / 2.515 GB, free: 221.6 MB / 0.6984 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.085e-06/4.279, allocations: 0 / 2.515 GB, free: 221.6 MB / 0.6984 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001452/4.281, allocations: 0.626 MB / 2.515 GB, free: 221.5 MB / 0.6984 GB Notification: Performance of prepare postOptimizeDAE: time 1.408e-05/4.281, allocations: 4.375 kB / 2.515 GB, free: 221.5 MB / 0.6984 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.045e-06/4.281, allocations: 2.234 kB / 2.515 GB, free: 221.5 MB / 0.6984 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000624/4.281, allocations: 80.27 kB / 2.515 GB, free: 221.5 MB / 0.6984 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005736/4.282, allocations: 137.5 kB / 2.515 GB, free: 221.5 MB / 0.6984 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001845/4.284, allocations: 1.459 MB / 2.517 GB, free: 220.3 MB / 0.6984 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006773/4.284, allocations: 59.05 kB / 2.517 GB, free: 220.2 MB / 0.6984 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.556e-05/4.284, allocations: 26.05 kB / 2.517 GB, free: 220.2 MB / 0.6984 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 (72): * Single equations (assignments): 71 * 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.0001824/4.285, allocations: 123.4 kB / 2.517 GB, free: 220.1 MB / 0.6984 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001286/4.285, allocations: 71.5 kB / 2.517 GB, free: 220.1 MB / 0.6984 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002225/4.287, allocations: 0.8846 MB / 2.518 GB, free: 220 MB / 0.6984 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.967e-06/4.287, allocations: 8 kB / 2.518 GB, free: 220 MB / 0.6984 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.256e-06/4.287, allocations: 4.141 kB / 2.518 GB, free: 220 MB / 0.6984 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.578e-06/4.287, allocations: 3.984 kB / 2.518 GB, free: 220 MB / 0.6984 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003233/4.29, allocations: 1.641 MB / 2.52 GB, free: 219.7 MB / 0.6984 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.087e-06/4.29, allocations: 2.953 kB / 2.52 GB, free: 219.7 MB / 0.6984 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005981/4.291, allocations: 148.5 kB / 2.52 GB, free: 219.7 MB / 0.6984 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000524/4.291, allocations: 83.02 kB / 2.52 GB, free: 219.7 MB / 0.6984 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.319e-05/4.292, allocations: 20.25 kB / 2.52 GB, free: 219.7 MB / 0.6984 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00154/4.293, allocations: 1.477 MB / 2.521 GB, free: 218.5 MB / 0.6984 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.258e-06/4.293, allocations: 3.359 kB / 2.521 GB, free: 218.5 MB / 0.6984 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001358/4.294, allocations: 0.7982 MB / 2.522 GB, free: 218.3 MB / 0.6984 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003559/4.295, allocations: 266.7 kB / 2.522 GB, free: 218.1 MB / 0.6984 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001137/4.295, allocations: 3.625 kB / 2.522 GB, free: 218.1 MB / 0.6984 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005581/4.295, allocations: 64.92 kB / 2.522 GB, free: 218.1 MB / 0.6984 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001123/4.296, allocations: 44.41 kB / 2.522 GB, free: 218.1 MB / 0.6984 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.591e-05/4.296, allocations: 33.39 kB / 2.522 GB, free: 218.1 MB / 0.6984 GB Notification: Performance of sort global known variables: time 0.000443/4.296, allocations: 401.8 kB / 2.523 GB, free: 218 MB / 0.6984 GB Notification: Performance of remove unused functions: time 0.001108/4.297, allocations: 322.6 kB / 2.523 GB, free: 218 MB / 0.6984 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.conTim.tNext,weaDat.conTimMin.tNext) * Top-level inputs: 0 Notification: Strong component statistics for simulation (81): * Single equations (assignments): 78 * 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.001584/4.299, allocations: 1.047 MB / 2.524 GB, free: 217.8 MB / 0.6984 GB Notification: Performance of simCode: created initialization part: time 0.001093/4.3, allocations: 0.6235 MB / 2.525 GB, free: 217.7 MB / 0.6984 GB Notification: Performance of simCode: created event and clocks part: time 3.526e-06/4.3, allocations: 3.938 kB / 2.525 GB, free: 217.7 MB / 0.6984 GB Notification: Performance of simCode: created simulation system equations: time 0.0005756/4.301, allocations: 432.6 kB / 2.525 GB, free: 217.6 MB / 0.6984 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009551/4.302, allocations: 205 kB / 2.525 GB, free: 217.5 MB / 0.6984 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003261/4.305, allocations: 1.306 MB / 2.527 GB, free: 217.2 MB / 0.6984 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006143/4.305, allocations: 1.108 MB / 2.528 GB, free: 216.5 MB / 0.6984 GB Notification: Performance of SimCode: time 3.91e-07/4.305, allocations: 0 / 2.528 GB, free: 216.5 MB / 0.6984 GB Notification: Performance of Templates: time 0.02292/4.328, allocations: 16.39 MB / 2.544 GB, free: 215.1 MB / 0.6984 GB make -j1 -f BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.makefile (rm -f BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe ; mkfifo BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe >> ../files/BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.sim & ./BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe 2>&1)