Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle") translateModel(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.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/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.304/1.304, allocations: 285.5 MB / 292.8 MB, free: 10.47 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0008957/0.0008957, allocations: 185.3 kB / 361.1 MB, free: 7.086 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.071/1.071, allocations: 205.1 MB / 0.6195 GB, free: 10.3 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007557/0.0007559, allocations: 90.95 kB / 0.7326 GB, free: 44.24 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 6.162e-06/6.181e-06, allocations: 0 / 0.8511 GB, free: 2.969 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4395/0.4396, allocations: 115.3 MB / 0.9637 GB, free: 78.11 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.27/3.709, allocations: 2.071 GB / 3.034 GB, free: 334.7 MB / 0.9323 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002321/3.709, allocations: 94.58 kB / 3.035 GB, free: 334.7 MB / 0.9323 GB Notification: Performance of FrontEnd: time 0.1262/3.836, allocations: 58.01 MB / 3.091 GB, free: 308.7 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 8.085e-05/3.836, allocations: 23.94 kB / 3.091 GB, free: 308.7 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: 191 * Number of variables: 191 Notification: Performance of Generate backend data structure: time 0.002145/3.838, allocations: 1.054 MB / 3.092 GB, free: 307.6 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 3.735e-05/3.838, allocations: 10.97 kB / 3.092 GB, free: 307.6 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009972/3.839, allocations: 194.6 kB / 3.092 GB, free: 307.4 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001064/3.84, allocations: 0.5997 MB / 3.093 GB, free: 306.8 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.704e-05/3.84, allocations: 24 kB / 3.093 GB, free: 306.8 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.096e-05/3.84, allocations: 44 kB / 3.093 GB, free: 306.7 MB / 0.9323 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001241/3.841, allocations: 0.9562 MB / 3.094 GB, free: 305.8 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000972/3.842, allocations: 0.6882 MB / 3.095 GB, free: 305 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.915e-05/3.842, allocations: 0 / 3.095 GB, free: 305 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.556e-05/3.843, allocations: 7.906 kB / 3.095 GB, free: 305 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.5e-05/3.843, allocations: 16 kB / 3.095 GB, free: 305 MB / 0.9323 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003048/3.846, allocations: 2.216 MB / 3.097 GB, free: 302.7 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008851/3.846, allocations: 0.6974 MB / 3.098 GB, free: 302 MB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002951/3.847, allocations: 234.8 kB / 3.098 GB, free: 301.8 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 7.059e-05/3.847, allocations: 32.67 kB / 3.098 GB, free: 301.7 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004086/3.847, allocations: 366 kB / 3.098 GB, free: 301.4 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=70): time 2.004e-06/3.847, allocations: 0 / 3.098 GB, free: 301.4 MB / 0.9323 GB Notification: Performance of matching and sorting (n=70): time 0.001336/3.849, allocations: 0.617 MB / 3.099 GB, free: 300.7 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.164e-05/3.849, allocations: 248 kB / 3.099 GB, free: 300.4 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005057/3.849, allocations: 0.4905 MB / 3.1 GB, free: 299.9 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 5.074e-05/3.849, allocations: 29.7 kB / 3.1 GB, free: 299.9 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001151/3.849, allocations: 276.3 kB / 3.1 GB, free: 299.6 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001154/3.85, allocations: 224.6 kB / 3.1 GB, free: 299.4 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.539e-05/3.85, allocations: 0 / 3.1 GB, free: 299.4 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 7.58e-05/3.85, allocations: 382.7 kB / 3.1 GB, free: 299 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002417/3.85, allocations: 182.8 kB / 3.101 GB, free: 298.8 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002863/3.85, allocations: 282.4 kB / 3.101 GB, free: 298.5 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003141/3.85, allocations: 231.1 kB / 3.101 GB, free: 298.3 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.385e-06/3.85, allocations: 0 / 3.101 GB, free: 298.3 MB / 0.9323 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001247/3.852, allocations: 0.621 MB / 3.102 GB, free: 297.7 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 1.337e-05/3.852, allocations: 4 kB / 3.102 GB, free: 297.7 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.984e-06/3.852, allocations: 4 kB / 3.102 GB, free: 297.7 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006197/3.852, allocations: 80.84 kB / 3.102 GB, free: 297.6 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005204/3.853, allocations: 139.7 kB / 3.102 GB, free: 297.5 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001554/3.855, allocations: 1.457 MB / 3.103 GB, free: 295.9 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004964/3.855, allocations: 63.53 kB / 3.103 GB, free: 295.8 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.14e-05/3.855, allocations: 28.05 kB / 3.103 GB, free: 295.8 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 (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.0001229/3.855, allocations: 123.5 kB / 3.104 GB, free: 295.7 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.796e-05/3.855, allocations: 71.16 kB / 3.104 GB, free: 295.6 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001729/3.857, allocations: 0.8761 MB / 3.104 GB, free: 294.7 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.995e-06/3.857, allocations: 14.42 kB / 3.104 GB, free: 294.7 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.484e-06/3.857, allocations: 4 kB / 3.104 GB, free: 294.7 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.275e-06/3.857, allocations: 7.984 kB / 3.104 GB, free: 294.7 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00221/3.859, allocations: 1.644 MB / 3.106 GB, free: 293 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.386e-06/3.859, allocations: 0 / 3.106 GB, free: 293 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005146/3.86, allocations: 135.8 kB / 3.106 GB, free: 292.9 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005085/3.86, allocations: 88.77 kB / 3.106 GB, free: 292.8 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.881e-05/3.86, allocations: 11.98 kB / 3.106 GB, free: 292.8 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001394/3.862, allocations: 1.492 MB / 3.108 GB, free: 291.2 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.763e-06/3.862, allocations: 4.062 kB / 3.108 GB, free: 291.2 MB / 0.9323 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001212/3.863, allocations: 0.7855 MB / 3.109 GB, free: 290.3 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002816/3.863, allocations: 271.9 kB / 3.109 GB, free: 290.1 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001128/3.863, allocations: 4 kB / 3.109 GB, free: 290.1 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000552/3.864, allocations: 51.95 kB / 3.109 GB, free: 290 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.079e-05/3.864, allocations: 48.7 kB / 3.109 GB, free: 290 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.97e-05/3.864, allocations: 27.98 kB / 3.109 GB, free: 289.9 MB / 0.9323 GB Notification: Performance of sort global known variables: time 0.0003432/3.865, allocations: 398.9 kB / 3.109 GB, free: 289.5 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.0008046/3.865, allocations: 307.1 kB / 3.11 GB, free: 289.2 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.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.001378/3.867, allocations: 1.007 MB / 3.111 GB, free: 288.3 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.0009525/3.868, allocations: 0.6194 MB / 3.111 GB, free: 287.7 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 3.016e-06/3.868, allocations: 0 / 3.111 GB, free: 287.7 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.0005835/3.868, allocations: 436.8 kB / 3.112 GB, free: 287.3 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009387/3.869, allocations: 220.8 kB / 3.112 GB, free: 287.1 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002929/3.872, allocations: 1.299 MB / 3.113 GB, free: 285.7 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006035/3.873, allocations: 1.108 MB / 3.114 GB, free: 284.6 MB / 0.9323 GB Notification: Performance of SimCode: time 3.21e-07/3.873, allocations: 0 / 3.114 GB, free: 284.6 MB / 0.9323 GB Notification: Performance of Templates: time 0.02048/3.893, allocations: 16.06 MB / 3.13 GB, free: 268.7 MB / 0.9323 GB make -j1 -f Buildings_maint.8.0.x_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.makefile (rm -f Buildings_maint.8.0.x_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe >> ../files/Buildings_maint.8.0.x_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.sim & ./Buildings_maint.8.0.x_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe 2>&1)