Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Annex60_1.0.0_Annex60.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.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.ZenithAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle") translateModel(Annex60.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle") [: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.2843/0.2843, allocations: 54.39 MB / 61.67 MB, free: 11.14 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.001217/0.001217, allocations: 186.7 kB / 75.37 MB, free: 1.488 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.799/1.799, allocations: 194.2 MB / 283.2 MB, free: 3.473 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.002066/0.002066, allocations: 122.6 kB / 341.3 MB, free: 9.348 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 1.06e-05/1.064e-05, allocations: 4 kB / 405 MB, free: 27.65 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1666/0.1666, allocations: 57.65 MB / 462.6 MB, free: 1.938 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.683/4.85, allocations: 2.129 GB / 2.581 GB, free: 72.83 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002225/4.85, allocations: 101.2 kB / 2.581 GB, free: 72.73 MB / 0.4948 GB Notification: Performance of FrontEnd: time 0.1116/4.962, allocations: 52.73 MB / 2.632 GB, free: 19.69 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 9.131e-05/4.962, allocations: 16 kB / 2.632 GB, free: 19.68 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: 193 * Number of variables: 193 Notification: Performance of Generate backend data structure: time 0.002864/4.965, allocations: 1.101 MB / 2.633 GB, free: 18.51 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.837e-05/4.965, allocations: 15.95 kB / 2.633 GB, free: 18.5 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002288/4.967, allocations: 326.4 kB / 2.634 GB, free: 18.18 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001148/4.968, allocations: 0.5198 MB / 2.634 GB, free: 17.62 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.074e-05/4.968, allocations: 24 kB / 2.634 GB, free: 17.59 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001586/4.968, allocations: 44 kB / 2.634 GB, free: 17.55 MB / 0.4948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001584/4.97, allocations: 1.015 MB / 2.635 GB, free: 16.54 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001144/4.971, allocations: 0.7121 MB / 2.636 GB, free: 15.79 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.97e-05/4.971, allocations: 0 / 2.636 GB, free: 15.79 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.557e-05/4.971, allocations: 0 / 2.636 GB, free: 15.79 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.887e-05/4.971, allocations: 20 kB / 2.636 GB, free: 15.77 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003813/4.975, allocations: 2.255 MB / 2.638 GB, free: 13.46 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001021/4.976, allocations: 0.7781 MB / 2.639 GB, free: 12.66 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003576/4.976, allocations: 266.8 kB / 2.639 GB, free: 12.4 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005899/4.977, allocations: 482.2 kB / 2.64 GB, free: 11.84 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004947/4.978, allocations: 414.8 kB / 2.64 GB, free: 11.41 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=72): time 2.194e-06/4.978, allocations: 3.938 kB / 2.64 GB, free: 11.41 MB / 0.4948 GB Notification: Performance of matching and sorting (n=72): time 0.001917/4.98, allocations: 0.7459 MB / 2.641 GB, free: 10.65 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.524e-05/4.98, allocations: 166.9 kB / 2.641 GB, free: 10.45 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004583/4.98, allocations: 433.2 kB / 2.641 GB, free: 10.02 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 5.982e-05/4.98, allocations: 33.7 kB / 2.641 GB, free: 9.98 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001392/4.98, allocations: 268.5 kB / 2.642 GB, free: 9.711 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001386/4.98, allocations: 224.6 kB / 2.642 GB, free: 9.488 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.876e-05/4.98, allocations: 0 / 2.642 GB, free: 9.488 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 7.417e-05/4.981, allocations: 362.8 kB / 2.642 GB, free: 9.125 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003152/4.981, allocations: 225.3 kB / 2.642 GB, free: 8.902 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003387/4.981, allocations: 303.8 kB / 2.643 GB, free: 8.586 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007497/4.982, allocations: 342.9 kB / 2.643 GB, free: 8.25 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.915e-06/4.982, allocations: 4 kB / 2.643 GB, free: 8.246 MB / 0.4948 GB Notification: Performance of matching and sorting (n=78) (initialization): time 0.001799/4.984, allocations: 0.8045 MB / 2.644 GB, free: 7.43 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.335e-05/4.984, allocations: 4 kB / 2.644 GB, free: 7.426 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.274e-06/4.984, allocations: 4.062 kB / 2.644 GB, free: 7.422 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006649/4.985, allocations: 84.78 kB / 2.644 GB, free: 7.336 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00076/4.985, allocations: 147.8 kB / 2.644 GB, free: 7.191 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001602/4.987, allocations: 1.465 MB / 2.645 GB, free: 5.602 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000611/4.988, allocations: 63.41 kB / 2.645 GB, free: 5.539 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.699e-05/4.988, allocations: 32.03 kB / 2.645 GB, free: 5.508 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 (76): * Single equations (assignments): 73 * 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.0001524/4.988, allocations: 120.8 kB / 2.646 GB, free: 5.383 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001057/4.988, allocations: 63.19 kB / 2.646 GB, free: 5.32 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002486/4.99, allocations: 1.06 MB / 2.647 GB, free: 4.25 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.655e-06/4.99, allocations: 8 kB / 2.647 GB, free: 4.242 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.366e-06/4.99, allocations: 4 kB / 2.647 GB, free: 4.238 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.033e-05/4.99, allocations: 7.984 kB / 2.647 GB, free: 4.23 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002878/4.993, allocations: 1.772 MB / 2.648 GB, free: 2.41 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.737e-06/4.993, allocations: 0 / 2.648 GB, free: 2.41 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007307/4.994, allocations: 159.8 kB / 2.649 GB, free: 2.254 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004885/4.995, allocations: 84.78 kB / 2.649 GB, free: 2.168 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.981e-05/4.995, allocations: 19.97 kB / 2.649 GB, free: 2.148 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001411/4.996, allocations: 1.468 MB / 2.65 GB, free: 0.5547 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.314e-06/4.996, allocations: 0 / 2.65 GB, free: 0.5547 MB / 0.4948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.194/5.19, allocations: 0.922 MB / 2.651 GB, free: 201.2 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000476/5.191, allocations: 271.8 kB / 2.651 GB, free: 201.1 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001217/5.191, allocations: 0 / 2.651 GB, free: 201.1 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006657/5.191, allocations: 64.81 kB / 2.651 GB, free: 201.1 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.943e-05/5.191, allocations: 53.2 kB / 2.651 GB, free: 201.1 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.442e-05/5.192, allocations: 30.38 kB / 2.651 GB, free: 201.1 MB / 0.4948 GB Notification: Performance of sort global known variables: time 0.0003526/5.192, allocations: 347 kB / 2.652 GB, free: 201 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.001216/5.193, allocations: 379.2 kB / 2.652 GB, free: 201 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 (82): * Single equations (assignments): 79 * 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.001829/5.195, allocations: 1.187 MB / 2.653 GB, free: 200.9 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.001252/5.196, allocations: 0.7532 MB / 2.654 GB, free: 200.7 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 2.885e-06/5.196, allocations: 2.219 kB / 2.654 GB, free: 200.7 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0006425/5.197, allocations: 470.5 kB / 2.654 GB, free: 200.6 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007285/5.198, allocations: 150.8 kB / 2.655 GB, free: 200.6 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003323/5.201, allocations: 1.269 MB / 2.656 GB, free: 200.3 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006864/5.202, allocations: 1.09 MB / 2.657 GB, free: 199.6 MB / 0.4948 GB Notification: Performance of SimCode: time 9.02e-07/5.202, allocations: 0 / 2.657 GB, free: 199.6 MB / 0.4948 GB Notification: Performance of Templates: time 0.02421/5.226, allocations: 17.18 MB / 2.674 GB, free: 198.5 MB / 0.4948 GB make -j1 -f Annex60_1.0.0_Annex60.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.makefile (rm -f Annex60_1.0.0_Annex60.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe ; mkfifo Annex60_1.0.0_Annex60.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe ; head -c 1048576 < Annex60_1.0.0_Annex60.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe >> ../files/Annex60_1.0.0_Annex60.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.sim & ./Annex60_1.0.0_Annex60.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle -abortSlowSimulation -alarm=480 -lv LOG_STATS > Annex60_1.0.0_Annex60.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe 2>&1)