Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Annex60_1.0.0_Annex60.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.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.SolarAzimuth,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth") translateModel(Annex60.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth") [: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.2721/0.2721, allocations: 54.4 MB / 61.68 MB, free: 11.13 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.001471/0.001471, allocations: 184 kB / 75.37 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.27/1.27, allocations: 194.2 MB / 283.2 MB, free: 3.469 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.001723/0.001723, allocations: 105.3 kB / 341.3 MB, free: 9.352 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 6.742e-06/6.772e-06, allocations: 0 / 404.9 MB, free: 27.65 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1246/0.1246, allocations: 57.64 MB / 462.6 MB, free: 1.938 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.146/5.27, allocations: 2.13 GB / 2.581 GB, free: 72.35 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003612/5.271, allocations: 91.94 kB / 2.582 GB, free: 72.26 MB / 0.4948 GB Notification: Performance of FrontEnd: time 0.1262/5.397, allocations: 53.42 MB / 2.634 GB, free: 18.54 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 8.542e-05/5.397, allocations: 16 kB / 2.634 GB, free: 18.52 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: 199 * Number of variables: 199 Notification: Performance of Generate backend data structure: time 0.002834/5.4, allocations: 1.149 MB / 2.635 GB, free: 17.3 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 5.549e-05/5.4, allocations: 15.97 kB / 2.635 GB, free: 17.29 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002369/5.402, allocations: 330.4 kB / 2.635 GB, free: 16.96 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001214/5.403, allocations: 0.5374 MB / 2.636 GB, free: 16.38 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.419e-05/5.404, allocations: 24 kB / 2.636 GB, free: 16.36 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001864/5.404, allocations: 56 kB / 2.636 GB, free: 16.3 MB / 0.4948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001756/5.406, allocations: 1.03 MB / 2.637 GB, free: 15.27 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001307/5.407, allocations: 0.7316 MB / 2.637 GB, free: 14.51 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.624e-05/5.407, allocations: 0 / 2.637 GB, free: 14.51 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.743e-05/5.407, allocations: 4 kB / 2.637 GB, free: 14.51 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.874e-05/5.407, allocations: 20 kB / 2.638 GB, free: 14.49 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004296/5.411, allocations: 2.305 MB / 2.64 GB, free: 12.13 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001145/5.412, allocations: 0.7978 MB / 2.641 GB, free: 11.31 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004089/5.413, allocations: 300.5 kB / 2.641 GB, free: 11.01 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006263/5.414, allocations: 466.2 kB / 2.641 GB, free: 10.46 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005812/5.414, allocations: 446.7 kB / 2.642 GB, free: 10.01 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=75): time 2.805e-06/5.414, allocations: 0 / 2.642 GB, free: 10.01 MB / 0.4948 GB Notification: Performance of matching and sorting (n=75): time 0.002162/5.416, allocations: 0.7849 MB / 2.642 GB, free: 9.215 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.918e-05/5.416, allocations: 192.6 kB / 2.643 GB, free: 8.984 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005441/5.417, allocations: 445.2 kB / 2.643 GB, free: 8.539 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 7.329e-05/5.417, allocations: 33.7 kB / 2.643 GB, free: 8.5 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001721/5.417, allocations: 280.4 kB / 2.643 GB, free: 8.219 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001724/5.417, allocations: 236.4 kB / 2.644 GB, free: 7.984 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.313e-05/5.417, allocations: 4 kB / 2.644 GB, free: 7.98 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 9.68e-05/5.418, allocations: 362.8 kB / 2.644 GB, free: 7.617 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003637/5.418, allocations: 233.3 kB / 2.644 GB, free: 7.387 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003732/5.418, allocations: 315.8 kB / 2.644 GB, free: 7.059 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008255/5.419, allocations: 354.9 kB / 2.645 GB, free: 6.711 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.196e-06/5.419, allocations: 0 / 2.645 GB, free: 6.711 MB / 0.4948 GB Notification: Performance of matching and sorting (n=81) (initialization): time 0.001994/5.421, allocations: 0.8357 MB / 2.646 GB, free: 5.863 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.932e-05/5.421, allocations: 8 kB / 2.646 GB, free: 5.855 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.115e-06/5.421, allocations: 0 / 2.646 GB, free: 5.855 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006594/5.422, allocations: 80.84 kB / 2.646 GB, free: 5.773 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007852/5.423, allocations: 155.8 kB / 2.646 GB, free: 5.621 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001765/5.424, allocations: 1.453 MB / 2.647 GB, free: 4.047 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008354/5.425, allocations: 79.5 kB / 2.647 GB, free: 3.969 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.136e-05/5.425, allocations: 39.97 kB / 2.647 GB, free: 3.93 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): 73 * Array equations: 0 * Algorithm blocks: 3 * 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.0002254/5.426, allocations: 146.5 kB / 2.648 GB, free: 3.773 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001752/5.426, allocations: 79.08 kB / 2.648 GB, free: 3.695 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002797/5.429, allocations: 1.096 MB / 2.649 GB, free: 2.586 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.886e-06/5.429, allocations: 12 kB / 2.649 GB, free: 2.574 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.749e-06/5.429, allocations: 3.906 kB / 2.649 GB, free: 2.57 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.049e-05/5.429, allocations: 7.922 kB / 2.649 GB, free: 2.562 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003523/5.432, allocations: 1.83 MB / 2.65 GB, free: 0.6836 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.152e-06/5.432, allocations: 0 / 2.65 GB, free: 0.6836 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007664/5.433, allocations: 163.8 kB / 2.651 GB, free: 0.5234 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005144/5.433, allocations: 80.78 kB / 2.651 GB, free: 452 kB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001026/5.434, allocations: 15.98 kB / 2.651 GB, free: 436 kB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2741/5.708, allocations: 1.472 MB / 2.652 GB, free: 194.1 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.101e-06/5.708, allocations: 0 / 2.652 GB, free: 194.1 MB / 0.4948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002531/5.71, allocations: 0.9671 MB / 2.653 GB, free: 194 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004567/5.711, allocations: 280.6 kB / 2.653 GB, free: 193.9 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001239/5.711, allocations: 6.516 kB / 2.653 GB, free: 193.9 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000788/5.712, allocations: 74.45 kB / 2.653 GB, free: 193.9 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001325/5.712, allocations: 56.14 kB / 2.654 GB, free: 193.9 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.708e-05/5.712, allocations: 35.58 kB / 2.654 GB, free: 193.9 MB / 0.4948 GB Notification: Performance of sort global known variables: time 0.0004461/5.712, allocations: 359.8 kB / 2.654 GB, free: 193.8 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.001486/5.714, allocations: 392.5 kB / 2.654 GB, free: 193.8 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): 79 * Array equations: 0 * Algorithm blocks: 1 * 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.002479/5.716, allocations: 1.186 MB / 2.655 GB, free: 193.7 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.001634/5.718, allocations: 0.8285 MB / 2.656 GB, free: 193.5 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 4.418e-06/5.718, allocations: 0 / 2.656 GB, free: 193.5 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0007872/5.719, allocations: 0.5195 MB / 2.657 GB, free: 193.3 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008746/5.72, allocations: 149 kB / 2.657 GB, free: 193.3 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003839/5.724, allocations: 1.309 MB / 2.658 GB, free: 193.1 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008701/5.724, allocations: 1.102 MB / 2.659 GB, free: 192.3 MB / 0.4948 GB Notification: Performance of SimCode: time 8.71e-07/5.724, allocations: 0 / 2.659 GB, free: 192.3 MB / 0.4948 GB Notification: Performance of Templates: time 0.03113/5.756, allocations: 17.72 MB / 2.677 GB, free: 191.1 MB / 0.4948 GB make -j1 -f Annex60_1.0.0_Annex60.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.makefile (rm -f Annex60_1.0.0_Annex60.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.pipe ; mkfifo Annex60_1.0.0_Annex60.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.pipe ; head -c 1048576 < Annex60_1.0.0_Annex60.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.pipe >> ../files/Annex60_1.0.0_Annex60.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.sim & ./Annex60_1.0.0_Annex60.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth -abortSlowSimulation -alarm=480 -lv LOG_STATS > Annex60_1.0.0_Annex60.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.pipe 2>&1)