Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.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: "" <> buildModelFMU(IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness,fileNamePrefix="IDEAS_IDEAS_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyBrightness",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness,fileNamePrefix="IDEAS_IDEAS_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyBrightness",fmuType="me",version="2.0",platforms={"static"}) [: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.004066/0.004066, allocations: 182.9 kB / 7.461 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.6765/0.6765, allocations: 133.5 MB / 141.4 MB, free: 15.71 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.542/1.542, allocations: 221.3 MB / 395 MB, free: 10.28 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.001035/0.001035, allocations: 95.16 kB / 477.8 MB, free: 10.93 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.5456/0.5467, allocations: 88.44 MB / 0.5529 GB, free: 88.94 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2214/0.7681, allocations: 82.3 MB / 0.6333 GB, free: 14.07 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.09/5.858, allocations: 1.694 GB / 2.327 GB, free: 259.1 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004632/5.858, allocations: 88.55 kB / 2.327 GB, free: 259.1 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: 232 * Number of variables: 232 Notification: Performance of Generate backend data structure: time 0.1537/6.012, allocations: 67.12 MB / 2.393 GB, free: 205.7 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.402e-05/6.012, allocations: 12 kB / 2.393 GB, free: 205.7 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001766/6.014, allocations: 318.3 kB / 2.393 GB, free: 205.4 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001116/6.015, allocations: 0.6425 MB / 2.394 GB, free: 204.7 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.718e-05/6.015, allocations: 31.94 kB / 2.394 GB, free: 204.6 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.864e-05/6.015, allocations: 52 kB / 2.394 GB, free: 204.6 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00145/6.017, allocations: 1.05 MB / 2.395 GB, free: 203.5 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001162/6.018, allocations: 0.8044 MB / 2.396 GB, free: 202.7 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.032e-05/6.018, allocations: 0 / 2.396 GB, free: 202.7 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.671e-05/6.018, allocations: 4 kB / 2.396 GB, free: 202.7 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.812e-05/6.018, allocations: 20 kB / 2.396 GB, free: 202.7 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003872/6.022, allocations: 2.458 MB / 2.398 GB, free: 200.2 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001766/6.024, allocations: 0.8039 MB / 2.399 GB, free: 199.3 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003512/6.024, allocations: 262.7 kB / 2.399 GB, free: 199.1 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 8.952e-05/6.024, allocations: 28.69 kB / 2.399 GB, free: 199.1 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005231/6.025, allocations: 406 kB / 2.399 GB, free: 198.6 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=75): time 4.258e-06/6.025, allocations: 0 / 2.399 GB, free: 198.6 MB / 0.6823 GB Notification: Performance of matching and sorting (n=75): time 0.00166/6.026, allocations: 0.6638 MB / 2.4 GB, free: 198 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.213e-05/6.026, allocations: 240 kB / 2.4 GB, free: 197.7 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006284/6.027, allocations: 0.4944 MB / 2.401 GB, free: 197.2 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 7.119e-05/6.027, allocations: 25.7 kB / 2.401 GB, free: 197.1 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002559/6.027, allocations: 332 kB / 2.401 GB, free: 196.8 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001629/6.027, allocations: 236.4 kB / 2.401 GB, free: 196.6 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.429e-05/6.027, allocations: 3.938 kB / 2.401 GB, free: 196.6 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001151/6.028, allocations: 378.8 kB / 2.402 GB, free: 196.2 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002973/6.028, allocations: 201.3 kB / 2.402 GB, free: 196 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000354/6.028, allocations: 302.4 kB / 2.402 GB, free: 195.7 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003655/6.029, allocations: 251.1 kB / 2.402 GB, free: 195.4 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.015e-06/6.029, allocations: 3.938 kB / 2.402 GB, free: 195.4 MB / 0.6823 GB Notification: Performance of matching and sorting (n=79) (initialization): time 0.001407/6.03, allocations: 0.6717 MB / 2.403 GB, free: 194.7 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 4.137e-05/6.03, allocations: 4 kB / 2.403 GB, free: 194.7 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.404e-06/6.03, allocations: 0 / 2.403 GB, free: 194.7 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006302/6.031, allocations: 88.77 kB / 2.403 GB, free: 194.6 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007568/6.032, allocations: 163.8 kB / 2.403 GB, free: 194.5 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001841/6.033, allocations: 1.453 MB / 2.405 GB, free: 192.9 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008842/6.034, allocations: 91.48 kB / 2.405 GB, free: 192.8 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.223e-05/6.034, allocations: 23.98 kB / 2.405 GB, free: 192.8 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 (77): * Single equations (assignments): 76 * 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.0002472/6.035, allocations: 117.6 kB / 2.405 GB, free: 192.7 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001389/6.035, allocations: 79.09 kB / 2.405 GB, free: 192.6 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002223/6.037, allocations: 0.9642 MB / 2.406 GB, free: 191.6 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.09e-05/6.037, allocations: 11.91 kB / 2.406 GB, free: 191.6 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.358e-06/6.037, allocations: 3.938 kB / 2.406 GB, free: 191.6 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.393e-05/6.037, allocations: 3.984 kB / 2.406 GB, free: 191.6 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003098/6.04, allocations: 1.774 MB / 2.408 GB, free: 189.8 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.541e-06/6.04, allocations: 0 / 2.408 GB, free: 189.8 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007615/6.041, allocations: 171.8 kB / 2.408 GB, free: 189.6 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005278/6.042, allocations: 80.78 kB / 2.408 GB, free: 189.5 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.637e-05/6.042, allocations: 19.92 kB / 2.408 GB, free: 189.5 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001601/6.043, allocations: 1.48 MB / 2.409 GB, free: 187.9 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.218e-06/6.043, allocations: 0 / 2.409 GB, free: 187.9 MB / 0.6823 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001692/6.045, allocations: 0.8519 MB / 2.41 GB, free: 187 MB / 0.6823 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001624/6.047, allocations: 1.258 MB / 2.411 GB, free: 185.8 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004355/6.047, allocations: 283.8 kB / 2.412 GB, free: 185.5 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001306/6.047, allocations: 4 kB / 2.412 GB, free: 185.4 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000731/6.048, allocations: 71.94 kB / 2.412 GB, free: 185.4 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001219/6.048, allocations: 56.69 kB / 2.412 GB, free: 185.3 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.752e-05/6.048, allocations: 31.98 kB / 2.412 GB, free: 185.3 MB / 0.6823 GB Notification: Performance of sort global known variables: time 0.0004974/6.049, allocations: 402.9 kB / 2.412 GB, free: 184.9 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.002091/6.051, allocations: 434.8 kB / 2.413 GB, free: 184.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 (88): * Single equations (assignments): 85 * 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.001765/6.052, allocations: 1.047 MB / 2.414 GB, free: 183.5 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.001366/6.054, allocations: 0.6782 MB / 2.414 GB, free: 182.8 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 5.229e-06/6.054, allocations: 0 / 2.414 GB, free: 182.8 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0006815/6.055, allocations: 472.5 kB / 2.415 GB, free: 182.4 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001117/6.056, allocations: 212.5 kB / 2.415 GB, free: 182.1 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003966/6.06, allocations: 1.423 MB / 2.416 GB, free: 180.7 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008295/6.061, allocations: 1.162 MB / 2.418 GB, free: 179.5 MB / 0.6823 GB Notification: Performance of SimCode: time 8.62e-07/6.061, allocations: 0 / 2.418 GB, free: 179.5 MB / 0.6823 GB (rm -f IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.pipe ; mkfifo IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.pipe ; head -c 1048576 < IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.pipe >> ../files/IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyBrightness_fmu --startTime=0 --stopTime=8.64e+06 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyBrightness.fmu > IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.pipe 2>&1)