Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Annex60_1.0.0_Annex60.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.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.IncidenceAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle") translateModel(Annex60.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle") [: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.2884/0.2884, 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.001209/0.001209, allocations: 187.2 kB / 75.37 MB, free: 1.445 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.291/1.291, allocations: 194.2 MB / 283.2 MB, free: 3.477 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.00169/0.00169, allocations: 121.8 kB / 341.3 MB, free: 9.344 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 7.274e-06/7.304e-06, allocations: 4 kB / 404.9 MB, free: 27.65 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1276/0.1276, allocations: 57.64 MB / 462.6 MB, free: 1.938 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.265/5.393, allocations: 2.13 GB / 2.582 GB, free: 71.77 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003146/5.393, allocations: 95.94 kB / 2.582 GB, free: 71.68 MB / 0.4948 GB Notification: Performance of FrontEnd: time 0.1207/5.514, allocations: 53.22 MB / 2.634 GB, free: 18.16 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.0001105/5.514, allocations: 20 kB / 2.634 GB, free: 18.14 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.003171/5.518, allocations: 1.112 MB / 2.635 GB, free: 16.96 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 6.029e-05/5.518, allocations: 11.97 kB / 2.635 GB, free: 16.95 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002451/5.52, allocations: 330.4 kB / 2.635 GB, free: 16.63 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001379/5.521, allocations: 0.5219 MB / 2.636 GB, free: 16.07 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.767e-05/5.521, allocations: 27.91 kB / 2.636 GB, free: 16.04 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002204/5.522, allocations: 55.97 kB / 2.636 GB, free: 15.98 MB / 0.4948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002073/5.524, allocations: 1.042 MB / 2.637 GB, free: 14.94 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001528/5.525, allocations: 0.7278 MB / 2.637 GB, free: 14.18 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.299e-05/5.525, allocations: 7.922 kB / 2.637 GB, free: 14.18 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.213e-05/5.526, allocations: 0 / 2.637 GB, free: 14.18 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.439e-05/5.526, allocations: 20 kB / 2.637 GB, free: 14.16 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004557/5.53, allocations: 2.381 MB / 2.64 GB, free: 11.7 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00121/5.531, allocations: 0.7189 MB / 2.64 GB, free: 10.98 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004325/5.532, allocations: 281.4 kB / 2.641 GB, free: 10.7 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007804/5.533, allocations: 478.1 kB / 2.641 GB, free: 10.14 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006885/5.533, allocations: 426.9 kB / 2.642 GB, free: 9.703 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=76): time 4.728e-06/5.533, allocations: 0 / 2.642 GB, free: 9.703 MB / 0.4948 GB Notification: Performance of matching and sorting (n=76): time 0.002491/5.536, allocations: 0.7849 MB / 2.642 GB, free: 8.91 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001322/5.536, allocations: 162.9 kB / 2.643 GB, free: 8.715 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006988/5.537, allocations: 445.3 kB / 2.643 GB, free: 8.27 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 7.521e-05/5.537, allocations: 25.7 kB / 2.643 GB, free: 8.238 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002865/5.537, allocations: 284.3 kB / 2.643 GB, free: 7.953 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002361/5.537, allocations: 240.4 kB / 2.643 GB, free: 7.715 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.166e-05/5.537, allocations: 0 / 2.643 GB, free: 7.715 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001963/5.538, allocations: 366.7 kB / 2.644 GB, free: 7.348 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004021/5.538, allocations: 237.5 kB / 2.644 GB, free: 7.113 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004781/5.538, allocations: 320.8 kB / 2.644 GB, free: 6.777 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008938/5.539, allocations: 347 kB / 2.645 GB, free: 6.441 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.028e-06/5.539, allocations: 0 / 2.645 GB, free: 6.441 MB / 0.4948 GB Notification: Performance of matching and sorting (n=84) (initialization): time 0.002158/5.542, allocations: 0.8436 MB / 2.646 GB, free: 5.586 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 2.454e-05/5.542, allocations: 4 kB / 2.646 GB, free: 5.582 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.239e-05/5.542, allocations: 4.062 kB / 2.646 GB, free: 5.578 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007037/5.542, allocations: 92.62 kB / 2.646 GB, free: 5.484 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008703/5.543, allocations: 163.8 kB / 2.646 GB, free: 5.324 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001948/5.545, allocations: 1.453 MB / 2.647 GB, free: 3.75 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007177/5.546, allocations: 67.52 kB / 2.647 GB, free: 3.684 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.499e-05/5.546, allocations: 39.98 kB / 2.647 GB, free: 3.645 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 (82): * Single equations (assignments): 79 * 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.0002221/5.546, allocations: 128.7 kB / 2.647 GB, free: 3.512 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001196/5.546, allocations: 63.25 kB / 2.647 GB, free: 3.449 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00283/5.549, allocations: 1.08 MB / 2.649 GB, free: 2.355 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.365e-06/5.549, allocations: 11.94 kB / 2.649 GB, free: 2.344 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.106e-06/5.549, allocations: 0 / 2.649 GB, free: 2.344 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.308e-05/5.549, allocations: 7.969 kB / 2.649 GB, free: 2.336 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003277/5.553, allocations: 1.795 MB / 2.65 GB, free: 0.4961 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.489e-06/5.553, allocations: 0 / 2.65 GB, free: 0.4961 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007749/5.553, allocations: 163.8 kB / 2.65 GB, free: 344 kB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005296/5.554, allocations: 88.78 kB / 2.651 GB, free: 252 kB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.364e-05/5.554, allocations: 19.97 kB / 2.651 GB, free: 232 kB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2827/5.837, allocations: 1.466 MB / 2.652 GB, free: 194.6 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.29e-06/5.837, allocations: 0 / 2.652 GB, free: 194.6 MB / 0.4948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002318/5.839, allocations: 0.9344 MB / 2.653 GB, free: 194.4 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004119/5.839, allocations: 285.4 kB / 2.653 GB, free: 194.3 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000117/5.84, allocations: 0 / 2.653 GB, free: 194.3 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006708/5.84, allocations: 66.91 kB / 2.653 GB, free: 194.3 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001103/5.84, allocations: 49.44 kB / 2.653 GB, free: 194.3 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.01e-05/5.84, allocations: 30.67 kB / 2.653 GB, free: 194.3 MB / 0.4948 GB Notification: Performance of sort global known variables: time 0.0004227/5.841, allocations: 357.5 kB / 2.654 GB, free: 194.2 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.001325/5.842, allocations: 384.6 kB / 2.654 GB, free: 194.2 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.002028/5.844, allocations: 1.194 MB / 2.655 GB, free: 194.1 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.001355/5.846, allocations: 0.7816 MB / 2.656 GB, free: 193.9 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 2.806e-06/5.846, allocations: 0 / 2.656 GB, free: 193.9 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0006848/5.846, allocations: 468.8 kB / 2.656 GB, free: 193.8 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007797/5.847, allocations: 150.3 kB / 2.657 GB, free: 193.8 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003456/5.851, allocations: 1.291 MB / 2.658 GB, free: 193.5 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007461/5.851, allocations: 1.1 MB / 2.659 GB, free: 192.8 MB / 0.4948 GB Notification: Performance of SimCode: time 1.583e-06/5.851, allocations: 0 / 2.659 GB, free: 192.8 MB / 0.4948 GB Notification: Performance of Templates: time 0.02745/5.879, allocations: 17.51 MB / 2.676 GB, free: 191.6 MB / 0.4948 GB make -j1 -f Annex60_1.0.0_Annex60.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.makefile (rm -f Annex60_1.0.0_Annex60.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.pipe ; mkfifo Annex60_1.0.0_Annex60.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.pipe ; head -c 1048576 < Annex60_1.0.0_Annex60.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.pipe >> ../files/Annex60_1.0.0_Annex60.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.sim & ./Annex60_1.0.0_Annex60.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle -abortSlowSimulation -alarm=480 -lv LOG_STATS > Annex60_1.0.0_Annex60.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.pipe 2>&1)