Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Annex60_1.0.0_Annex60.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Using package Annex60 with version 1.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo) Running command: translateModel(Annex60.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle") translateModel(Annex60.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle") [: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/Annex60 1.0.0/package.mo): time 0.2712/0.2712, allocations: 54.39 MB / 61.68 MB, free: 11.16 MB / 58.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.00127/0.00127, allocations: 182.8 kB / 75.37 MB, free: 1.531 MB / 58.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.578/1.578, allocations: 194.2 MB / 283.2 MB, free: 3.508 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001707/0.001707, allocations: 117.3 kB / 341.3 MB, free: 9.383 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 8.425e-06/8.466e-06, allocations: 0 / 404.9 MB, free: 27.71 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1493/0.1493, allocations: 57.65 MB / 462.6 MB, free: 1.984 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.146/5.296, allocations: 2.129 GB / 2.581 GB, free: 73.66 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003247/5.296, allocations: 92.94 kB / 2.581 GB, free: 73.57 MB / 0.4948 GB Notification: Performance of FrontEnd: time 0.1168/5.413, allocations: 52.84 MB / 2.632 GB, free: 20.42 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 8.83e-05/5.413, allocations: 20 kB / 2.632 GB, free: 20.4 MB / 0.4948 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.002941/5.416, allocations: 1.109 MB / 2.633 GB, free: 19.23 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 5.492e-05/5.416, allocations: 15.91 kB / 2.633 GB, free: 19.21 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002375/5.419, allocations: 330.4 kB / 2.634 GB, free: 18.89 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001264/5.42, allocations: 0.5198 MB / 2.634 GB, free: 18.33 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.878e-05/5.42, allocations: 28 kB / 2.634 GB, free: 18.3 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001616/5.42, allocations: 44 kB / 2.634 GB, free: 18.26 MB / 0.4948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001812/5.422, allocations: 1.015 MB / 2.635 GB, free: 17.25 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001328/5.423, allocations: 0.716 MB / 2.636 GB, free: 16.5 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.579e-05/5.423, allocations: 0 / 2.636 GB, free: 16.5 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.449e-05/5.424, allocations: 0 / 2.636 GB, free: 16.5 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.48e-05/5.424, allocations: 20 kB / 2.636 GB, free: 16.48 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005236/5.429, allocations: 2.259 MB / 2.638 GB, free: 14.17 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001288/5.43, allocations: 0.7744 MB / 2.639 GB, free: 13.37 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004394/5.431, allocations: 282.7 kB / 2.639 GB, free: 13.09 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00072/5.431, allocations: 470.2 kB / 2.64 GB, free: 12.54 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006201/5.432, allocations: 422.8 kB / 2.64 GB, free: 12.11 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=73): time 3.897e-06/5.432, allocations: 0 / 2.64 GB, free: 12.11 MB / 0.4948 GB Notification: Performance of matching and sorting (n=73): time 0.002375/5.434, allocations: 0.7575 MB / 2.641 GB, free: 11.34 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.749e-05/5.434, allocations: 170.9 kB / 2.641 GB, free: 11.14 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006862/5.435, allocations: 437.2 kB / 2.641 GB, free: 10.7 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 8.377e-05/5.435, allocations: 25.7 kB / 2.641 GB, free: 10.67 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.000239/5.436, allocations: 276.4 kB / 2.642 GB, free: 10.39 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002066/5.436, allocations: 224.6 kB / 2.642 GB, free: 10.17 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.872e-05/5.436, allocations: 0 / 2.642 GB, free: 10.17 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001379/5.436, allocations: 362.8 kB / 2.642 GB, free: 9.805 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003609/5.436, allocations: 225.3 kB / 2.643 GB, free: 9.582 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003821/5.437, allocations: 303.8 kB / 2.643 GB, free: 9.266 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008895/5.438, allocations: 346.9 kB / 2.643 GB, free: 8.926 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.931e-06/5.438, allocations: 0 / 2.643 GB, free: 8.926 MB / 0.4948 GB Notification: Performance of matching and sorting (n=79) (initialization): time 0.002048/5.44, allocations: 0.8161 MB / 2.644 GB, free: 8.098 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 2.323e-05/5.44, allocations: 4 kB / 2.644 GB, free: 8.094 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.201e-05/5.44, allocations: 0 / 2.644 GB, free: 8.094 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000702/5.44, allocations: 84.84 kB / 2.644 GB, free: 8.008 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008161/5.441, allocations: 155.8 kB / 2.644 GB, free: 7.855 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001901/5.443, allocations: 1.453 MB / 2.646 GB, free: 6.277 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007371/5.444, allocations: 67.52 kB / 2.646 GB, free: 6.211 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.749e-05/5.444, allocations: 35.97 kB / 2.646 GB, free: 6.176 MB / 0.4948 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 (77): * Single equations (assignments): 74 * 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 2} Notification: Performance of prepare postOptimizeDAE: time 0.0002241/5.444, allocations: 118.7 kB / 2.646 GB, free: 6.055 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000156/5.444, allocations: 63.25 kB / 2.646 GB, free: 5.992 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002671/5.447, allocations: 1.067 MB / 2.647 GB, free: 4.914 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.716e-06/5.447, allocations: 8 kB / 2.647 GB, free: 4.906 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.876e-06/5.447, allocations: 0 / 2.647 GB, free: 4.906 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.074e-05/5.447, allocations: 3.984 kB / 2.647 GB, free: 4.902 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003359/5.45, allocations: 1.781 MB / 2.649 GB, free: 3.074 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.31e-06/5.451, allocations: 0 / 2.649 GB, free: 3.074 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007832/5.451, allocations: 175.8 kB / 2.649 GB, free: 2.902 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005415/5.452, allocations: 80.78 kB / 2.649 GB, free: 2.82 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.891e-05/5.452, allocations: 15.97 kB / 2.649 GB, free: 2.805 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001796/5.454, allocations: 1.472 MB / 2.65 GB, free: 1.207 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.757e-06/5.454, allocations: 4.062 kB / 2.65 GB, free: 1.203 MB / 0.4948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001968/5.456, allocations: 0.9259 MB / 2.651 GB, free: 264 kB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.2254/5.681, allocations: 272.1 kB / 2.652 GB, free: 201 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003767/5.682, allocations: 0 / 2.652 GB, free: 201 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007974/5.682, allocations: 57.7 kB / 2.652 GB, free: 201 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001164/5.683, allocations: 50.78 kB / 2.652 GB, free: 201 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.17e-05/5.683, allocations: 33.72 kB / 2.652 GB, free: 201 MB / 0.4948 GB Notification: Performance of sort global known variables: time 0.0004438/5.683, allocations: 346.2 kB / 2.652 GB, free: 200.9 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.00134/5.684, allocations: 385.4 kB / 2.652 GB, free: 200.9 MB / 0.4948 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.conTim.tStart,weaDat.conTim1.tStart) * Top-level inputs: 0 Notification: Strong component statistics for simulation (83): * Single equations (assignments): 80 * 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.001994/5.686, allocations: 1.182 MB / 2.653 GB, free: 200.8 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.001322/5.688, allocations: 0.7551 MB / 2.654 GB, free: 200.6 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 4.699e-06/5.688, allocations: 7.719 kB / 2.654 GB, free: 200.6 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0006868/5.689, allocations: 465.8 kB / 2.655 GB, free: 200.5 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007686/5.689, allocations: 145.3 kB / 2.655 GB, free: 200.5 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003446/5.693, allocations: 1.277 MB / 2.656 GB, free: 200.2 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007344/5.694, allocations: 1.093 MB / 2.657 GB, free: 199.5 MB / 0.4948 GB Notification: Performance of SimCode: time 4.5e-07/5.694, allocations: 2.062 kB / 2.657 GB, free: 199.5 MB / 0.4948 GB Notification: Performance of Templates: time 0.02886/5.722, allocations: 17.21 MB / 2.674 GB, free: 198.4 MB / 0.4948 GB make -j1 -f Annex60_1.0.0_Annex60.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.makefile (rm -f Annex60_1.0.0_Annex60.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.pipe ; mkfifo Annex60_1.0.0_Annex60.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.pipe ; head -c 1048576 < Annex60_1.0.0_Annex60.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.pipe >> ../files/Annex60_1.0.0_Annex60.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.sim & ./Annex60_1.0.0_Annex60.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle -abortSlowSimulation -alarm=480 -lv LOG_STATS > Annex60_1.0.0_Annex60.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.pipe 2>&1)