Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: translateModel(IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness") translateModel(IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness") [: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/Complex 4.0.0+maint.om/package.mo): time 0.003052/0.003051, allocations: 179.1 kB / 7.457 MB, free: 2.5 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7128/0.7128, allocations: 133.5 MB / 141.4 MB, free: 15.67 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.515/1.515, allocations: 221.3 MB / 395 MB, free: 10.23 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009662/0.000966, allocations: 101.6 kB / 477.8 MB, free: 10.84 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 1.121e-05/1.124e-05, allocations: 2.781 kB / 0.5528 GB, free: 89.12 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2216/0.2216, allocations: 82.3 MB / 0.6332 GB, free: 14.1 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.639/4.86, allocations: 1.694 GB / 2.327 GB, free: 259.2 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003237/4.861, allocations: 89.53 kB / 2.327 GB, free: 259.2 MB / 0.6823 GB Notification: Performance of FrontEnd: time 0.1569/5.017, allocations: 68.55 MB / 2.394 GB, free: 204 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 9.329e-05/5.018, allocations: 23.98 kB / 2.394 GB, free: 204 MB / 0.6823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 228 * Number of variables: 228 Notification: Performance of Generate backend data structure: time 0.002389/5.02, allocations: 1.157 MB / 2.395 GB, free: 202.8 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 3.903e-05/5.02, allocations: 8.031 kB / 2.395 GB, free: 202.7 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00127/5.021, allocations: 230.4 kB / 2.395 GB, free: 202.5 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001122/5.022, allocations: 0.6347 MB / 2.396 GB, free: 201.8 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.795e-05/5.022, allocations: 28 kB / 2.396 GB, free: 201.8 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001072/5.023, allocations: 52 kB / 2.396 GB, free: 201.8 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001429/5.024, allocations: 1.03 MB / 2.397 GB, free: 200.7 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001163/5.025, allocations: 0.7818 MB / 2.398 GB, free: 199.9 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.403e-05/5.025, allocations: 4 kB / 2.398 GB, free: 199.9 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.801e-05/5.025, allocations: 3.984 kB / 2.398 GB, free: 199.9 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.075e-05/5.025, allocations: 20 kB / 2.398 GB, free: 199.9 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003432/5.029, allocations: 2.449 MB / 2.4 GB, free: 197.4 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009282/5.03, allocations: 0.7245 MB / 2.401 GB, free: 196.6 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003196/5.03, allocations: 246.8 kB / 2.401 GB, free: 196.4 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006009/5.031, allocations: 474.2 kB / 2.402 GB, free: 195.8 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004737/5.031, allocations: 386 kB / 2.402 GB, free: 195.4 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=73): time 2.685e-06/5.031, allocations: 0 / 2.402 GB, free: 195.4 MB / 0.6823 GB Notification: Performance of matching and sorting (n=73): time 0.001768/5.033, allocations: 0.7068 MB / 2.403 GB, free: 194.7 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.705e-05/5.033, allocations: 244 kB / 2.403 GB, free: 194.4 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000588/5.034, allocations: 0.4945 MB / 2.403 GB, free: 193.9 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 5.488e-05/5.034, allocations: 25.7 kB / 2.403 GB, free: 193.9 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001561/5.034, allocations: 331.9 kB / 2.404 GB, free: 193.6 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001299/5.034, allocations: 228.5 kB / 2.404 GB, free: 193.3 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.185e-05/5.034, allocations: 0 / 2.404 GB, free: 193.3 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 8.906e-05/5.034, allocations: 382.7 kB / 2.404 GB, free: 192.9 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002694/5.034, allocations: 197.2 kB / 2.404 GB, free: 192.8 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000319/5.035, allocations: 290.4 kB / 2.405 GB, free: 192.4 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006265/5.035, allocations: 311 kB / 2.405 GB, free: 192.1 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.487e-06/5.035, allocations: 0 / 2.405 GB, free: 192.1 MB / 0.6823 GB Notification: Performance of matching and sorting (n=77) (initialization): time 0.001591/5.037, allocations: 0.7108 MB / 2.406 GB, free: 191.4 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.644e-05/5.037, allocations: 10.72 kB / 2.406 GB, free: 191.4 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.987e-06/5.037, allocations: 7.891 kB / 2.406 GB, free: 191.4 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006348/5.038, allocations: 88.77 kB / 2.406 GB, free: 191.3 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006244/5.038, allocations: 139.8 kB / 2.406 GB, free: 191.2 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001799/5.04, allocations: 1.457 MB / 2.407 GB, free: 189.6 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006489/5.041, allocations: 59.55 kB / 2.407 GB, free: 189.5 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.853e-05/5.041, allocations: 31.97 kB / 2.407 GB, free: 189.5 MB / 0.6823 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.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (75): * Single equations (assignments): 74 * Array equations: 0 * Algorithm blocks: 0 * 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.0001935/5.041, allocations: 128.9 kB / 2.408 GB, free: 189.4 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001622/5.041, allocations: 71.06 kB / 2.408 GB, free: 189.3 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002464/5.044, allocations: 0.9831 MB / 2.409 GB, free: 188.3 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.528e-06/5.044, allocations: 15.92 kB / 2.409 GB, free: 188.3 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.897e-06/5.044, allocations: 4 kB / 2.409 GB, free: 188.3 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.758e-06/5.044, allocations: 3.984 kB / 2.409 GB, free: 188.3 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003245/5.047, allocations: 1.782 MB / 2.41 GB, free: 186.4 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.558e-06/5.047, allocations: 0 / 2.41 GB, free: 186.4 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006112/5.048, allocations: 147.8 kB / 2.411 GB, free: 186.3 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005265/5.048, allocations: 88.77 kB / 2.411 GB, free: 186.2 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.561e-05/5.048, allocations: 15.98 kB / 2.411 GB, free: 186.2 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001497/5.05, allocations: 1.48 MB / 2.412 GB, free: 184.6 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.184e-06/5.05, allocations: 0 / 2.412 GB, free: 184.6 MB / 0.6823 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001635/5.051, allocations: 0.8831 MB / 2.413 GB, free: 183.7 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003665/5.052, allocations: 283.8 kB / 2.413 GB, free: 183.4 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001414/5.052, allocations: 8 kB / 2.413 GB, free: 183.4 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006356/5.053, allocations: 67.94 kB / 2.413 GB, free: 183.3 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001083/5.053, allocations: 44.7 kB / 2.413 GB, free: 183.3 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.04e-05/5.053, allocations: 31.98 kB / 2.413 GB, free: 183.2 MB / 0.6823 GB Notification: Performance of sort global known variables: time 0.0004344/5.053, allocations: 410.8 kB / 2.414 GB, free: 182.8 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.001207/5.054, allocations: 358.9 kB / 2.414 GB, free: 182.5 MB / 0.6823 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.conTimMin.tNext,weaDat.conTim.tNext) * Number of discrete states: 2 (weaDat.conTim.tNext,weaDat.conTimMin.tNext) * Top-level inputs: 0 Notification: Strong component statistics for simulation (84): * Single equations (assignments): 81 * 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.001946/5.056, allocations: 1.073 MB / 2.415 GB, free: 181.5 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.001157/5.058, allocations: 0.6506 MB / 2.416 GB, free: 180.8 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 3.627e-06/5.058, allocations: 4 kB / 2.416 GB, free: 180.8 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0006318/5.058, allocations: 436.8 kB / 2.416 GB, free: 180.4 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001014/5.059, allocations: 214.8 kB / 2.416 GB, free: 180.2 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003759/5.063, allocations: 1.385 MB / 2.418 GB, free: 178.8 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007736/5.064, allocations: 1.142 MB / 2.419 GB, free: 177.6 MB / 0.6823 GB Notification: Performance of SimCode: time 1.001e-06/5.064, allocations: 0 / 2.419 GB, free: 177.6 MB / 0.6823 GB Notification: Performance of Templates: time 0.0267/5.09, allocations: 17.11 MB / 2.436 GB, free: 160.6 MB / 0.6823 GB make -j1 -f IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.makefile (rm -f IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.pipe ; mkfifo IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.pipe >> ../files/IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.sim & ./IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.pipe 2>&1)