Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Annex60_1.0.0_Annex60.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.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.SolarHourAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle") translateModel(Annex60.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.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/Annex60 1.0.0/package.mo): time 0.3074/0.3074, allocations: 54.39 MB / 61.67 MB, free: 11.15 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.00121/0.00121, allocations: 185.3 kB / 75.38 MB, free: 1.496 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.286/1.286, allocations: 194.2 MB / 283.2 MB, free: 3.5 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.00187/0.00187, allocations: 122 kB / 341.3 MB, free: 9.375 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 1.081e-05/1.122e-05, allocations: 0 / 405 MB, free: 27.68 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1206/0.1207, allocations: 57.64 MB / 462.6 MB, free: 1.973 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.487/5.608, allocations: 2.129 GB / 2.58 GB, free: 102.5 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003291/5.609, allocations: 95.94 kB / 2.581 GB, free: 102.4 MB / 490.7 MB Notification: Performance of FrontEnd: time 0.1163/5.725, allocations: 52.15 MB / 2.631 GB, free: 49.97 MB / 490.7 MB Notification: Performance of Transformations before backend: time 9.079e-05/5.725, allocations: 23.94 kB / 2.631 GB, free: 49.95 MB / 490.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 188 * Number of variables: 188 Notification: Performance of Generate backend data structure: time 0.002846/5.728, allocations: 1.089 MB / 2.633 GB, free: 48.8 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.187e-05/5.728, allocations: 11.97 kB / 2.633 GB, free: 48.79 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002324/5.73, allocations: 322.4 kB / 2.633 GB, free: 48.47 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001131/5.731, allocations: 0.512 MB / 2.633 GB, free: 47.92 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.203e-05/5.732, allocations: 24 kB / 2.633 GB, free: 47.89 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001405/5.732, allocations: 51.98 kB / 2.633 GB, free: 47.84 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001718/5.733, allocations: 0.9991 MB / 2.634 GB, free: 46.84 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001255/5.735, allocations: 0.6887 MB / 2.635 GB, free: 46.12 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.813e-05/5.735, allocations: 3.938 kB / 2.635 GB, free: 46.12 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.775e-05/5.735, allocations: 0 / 2.635 GB, free: 46.12 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.386e-05/5.735, allocations: 23.91 kB / 2.635 GB, free: 46.1 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004415/5.739, allocations: 2.216 MB / 2.637 GB, free: 43.83 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001186/5.74, allocations: 0.7628 MB / 2.638 GB, free: 43.04 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000406/5.741, allocations: 264.5 kB / 2.638 GB, free: 42.78 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006811/5.742, allocations: 474.2 kB / 2.639 GB, free: 42.22 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005691/5.742, allocations: 418.7 kB / 2.639 GB, free: 41.79 MB / 490.7 MB Notification: Performance of pre-optimization done (n=70): time 3.577e-06/5.742, allocations: 0 / 2.639 GB, free: 41.79 MB / 490.7 MB Notification: Performance of matching and sorting (n=70): time 0.00218/5.744, allocations: 0.7342 MB / 2.64 GB, free: 41.05 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.437e-05/5.744, allocations: 162.9 kB / 2.64 GB, free: 40.86 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005938/5.745, allocations: 421.2 kB / 2.64 GB, free: 40.43 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 7.233e-05/5.745, allocations: 25.7 kB / 2.64 GB, free: 40.4 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001724/5.745, allocations: 272.4 kB / 2.641 GB, free: 40.13 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001632/5.745, allocations: 216.7 kB / 2.641 GB, free: 39.91 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.876e-05/5.746, allocations: 0 / 2.641 GB, free: 39.91 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001095/5.746, allocations: 370.7 kB / 2.641 GB, free: 39.54 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003446/5.746, allocations: 225.2 kB / 2.641 GB, free: 39.32 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003737/5.746, allocations: 291.8 kB / 2.642 GB, free: 39.02 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008137/5.747, allocations: 334.9 kB / 2.642 GB, free: 38.69 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.207e-06/5.747, allocations: 4 kB / 2.642 GB, free: 38.68 MB / 490.7 MB Notification: Performance of matching and sorting (n=76) (initialization): time 0.001917/5.749, allocations: 0.7889 MB / 2.643 GB, free: 37.88 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.268e-05/5.749, allocations: 4 kB / 2.643 GB, free: 37.88 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.079e-05/5.749, allocations: 0 / 2.643 GB, free: 37.88 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006379/5.75, allocations: 84.83 kB / 2.643 GB, free: 37.79 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007589/5.751, allocations: 147.8 kB / 2.643 GB, free: 37.65 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001886/5.752, allocations: 1.453 MB / 2.644 GB, free: 36.07 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006867/5.753, allocations: 71.5 kB / 2.645 GB, free: 36 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.944e-05/5.753, allocations: 27.98 kB / 2.645 GB, free: 35.98 MB / 490.7 MB 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 (74): * Single equations (assignments): 71 * 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.0001914/5.753, allocations: 124.8 kB / 2.645 GB, free: 35.85 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001383/5.754, allocations: 59.25 kB / 2.645 GB, free: 35.79 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002587/5.756, allocations: 1.01 MB / 2.646 GB, free: 34.76 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.247e-06/5.756, allocations: 15.84 kB / 2.646 GB, free: 34.75 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.598e-06/5.756, allocations: 0 / 2.646 GB, free: 34.75 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.688e-06/5.756, allocations: 3.984 kB / 2.646 GB, free: 34.74 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003332/5.76, allocations: 1.714 MB / 2.647 GB, free: 32.98 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.691e-06/5.76, allocations: 0 / 2.647 GB, free: 32.98 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007331/5.76, allocations: 155.8 kB / 2.648 GB, free: 32.83 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000531/5.761, allocations: 84.69 kB / 2.648 GB, free: 32.75 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.844e-05/5.761, allocations: 15.98 kB / 2.648 GB, free: 32.73 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00172/5.763, allocations: 1.472 MB / 2.649 GB, free: 31.13 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.699e-06/5.763, allocations: 4.062 kB / 2.649 GB, free: 31.13 MB / 490.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002085/5.765, allocations: 0.8954 MB / 2.65 GB, free: 30.21 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005072/5.765, allocations: 268 kB / 2.65 GB, free: 29.93 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001141/5.765, allocations: 64 / 2.65 GB, free: 29.93 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006452/5.766, allocations: 59.94 kB / 2.65 GB, free: 29.87 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001147/5.766, allocations: 40.59 kB / 2.65 GB, free: 29.83 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.968e-05/5.766, allocations: 43.97 kB / 2.65 GB, free: 29.79 MB / 490.7 MB Notification: Performance of sort global known variables: time 0.0004336/5.767, allocations: 334.9 kB / 2.651 GB, free: 29.46 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.001591/5.768, allocations: 383 kB / 2.651 GB, free: 29.09 MB / 490.7 MB 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 (77): * Single equations (assignments): 74 * 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.003106/5.771, allocations: 1.186 MB / 2.652 GB, free: 27.93 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.001613/5.773, allocations: 0.7345 MB / 2.653 GB, free: 27.18 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 4.349e-06/5.773, allocations: 0 / 2.653 GB, free: 27.18 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007337/5.774, allocations: 448.1 kB / 2.653 GB, free: 26.73 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000835/5.775, allocations: 161.5 kB / 2.654 GB, free: 26.57 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003828/5.779, allocations: 1.237 MB / 2.655 GB, free: 25.3 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008125/5.779, allocations: 1.076 MB / 2.656 GB, free: 24.2 MB / 490.7 MB Notification: Performance of SimCode: time 7.71e-07/5.779, allocations: 0 / 2.656 GB, free: 24.2 MB / 490.7 MB Notification: Performance of Templates: time 0.02733/5.807, allocations: 16.9 MB / 2.672 GB, free: 7.277 MB / 490.7 MB make -j1 -f Annex60_1.0.0_Annex60.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.makefile (rm -f Annex60_1.0.0_Annex60.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe ; mkfifo Annex60_1.0.0_Annex60.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe ; head -c 1048576 < Annex60_1.0.0_Annex60.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe >> ../files/Annex60_1.0.0_Annex60.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.sim & ./Annex60_1.0.0_Annex60.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle -abortSlowSimulation -alarm=480 -lv LOG_STATS > Annex60_1.0.0_Annex60.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe 2>&1)