Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_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/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/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_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness") translateModel(IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_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.002928/0.002928, allocations: 182.9 kB / 7.456 MB, free: 2.516 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.6644/0.6644, allocations: 130.6 MB / 138.5 MB, free: 2.164 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.683/1.683, allocations: 221.4 MB / 391.4 MB, free: 13 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.001014/0.001014, allocations: 105.2 kB / 473.5 MB, free: 14.32 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 1.071e-05/1.074e-05, allocations: 3.031 kB / 0.5479 GB, free: 89.04 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2035/0.2035, allocations: 81.59 MB / 0.6276 GB, free: 18.17 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 3.986/4.19, allocations: 1.693 GB / 2.321 GB, free: 185.2 MB / 0.6667 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003123/4.19, allocations: 87.89 kB / 2.321 GB, free: 185.2 MB / 0.6667 GB Notification: Performance of FrontEnd: time 0.1425/4.333, allocations: 68.54 MB / 2.388 GB, free: 116.4 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 8.645e-05/4.333, allocations: 27.94 kB / 2.388 GB, free: 116.3 MB / 0.6667 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.002214/4.335, allocations: 1.157 MB / 2.389 GB, free: 115.1 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 3.844e-05/4.335, allocations: 8.031 kB / 2.389 GB, free: 115.1 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001219/4.336, allocations: 230.4 kB / 2.389 GB, free: 114.9 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001024/4.337, allocations: 0.6346 MB / 2.39 GB, free: 114.2 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.651e-05/4.337, allocations: 32 kB / 2.39 GB, free: 114.2 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.955e-05/4.338, allocations: 48 kB / 2.39 GB, free: 114.1 MB / 0.6667 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001383/4.339, allocations: 1.027 MB / 2.391 GB, free: 113.1 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001108/4.34, allocations: 0.7858 MB / 2.392 GB, free: 112.3 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.105e-05/4.34, allocations: 0 / 2.392 GB, free: 112.3 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.179e-05/4.34, allocations: 4 kB / 2.392 GB, free: 112.3 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.709e-05/4.34, allocations: 20 kB / 2.392 GB, free: 112.3 MB / 0.6667 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003333/4.344, allocations: 2.434 MB / 2.394 GB, free: 109.8 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008776/4.344, allocations: 0.7332 MB / 2.395 GB, free: 109 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003083/4.345, allocations: 242.8 kB / 2.395 GB, free: 108.8 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005639/4.345, allocations: 478.1 kB / 2.396 GB, free: 108.2 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004467/4.346, allocations: 386 kB / 2.396 GB, free: 107.8 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=73): time 2.364e-06/4.346, allocations: 0 / 2.396 GB, free: 107.8 MB / 0.6667 GB Notification: Performance of matching and sorting (n=73): time 0.001716/4.348, allocations: 0.7108 MB / 2.397 GB, free: 107.1 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.765e-05/4.348, allocations: 240 kB / 2.397 GB, free: 106.8 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005168/4.348, allocations: 0.4983 MB / 2.397 GB, free: 106.3 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 5.257e-05/4.348, allocations: 25.7 kB / 2.398 GB, free: 106.3 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001458/4.348, allocations: 335.9 kB / 2.398 GB, free: 105.9 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001291/4.348, allocations: 232.5 kB / 2.398 GB, free: 105.7 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.143e-05/4.349, allocations: 0 / 2.398 GB, free: 105.7 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 8.252e-05/4.349, allocations: 374.7 kB / 2.398 GB, free: 105.3 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002643/4.349, allocations: 189.3 kB / 2.399 GB, free: 105.1 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003192/4.349, allocations: 294.4 kB / 2.399 GB, free: 104.8 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006136/4.35, allocations: 311 kB / 2.399 GB, free: 104.5 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.965e-06/4.35, allocations: 4 kB / 2.399 GB, free: 104.5 MB / 0.6667 GB Notification: Performance of matching and sorting (n=77) (initialization): time 0.001578/4.351, allocations: 0.7147 MB / 2.4 GB, free: 103.8 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 1.66e-05/4.351, allocations: 8 kB / 2.4 GB, free: 103.8 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.873e-06/4.351, allocations: 7.844 kB / 2.4 GB, free: 103.8 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000603/4.352, allocations: 80.78 kB / 2.4 GB, free: 103.7 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006119/4.353, allocations: 143.8 kB / 2.4 GB, free: 103.5 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001635/4.354, allocations: 1.453 MB / 2.402 GB, free: 102 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000572/4.355, allocations: 75.53 kB / 2.402 GB, free: 101.9 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.034e-05/4.355, allocations: 27.98 kB / 2.402 GB, free: 101.9 MB / 0.6667 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.0001462/4.355, allocations: 112.9 kB / 2.402 GB, free: 101.7 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001118/4.355, allocations: 75.06 kB / 2.402 GB, free: 101.7 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002187/4.357, allocations: 0.9949 MB / 2.403 GB, free: 100.7 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.137e-06/4.357, allocations: 12 kB / 2.403 GB, free: 100.7 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.517e-06/4.357, allocations: 0 / 2.403 GB, free: 100.7 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.043e-05/4.358, allocations: 3.984 kB / 2.403 GB, free: 100.6 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00294/4.36, allocations: 1.779 MB / 2.405 GB, free: 98.82 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.398e-06/4.36, allocations: 0 / 2.405 GB, free: 98.82 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006014/4.361, allocations: 151.8 kB / 2.405 GB, free: 98.67 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005071/4.362, allocations: 80.78 kB / 2.405 GB, free: 98.59 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.342e-05/4.362, allocations: 15.98 kB / 2.405 GB, free: 98.57 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001669/4.363, allocations: 1.488 MB / 2.406 GB, free: 96.96 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.847e-06/4.363, allocations: 0 / 2.406 GB, free: 96.96 MB / 0.6667 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001772/4.365, allocations: 0.8908 MB / 2.407 GB, free: 96.05 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004706/4.366, allocations: 275.8 kB / 2.407 GB, free: 95.77 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001883/4.366, allocations: 7.984 kB / 2.407 GB, free: 95.76 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006913/4.367, allocations: 51.95 kB / 2.407 GB, free: 95.71 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001144/4.367, allocations: 52.69 kB / 2.407 GB, free: 95.65 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.051e-05/4.367, allocations: 31.98 kB / 2.407 GB, free: 95.62 MB / 0.6667 GB Notification: Performance of sort global known variables: time 0.0004708/4.367, allocations: 410.8 kB / 2.408 GB, free: 95.22 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.001301/4.369, allocations: 362.9 kB / 2.408 GB, free: 94.87 MB / 0.6667 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.001838/4.37, allocations: 1.066 MB / 2.409 GB, free: 93.88 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.001129/4.372, allocations: 0.6546 MB / 2.41 GB, free: 93.22 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 4.038e-06/4.372, allocations: 0 / 2.41 GB, free: 93.22 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.0006241/4.372, allocations: 444.6 kB / 2.41 GB, free: 92.78 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001039/4.373, allocations: 203.5 kB / 2.411 GB, free: 92.58 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003486/4.377, allocations: 1.382 MB / 2.412 GB, free: 91.16 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007077/4.377, allocations: 1.143 MB / 2.413 GB, free: 89.99 MB / 0.6667 GB Notification: Performance of SimCode: time 5.81e-07/4.377, allocations: 0 / 2.413 GB, free: 89.99 MB / 0.6667 GB Notification: Performance of Templates: time 0.02611/4.404, allocations: 17.12 MB / 2.43 GB, free: 72.96 MB / 0.6667 GB make -j1 -f IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.makefile (rm -f IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.pipe ; mkfifo IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.pipe ; head -c 1048576 < IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.pipe >> ../files/IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.sim & ./IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.pipe 2>&1)