Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Annex60_1.0.0_Annex60.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.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.BaseClasses.Examples.DiffuseIsotropic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic") translateModel(Annex60.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic") [: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.2736/0.2736, allocations: 54.39 MB / 61.67 MB, free: 11.19 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.001354/0.001354, allocations: 188.4 kB / 75.37 MB, free: 1.512 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.657/1.657, allocations: 194.2 MB / 283.2 MB, free: 3.574 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.001986/0.001986, allocations: 109.9 kB / 341.3 MB, free: 9.457 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 9.778e-06/9.808e-06, allocations: 0 / 404.9 MB, free: 27.72 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1515/0.1515, allocations: 57.64 MB / 462.6 MB, free: 2.004 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.252/5.403, allocations: 2.129 GB / 2.581 GB, free: 73.37 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002866/5.403, allocations: 93.58 kB / 2.581 GB, free: 73.28 MB / 0.4948 GB Notification: Performance of FrontEnd: time 0.117/5.52, allocations: 52.31 MB / 2.632 GB, free: 20.67 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 6.862e-05/5.521, allocations: 23.94 kB / 2.632 GB, free: 20.65 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: 191 * Number of variables: 191 Notification: Performance of Generate backend data structure: time 0.002229/5.523, allocations: 1.093 MB / 2.633 GB, free: 19.49 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.535e-05/5.523, allocations: 11.97 kB / 2.633 GB, free: 19.48 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002157/5.525, allocations: 326.4 kB / 2.633 GB, free: 19.16 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009776/5.526, allocations: 0.5236 MB / 2.634 GB, free: 18.6 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.537e-05/5.526, allocations: 27.91 kB / 2.634 GB, free: 18.57 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001333/5.526, allocations: 44 kB / 2.634 GB, free: 18.53 MB / 0.4948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001521/5.528, allocations: 1.007 MB / 2.635 GB, free: 17.52 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001131/5.529, allocations: 0.6965 MB / 2.636 GB, free: 16.79 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.095e-05/5.529, allocations: 0 / 2.636 GB, free: 16.79 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.428e-05/5.529, allocations: 4 kB / 2.636 GB, free: 16.79 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.535e-05/5.529, allocations: 16 kB / 2.636 GB, free: 16.77 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003869/5.533, allocations: 2.239 MB / 2.638 GB, free: 14.48 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001063/5.534, allocations: 0.6886 MB / 2.639 GB, free: 13.79 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004019/5.534, allocations: 266.8 kB / 2.639 GB, free: 13.52 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006825/5.535, allocations: 474.2 kB / 2.639 GB, free: 12.96 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006097/5.536, allocations: 406.9 kB / 2.64 GB, free: 12.55 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=71): time 4.198e-06/5.536, allocations: 0 / 2.64 GB, free: 12.55 MB / 0.4948 GB Notification: Performance of matching and sorting (n=71): time 0.002282/5.538, allocations: 0.7419 MB / 2.64 GB, free: 11.8 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.84e-05/5.538, allocations: 166.9 kB / 2.641 GB, free: 11.6 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006886/5.539, allocations: 437.3 kB / 2.641 GB, free: 11.16 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 7.223e-05/5.539, allocations: 25.7 kB / 2.641 GB, free: 11.13 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002052/5.539, allocations: 276.3 kB / 2.641 GB, free: 10.85 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.000162/5.539, allocations: 224.7 kB / 2.641 GB, free: 10.63 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.002e-05/5.539, allocations: 0 / 2.641 GB, free: 10.63 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 9.478e-05/5.539, allocations: 366.7 kB / 2.642 GB, free: 10.26 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003243/5.54, allocations: 221.3 kB / 2.642 GB, free: 10.04 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003527/5.54, allocations: 303.8 kB / 2.642 GB, free: 9.727 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008385/5.541, allocations: 343 kB / 2.643 GB, free: 9.391 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.318e-06/5.541, allocations: 0 / 2.643 GB, free: 9.391 MB / 0.4948 GB Notification: Performance of matching and sorting (n=78) (initialization): time 0.001904/5.543, allocations: 0.7967 MB / 2.643 GB, free: 8.582 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.609e-05/5.543, allocations: 4 kB / 2.643 GB, free: 8.578 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.346e-06/5.543, allocations: 64 / 2.643 GB, free: 8.578 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006103/5.544, allocations: 88.81 kB / 2.643 GB, free: 8.488 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007498/5.544, allocations: 151.8 kB / 2.644 GB, free: 8.34 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001697/5.546, allocations: 1.453 MB / 2.645 GB, free: 6.762 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006892/5.547, allocations: 67.44 kB / 2.645 GB, free: 6.695 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.123e-05/5.547, allocations: 27.98 kB / 2.645 GB, free: 6.668 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.0001791/5.547, allocations: 116.9 kB / 2.645 GB, free: 6.547 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001719/5.547, allocations: 67.23 kB / 2.645 GB, free: 6.48 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0026/5.55, allocations: 1.018 MB / 2.646 GB, free: 5.453 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.416e-06/5.55, allocations: 12 kB / 2.646 GB, free: 5.441 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.848e-06/5.55, allocations: 3.938 kB / 2.646 GB, free: 5.438 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.626e-06/5.55, allocations: 3.984 kB / 2.646 GB, free: 5.434 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009361/5.551, allocations: 0.6974 MB / 2.647 GB, free: 4.699 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.067e-06/5.551, allocations: 0 / 2.647 GB, free: 4.699 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007149/5.551, allocations: 151.8 kB / 2.647 GB, free: 4.551 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005018/5.552, allocations: 84.78 kB / 2.647 GB, free: 4.465 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.413e-05/5.552, allocations: 19.92 kB / 2.647 GB, free: 4.445 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001507/5.554, allocations: 1.48 MB / 2.649 GB, free: 2.844 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.228e-06/5.554, allocations: 3.984 kB / 2.649 GB, free: 2.84 MB / 0.4948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001827/5.555, allocations: 0.8274 MB / 2.65 GB, free: 1.988 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000385/5.556, allocations: 272 kB / 2.65 GB, free: 1.703 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001463/5.556, allocations: 0 / 2.65 GB, free: 1.703 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006244/5.557, allocations: 63.88 kB / 2.65 GB, free: 1.641 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.65e-05/5.557, allocations: 40.59 kB / 2.65 GB, free: 1.602 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.712e-05/5.557, allocations: 39.97 kB / 2.65 GB, free: 1.562 MB / 0.4948 GB Notification: Performance of sort global known variables: time 0.0003561/5.557, allocations: 342.9 kB / 2.65 GB, free: 1.23 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.001189/5.558, allocations: 375 kB / 2.651 GB, free: 0.8633 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.conTim1.tStart,weaDat.conTim.tStart) * Top-level inputs: 0 Notification: Strong component statistics for simulation (78): * Single equations (assignments): 75 * 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.2029/5.761, allocations: 1.195 MB / 2.652 GB, free: 201.2 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.001796/5.763, allocations: 0.7393 MB / 2.652 GB, free: 201 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 4.668e-06/5.763, allocations: 0 / 2.652 GB, free: 201 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0006875/5.764, allocations: 453.9 kB / 2.653 GB, free: 200.9 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009197/5.765, allocations: 150.5 kB / 2.653 GB, free: 200.9 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003392/5.768, allocations: 1.249 MB / 2.654 GB, free: 200.6 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007022/5.769, allocations: 1.081 MB / 2.655 GB, free: 199.9 MB / 0.4948 GB Notification: Performance of SimCode: time 9.42e-07/5.769, allocations: 0 / 2.655 GB, free: 199.9 MB / 0.4948 GB Notification: Performance of Templates: time 0.02462/5.794, allocations: 17.02 MB / 2.672 GB, free: 198.9 MB / 0.4948 GB make -j1 -f Annex60_1.0.0_Annex60.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.makefile (rm -f Annex60_1.0.0_Annex60.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.pipe ; mkfifo Annex60_1.0.0_Annex60.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.pipe ; head -c 1048576 < Annex60_1.0.0_Annex60.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.pipe >> ../files/Annex60_1.0.0_Annex60.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.sim & ./Annex60_1.0.0_Annex60.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic -abortSlowSimulation -alarm=480 -lv LOG_STATS > Annex60_1.0.0_Annex60.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.pipe 2>&1)