Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Annex60_1.0.0_Annex60.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.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.SolarIrradiation.Examples.DirectTiltedSurface,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface") translateModel(Annex60.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface") [: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.2798/0.2798, allocations: 54.39 MB / 61.68 MB, free: 11.18 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.001171/0.001171, allocations: 181.9 kB / 75.37 MB, free: 1.43 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.438/1.438, allocations: 194.2 MB / 283.2 MB, free: 3.512 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.001704/0.001704, allocations: 103.9 kB / 341.3 MB, free: 9.398 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 6.322e-06/6.352e-06, allocations: 0 / 404.9 MB, free: 27.72 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1323/0.1323, allocations: 57.65 MB / 462.6 MB, free: 2.004 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.344/5.476, allocations: 2.131 GB / 2.583 GB, free: 59.89 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002754/5.476, allocations: 85.64 kB / 2.583 GB, free: 59.81 MB / 0.4948 GB Notification: Performance of FrontEnd: time 0.5644/6.041, allocations: 76.99 MB / 2.659 GB, free: 145.1 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 8.114e-05/6.041, allocations: 34.06 kB / 2.659 GB, free: 145.1 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: 301 * Number of variables: 301 Notification: Performance of Generate backend data structure: time 0.002704/6.043, allocations: 1.355 MB / 2.66 GB, free: 144.4 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 5.113e-05/6.044, allocations: 11.53 kB / 2.66 GB, free: 144.4 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002143/6.046, allocations: 373.1 kB / 2.66 GB, free: 144.4 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001264/6.047, allocations: 0.6658 MB / 2.661 GB, free: 144.1 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001149/6.047, allocations: 82.36 kB / 2.661 GB, free: 144.1 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001295/6.047, allocations: 64.69 kB / 2.661 GB, free: 144.1 MB / 0.4948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002134/6.049, allocations: 1.284 MB / 2.662 GB, free: 144.1 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001736/6.051, allocations: 1.03 MB / 2.663 GB, free: 143.9 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.819e-05/6.051, allocations: 2.25 kB / 2.663 GB, free: 143.9 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.861e-05/6.051, allocations: 3.062 kB / 2.663 GB, free: 143.9 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.781e-05/6.051, allocations: 26.97 kB / 2.663 GB, free: 143.9 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005812/6.057, allocations: 3.397 MB / 2.667 GB, free: 142.9 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001295/6.058, allocations: 0.86 MB / 2.667 GB, free: 142.9 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005006/6.059, allocations: 355.8 kB / 2.668 GB, free: 142.8 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000663/6.06, allocations: 482.2 kB / 2.668 GB, free: 142.4 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007877/6.06, allocations: 0.5324 MB / 2.669 GB, free: 142.3 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=93): time 3.977e-06/6.06, allocations: 0 / 2.669 GB, free: 142.3 MB / 0.4948 GB Notification: Performance of matching and sorting (n=93): time 0.002514/6.063, allocations: 0.9469 MB / 2.67 GB, free: 142.2 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.61e-05/6.063, allocations: 162.8 kB / 2.67 GB, free: 142 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007016/6.064, allocations: 0.5341 MB / 2.67 GB, free: 141.9 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 8.422e-05/6.064, allocations: 32.77 kB / 2.67 GB, free: 141.8 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.000314/6.064, allocations: 397.7 kB / 2.671 GB, free: 141.6 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002451/6.064, allocations: 300 kB / 2.671 GB, free: 141.4 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.132e-05/6.064, allocations: 1.594 kB / 2.671 GB, free: 141.4 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001352/6.065, allocations: 380.7 kB / 2.671 GB, free: 141.1 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004848/6.065, allocations: 311.9 kB / 2.672 GB, free: 141.1 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005416/6.066, allocations: 404.1 kB / 2.672 GB, free: 141 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009537/6.067, allocations: 448.7 kB / 2.673 GB, free: 141 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.631e-06/6.067, allocations: 0 / 2.673 GB, free: 141 MB / 0.4948 GB Notification: Performance of matching and sorting (n=106) (initialization): time 0.002305/6.069, allocations: 1.041 MB / 2.674 GB, free: 140.9 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 2.161e-05/6.069, allocations: 5.688 kB / 2.674 GB, free: 140.9 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.287e-06/6.069, allocations: 0 / 2.674 GB, free: 140.9 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006488/6.07, allocations: 89.91 kB / 2.674 GB, free: 140.9 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001031/6.071, allocations: 202.4 kB / 2.674 GB, free: 140.9 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001858/6.073, allocations: 1.464 MB / 2.675 GB, free: 139.7 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008733/6.073, allocations: 76.67 kB / 2.675 GB, free: 139.6 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.333e-05/6.074, allocations: 41.88 kB / 2.675 GB, free: 139.6 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (104): * Single equations (assignments): 101 * 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.0002471/6.074, allocations: 127.8 kB / 2.676 GB, free: 139.5 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000162/6.074, allocations: 82.03 kB / 2.676 GB, free: 139.5 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003436/6.077, allocations: 1.329 MB / 2.677 GB, free: 139.4 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.279e-05/6.077, allocations: 13.84 kB / 2.677 GB, free: 139.4 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.509e-06/6.078, allocations: 7.625 kB / 2.677 GB, free: 139.3 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.724e-05/6.078, allocations: 6.656 kB / 2.677 GB, free: 139.3 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004128/6.082, allocations: 2.287 MB / 2.679 GB, free: 139 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.194e-05/6.082, allocations: 0 / 2.679 GB, free: 139 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009331/6.083, allocations: 193.3 kB / 2.679 GB, free: 139 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005305/6.083, allocations: 82.19 kB / 2.679 GB, free: 139 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.988e-05/6.083, allocations: 30.41 kB / 2.679 GB, free: 139 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001654/6.085, allocations: 1.48 MB / 2.681 GB, free: 137.8 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.316e-06/6.085, allocations: 0 / 2.681 GB, free: 137.8 MB / 0.4948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002323/6.087, allocations: 1.11 MB / 2.682 GB, free: 137.6 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005536/6.088, allocations: 347 kB / 2.682 GB, free: 137.4 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001444/6.088, allocations: 3.906 kB / 2.682 GB, free: 137.4 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007959/6.089, allocations: 63.28 kB / 2.682 GB, free: 137.4 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000142/6.089, allocations: 63.75 kB / 2.682 GB, free: 137.4 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.833e-05/6.089, allocations: 43.48 kB / 2.682 GB, free: 137.4 MB / 0.4948 GB Notification: Performance of sort global known variables: time 0.0005775/6.09, allocations: 442 kB / 2.683 GB, free: 137.3 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.001644/6.091, allocations: 462.3 kB / 2.683 GB, free: 137.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 (103): * Single equations (assignments): 100 * 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.00222/6.094, allocations: 1.193 MB / 2.685 GB, free: 136.9 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.001857/6.095, allocations: 0.953 MB / 2.685 GB, free: 136.7 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 3.396e-06/6.095, allocations: 0 / 2.685 GB, free: 136.7 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0007863/6.096, allocations: 0.5384 MB / 2.686 GB, free: 136.6 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009735/6.097, allocations: 164.9 kB / 2.686 GB, free: 136.6 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004731/6.102, allocations: 1.645 MB / 2.688 GB, free: 136.2 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001126/6.103, allocations: 1.243 MB / 2.689 GB, free: 135.5 MB / 0.4948 GB Notification: Performance of SimCode: time 1.022e-06/6.103, allocations: 0 / 2.689 GB, free: 135.5 MB / 0.4948 GB Notification: Performance of Templates: time 0.05258/6.156, allocations: 20.01 MB / 2.708 GB, free: 131.2 MB / 0.4948 GB make -j1 -f Annex60_1.0.0_Annex60.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.makefile (rm -f Annex60_1.0.0_Annex60.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.pipe ; mkfifo Annex60_1.0.0_Annex60.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.pipe ; head -c 1048576 < Annex60_1.0.0_Annex60.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.pipe >> ../files/Annex60_1.0.0_Annex60.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.sim & ./Annex60_1.0.0_Annex60.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface -abortSlowSimulation -alarm=480 -lv LOG_STATS > Annex60_1.0.0_Annex60.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.pipe 2>&1)