Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Annex60_1.0.0_Annex60.BoundaryConditions.SolarGeometry.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.Examples.IncidenceAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle") translateModel(Annex60.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.BoundaryConditions.SolarGeometry.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.2859/0.2859, allocations: 54.39 MB / 61.68 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.001173/0.001173, allocations: 188.2 kB / 75.38 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.822/1.822, allocations: 194.2 MB / 283.2 MB, free: 3.48 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.002047/0.002047, allocations: 109.7 kB / 341.3 MB, free: 9.363 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 8.596e-06/8.806e-06, allocations: 0 / 404.9 MB, free: 27.68 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1608/0.1608, allocations: 57.64 MB / 462.6 MB, free: 1.969 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.833/4.994, allocations: 2.13 GB / 2.582 GB, free: 69.44 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002211/4.994, allocations: 88.69 kB / 2.582 GB, free: 69.35 MB / 0.4948 GB Notification: Performance of FrontEnd: time 0.3984/5.393, allocations: 87.27 MB / 2.667 GB, free: 147.9 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 8.034e-05/5.393, allocations: 33.31 kB / 2.667 GB, free: 147.9 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: 348 * Number of variables: 348 Notification: Performance of Generate backend data structure: time 0.002534/5.396, allocations: 1.437 MB / 2.669 GB, free: 147.2 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.944e-05/5.396, allocations: 17.23 kB / 2.669 GB, free: 147.2 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002079/5.398, allocations: 395.2 kB / 2.669 GB, free: 147.1 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001076/5.399, allocations: 0.6845 MB / 2.67 GB, free: 146.8 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.059e-05/5.399, allocations: 40.28 kB / 2.67 GB, free: 146.8 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001387/5.399, allocations: 90.36 kB / 2.67 GB, free: 146.8 MB / 0.4948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002086/5.401, allocations: 1.382 MB / 2.671 GB, free: 146.8 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001811/5.403, allocations: 1.141 MB / 2.672 GB, free: 146.7 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.081e-05/5.403, allocations: 0 / 2.672 GB, free: 146.7 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.931e-05/5.403, allocations: 3.938 kB / 2.672 GB, free: 146.7 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.247e-05/5.403, allocations: 30.66 kB / 2.673 GB, free: 146.7 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006066/5.409, allocations: 3.766 MB / 2.676 GB, free: 145.4 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001291/5.41, allocations: 0.9205 MB / 2.677 GB, free: 145.4 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005184/5.411, allocations: 378.9 kB / 2.677 GB, free: 145.3 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006308/5.412, allocations: 486.8 kB / 2.678 GB, free: 144.9 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007498/5.412, allocations: 0.5556 MB / 2.678 GB, free: 144.8 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=104): time 3.186e-06/5.412, allocations: 0 / 2.678 GB, free: 144.8 MB / 0.4948 GB Notification: Performance of matching and sorting (n=104): time 0.002456/5.415, allocations: 1.017 MB / 2.679 GB, free: 144.7 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.634e-05/5.415, allocations: 166.9 kB / 2.68 GB, free: 144.5 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00058/5.415, allocations: 0.5379 MB / 2.68 GB, free: 144.4 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 7.336e-05/5.416, allocations: 28.95 kB / 2.68 GB, free: 144.3 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002448/5.416, allocations: 457.4 kB / 2.681 GB, free: 144 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.000204/5.416, allocations: 331.4 kB / 2.681 GB, free: 143.8 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.499e-05/5.416, allocations: 2.781 kB / 2.681 GB, free: 143.8 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 9.326e-05/5.416, allocations: 385.3 kB / 2.681 GB, free: 143.5 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004875/5.417, allocations: 332.5 kB / 2.682 GB, free: 143.5 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005279/5.417, allocations: 436.4 kB / 2.682 GB, free: 143.5 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009654/5.418, allocations: 474.6 kB / 2.682 GB, free: 143.4 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.066e-06/5.418, allocations: 0 / 2.682 GB, free: 143.4 MB / 0.4948 GB Notification: Performance of matching and sorting (n=120) (initialization): time 0.002341/5.421, allocations: 1.121 MB / 2.684 GB, free: 143.3 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.28e-05/5.421, allocations: 7.328 kB / 2.684 GB, free: 143.3 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.165e-06/5.421, allocations: 3.781 kB / 2.684 GB, free: 143.3 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006084/5.421, allocations: 89.08 kB / 2.684 GB, free: 143.3 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001102/5.422, allocations: 228 kB / 2.684 GB, free: 143.3 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00168/5.424, allocations: 1.463 MB / 2.685 GB, free: 142.1 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009305/5.425, allocations: 84.27 kB / 2.685 GB, free: 142.1 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.495e-05/5.425, allocations: 46.33 kB / 2.685 GB, free: 142.1 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 (118): * Single equations (assignments): 115 * 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.0002008/5.425, allocations: 119 kB / 2.686 GB, free: 142 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001461/5.425, allocations: 91.69 kB / 2.686 GB, free: 141.9 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00354/5.429, allocations: 1.431 MB / 2.687 GB, free: 141.8 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.031e-05/5.429, allocations: 11.78 kB / 2.687 GB, free: 141.8 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.815e-06/5.429, allocations: 0 / 2.687 GB, free: 141.8 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.109e-05/5.429, allocations: 7.781 kB / 2.687 GB, free: 141.8 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004043/5.433, allocations: 2.428 MB / 2.689 GB, free: 141.4 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.169e-06/5.433, allocations: 3.094 kB / 2.689 GB, free: 141.4 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009975/5.434, allocations: 204 kB / 2.69 GB, free: 141.4 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005197/5.435, allocations: 97.48 kB / 2.69 GB, free: 141.4 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.231e-05/5.435, allocations: 19 kB / 2.69 GB, free: 141.4 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00153/5.436, allocations: 1.484 MB / 2.691 GB, free: 140.2 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.697e-06/5.436, allocations: 0 / 2.691 GB, free: 140.2 MB / 0.4948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002311/5.439, allocations: 1.155 MB / 2.692 GB, free: 140 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005348/5.439, allocations: 357.2 kB / 2.693 GB, free: 139.8 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001573/5.439, allocations: 3.516 kB / 2.693 GB, free: 139.8 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007989/5.44, allocations: 60.56 kB / 2.693 GB, free: 139.8 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000131/5.44, allocations: 61.27 kB / 2.693 GB, free: 139.8 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.016e-05/5.44, allocations: 36.97 kB / 2.693 GB, free: 139.8 MB / 0.4948 GB Notification: Performance of sort global known variables: time 0.0005513/5.441, allocations: 468.3 kB / 2.693 GB, free: 139.7 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.001609/5.443, allocations: 485.2 kB / 2.694 GB, free: 139.6 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 (111): * Single equations (assignments): 108 * 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.002494/5.445, allocations: 1.19 MB / 2.695 GB, free: 139.3 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.002379/5.447, allocations: 1.02 MB / 2.696 GB, free: 139.1 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 5.27e-06/5.447, allocations: 1.094 kB / 2.696 GB, free: 139.1 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.001225/5.449, allocations: 0.5689 MB / 2.696 GB, free: 138.9 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001283/5.45, allocations: 160.7 kB / 2.697 GB, free: 138.8 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005231/5.455, allocations: 1.755 MB / 2.698 GB, free: 138.2 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001333/5.457, allocations: 1.298 MB / 2.7 GB, free: 137.4 MB / 0.4948 GB Notification: Performance of SimCode: time 1.232e-06/5.457, allocations: 0 / 2.7 GB, free: 137.4 MB / 0.4948 GB Notification: Performance of Templates: time 0.04159/5.498, allocations: 20.74 MB / 2.72 GB, free: 128.9 MB / 0.4948 GB make -j1 -f Annex60_1.0.0_Annex60.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.makefile (rm -f Annex60_1.0.0_Annex60.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.pipe ; mkfifo Annex60_1.0.0_Annex60.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.pipe ; head -c 1048576 < Annex60_1.0.0_Annex60.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.pipe >> ../files/Annex60_1.0.0_Annex60.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.sim & ./Annex60_1.0.0_Annex60.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle -abortSlowSimulation -alarm=480 -lv LOG_STATS > Annex60_1.0.0_Annex60.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.pipe 2>&1)