Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Annex60_1.0.0_Annex60.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.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.DiffusePerez,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez") translateModel(Annex60.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez") [: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.2834/0.2834, allocations: 54.39 MB / 61.67 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.001205/0.001205, allocations: 179 kB / 75.37 MB, free: 1.453 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.42/1.42, 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.001711/0.001711, allocations: 109.3 kB / 341.3 MB, free: 9.359 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 6.522e-06/6.542e-06, allocations: 4 kB / 404.9 MB, free: 27.69 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1206/0.1206, allocations: 57.64 MB / 462.6 MB, free: 1.98 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.377/5.498, allocations: 2.133 GB / 2.585 GB, free: 68.84 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004175/5.499, allocations: 79.95 kB / 2.585 GB, free: 68.76 MB / 0.4948 GB Notification: Performance of FrontEnd: time 0.5679/6.066, allocations: 91.21 MB / 2.674 GB, free: 138.9 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.0001015/6.067, allocations: 48.31 kB / 2.674 GB, free: 138.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: 477 * Number of variables: 477 Notification: Performance of Generate backend data structure: time 0.004375/6.071, allocations: 1.968 MB / 2.676 GB, free: 138.1 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 5.501e-05/6.071, allocations: 11.5 kB / 2.676 GB, free: 138.1 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01484/6.086, allocations: 2.162 MB / 2.678 GB, free: 138 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003599/6.09, allocations: 0.9486 MB / 2.679 GB, free: 137.6 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.741e-05/6.09, allocations: 58.03 kB / 2.679 GB, free: 137.6 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004385/6.09, allocations: 112.9 kB / 2.679 GB, free: 137.6 MB / 0.4948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00589/6.096, allocations: 2.809 MB / 2.682 GB, free: 137.6 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004658/6.101, allocations: 2.092 MB / 2.684 GB, free: 137.5 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.214e-05/6.101, allocations: 0 / 2.684 GB, free: 137.5 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002298/6.101, allocations: 0 / 2.684 GB, free: 137.5 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.409e-05/6.101, allocations: 44.69 kB / 2.684 GB, free: 137.5 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01515/6.116, allocations: 6.213 MB / 2.69 GB, free: 136.2 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002963/6.119, allocations: 1.902 MB / 2.692 GB, free: 136.1 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001497/6.121, allocations: 1.013 MB / 2.693 GB, free: 136.1 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007331/6.122, allocations: 0.5014 MB / 2.693 GB, free: 135.6 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001886/6.123, allocations: 1.271 MB / 2.695 GB, free: 135.6 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=192): time 2.975e-06/6.124, allocations: 0 / 2.695 GB, free: 135.6 MB / 0.4948 GB Notification: Performance of matching and sorting (n=192): time 0.005692/6.129, allocations: 2.28 MB / 2.697 GB, free: 135.4 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001133/6.129, allocations: 174.1 kB / 2.697 GB, free: 135.2 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001296/6.131, allocations: 0.5871 MB / 2.698 GB, free: 135.1 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0002201/6.131, allocations: 31.89 kB / 2.698 GB, free: 135.1 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006624/6.132, allocations: 0.5003 MB / 2.698 GB, free: 134.7 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007546/6.132, allocations: 0.6006 MB / 2.699 GB, free: 134.3 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001566/6.133, allocations: 0 / 2.699 GB, free: 134.3 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0002069/6.133, allocations: 412.1 kB / 2.699 GB, free: 134 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001909/6.135, allocations: 0.7834 MB / 2.7 GB, free: 134 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002206/6.137, allocations: 0.9394 MB / 2.701 GB, free: 133.9 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003138/6.14, allocations: 1.086 MB / 2.702 GB, free: 133.5 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.878e-06/6.14, allocations: 7.344 kB / 2.702 GB, free: 133.5 MB / 0.4948 GB Notification: Performance of matching and sorting (n=207) (initialization): time 0.006416/6.146, allocations: 2.378 MB / 2.704 GB, free: 132.7 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 2.818e-05/6.147, allocations: 5.094 kB / 2.704 GB, free: 132.7 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.62e-05/6.147, allocations: 2.156 kB / 2.704 GB, free: 132.7 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000709/6.147, allocations: 93.3 kB / 2.704 GB, free: 132.6 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004167/6.151, allocations: 0.5649 MB / 2.705 GB, free: 132.6 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002286/6.154, allocations: 1.453 MB / 2.706 GB, free: 131.3 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003524/6.157, allocations: 291.6 kB / 2.706 GB, free: 131.2 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002909/6.158, allocations: 90.45 kB / 2.707 GB, free: 131.2 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (205): * Single equations (assignments): 202 * 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.0004958/6.158, allocations: 126.3 kB / 2.707 GB, free: 131.1 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003926/6.158, allocations: 127.5 kB / 2.707 GB, free: 131.1 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009284/6.168, allocations: 2.972 MB / 2.71 GB, free: 130 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.696e-05/6.168, allocations: 20.75 kB / 2.71 GB, free: 130 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.392e-06/6.168, allocations: 0 / 2.71 GB, free: 130 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.213e-05/6.168, allocations: 10.27 kB / 2.71 GB, free: 130 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01168/6.18, allocations: 4.847 MB / 2.714 GB, free: 127.9 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.508e-06/6.18, allocations: 0 / 2.714 GB, free: 127.9 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00432/6.184, allocations: 0.5479 MB / 2.715 GB, free: 127.8 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006621/6.185, allocations: 86.03 kB / 2.715 GB, free: 127.8 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003093/6.185, allocations: 50.94 kB / 2.715 GB, free: 127.8 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00216/6.187, allocations: 1.476 MB / 2.717 GB, free: 126.5 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.321e-06/6.187, allocations: 0 / 2.717 GB, free: 126.5 MB / 0.4948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.007115/6.194, allocations: 2.452 MB / 2.719 GB, free: 125.5 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001519/6.196, allocations: 0.5167 MB / 2.719 GB, free: 125.1 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000609/6.197, allocations: 7.156 kB / 2.719 GB, free: 125.1 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003388/6.2, allocations: 231.4 kB / 2.72 GB, free: 125.1 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003397/6.2, allocations: 108.5 kB / 2.72 GB, free: 125.1 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003262/6.201, allocations: 85.52 kB / 2.72 GB, free: 125.1 MB / 0.4948 GB Notification: Performance of sort global known variables: time 0.00141/6.202, allocations: 0.493 MB / 2.72 GB, free: 124.8 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.003952/6.206, allocations: 0.6022 MB / 2.721 GB, free: 124.7 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 (202): * Single equations (assignments): 199 * 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.004027/6.21, allocations: 1.203 MB / 2.722 GB, free: 124.3 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.005724/6.216, allocations: 2.2 MB / 2.724 GB, free: 123.1 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 6.292e-06/6.216, allocations: 0 / 2.724 GB, free: 123.1 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.002352/6.218, allocations: 1.24 MB / 2.725 GB, free: 121.9 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001677/6.22, allocations: 178.8 kB / 2.726 GB, free: 121.8 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007519/6.227, allocations: 2.68 MB / 2.728 GB, free: 119.3 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002393/6.23, allocations: 1.572 MB / 2.73 GB, free: 117.8 MB / 0.4948 GB Notification: Performance of SimCode: time 1.563e-06/6.23, allocations: 0 / 2.73 GB, free: 117.8 MB / 0.4948 GB Notification: Performance of Templates: time 0.05579/6.286, allocations: 36.31 MB / 2.765 GB, free: 82.04 MB / 0.4948 GB make -j1 -f Annex60_1.0.0_Annex60.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.makefile (rm -f Annex60_1.0.0_Annex60.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.pipe ; mkfifo Annex60_1.0.0_Annex60.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.pipe ; head -c 1048576 < Annex60_1.0.0_Annex60.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.pipe >> ../files/Annex60_1.0.0_Annex60.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.sim & ./Annex60_1.0.0_Annex60.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez -abortSlowSimulation -alarm=480 -lv LOG_STATS > Annex60_1.0.0_Annex60.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.pipe 2>&1)