Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_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_dev_IDEAS_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyBrightness",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness,fileNamePrefix="IDEAS_dev_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.003157/0.003157, allocations: 184.6 kB / 7.463 MB, free: 2.504 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.6886/0.6886, allocations: 133.5 MB / 141.4 MB, free: 15.72 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.534/1.534, allocations: 221.3 MB / 395 MB, free: 10.25 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.0009891/0.000989, allocations: 90.55 kB / 477.8 MB, free: 10.86 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.5263/0.5273, allocations: 88.44 MB / 0.5529 GB, free: 88.96 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.211/0.7383, allocations: 82.3 MB / 0.6333 GB, free: 14.07 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.737/5.475, allocations: 1.694 GB / 2.327 GB, free: 259 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003162/5.476, allocations: 93.81 kB / 2.327 GB, free: 259 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.1582/5.634, allocations: 67.11 MB / 2.393 GB, free: 205.5 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.852e-05/5.634, allocations: 8 kB / 2.393 GB, free: 205.5 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001805/5.636, allocations: 330.2 kB / 2.393 GB, free: 205.2 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00145/5.637, allocations: 0.6347 MB / 2.394 GB, free: 204.5 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.291e-05/5.637, allocations: 28 kB / 2.394 GB, free: 204.5 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001071/5.637, allocations: 52 kB / 2.394 GB, free: 204.4 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001595/5.639, allocations: 1.054 MB / 2.395 GB, free: 203.4 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001192/5.64, allocations: 0.8044 MB / 2.396 GB, free: 202.5 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.274e-05/5.64, allocations: 0 / 2.396 GB, free: 202.5 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.158e-05/5.64, allocations: 0 / 2.396 GB, free: 202.5 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.623e-05/5.64, allocations: 27.98 kB / 2.396 GB, free: 202.5 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004056/5.644, allocations: 2.454 MB / 2.398 GB, free: 200 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001655/5.646, allocations: 0.8156 MB / 2.399 GB, free: 199.2 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003286/5.646, allocations: 258.7 kB / 2.399 GB, free: 198.9 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 8.499e-05/5.646, allocations: 36.59 kB / 2.399 GB, free: 198.9 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004929/5.647, allocations: 394 kB / 2.399 GB, free: 198.5 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=75): time 2.765e-06/5.647, allocations: 0 / 2.399 GB, free: 198.5 MB / 0.6823 GB Notification: Performance of matching and sorting (n=75): time 0.001591/5.649, allocations: 0.6716 MB / 2.4 GB, free: 197.8 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.442e-05/5.649, allocations: 240 kB / 2.4 GB, free: 197.5 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006182/5.649, allocations: 0.4905 MB / 2.401 GB, free: 197 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 6.705e-05/5.649, allocations: 33.7 kB / 2.401 GB, free: 197 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001966/5.65, allocations: 328 kB / 2.401 GB, free: 196.6 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001452/5.65, allocations: 232.4 kB / 2.401 GB, free: 196.4 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.568e-05/5.65, allocations: 0 / 2.401 GB, free: 196.4 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 8.932e-05/5.65, allocations: 374.8 kB / 2.402 GB, free: 196 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002867/5.65, allocations: 205.3 kB / 2.402 GB, free: 195.8 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003508/5.65, allocations: 306.4 kB / 2.402 GB, free: 195.5 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000385/5.651, allocations: 247 kB / 2.402 GB, free: 195.2 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.887e-06/5.651, allocations: 0 / 2.402 GB, free: 195.2 MB / 0.6823 GB Notification: Performance of matching and sorting (n=79) (initialization): time 0.001465/5.652, allocations: 0.6756 MB / 2.403 GB, free: 194.6 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 2.361e-05/5.652, allocations: 7.984 kB / 2.403 GB, free: 194.6 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.153e-05/5.652, allocations: 4 kB / 2.403 GB, free: 194.6 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000708/5.653, allocations: 80.84 kB / 2.403 GB, free: 194.5 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007762/5.654, allocations: 163.8 kB / 2.403 GB, free: 194.3 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001753/5.656, allocations: 1.465 MB / 2.405 GB, free: 192.7 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007948/5.656, allocations: 95.42 kB / 2.405 GB, free: 192.6 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.416e-05/5.657, allocations: 27.98 kB / 2.405 GB, free: 192.6 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.0002081/5.657, allocations: 116 kB / 2.405 GB, free: 192.5 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001457/5.657, allocations: 75.14 kB / 2.405 GB, free: 192.4 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002181/5.659, allocations: 0.964 MB / 2.406 GB, free: 191.4 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.716e-06/5.659, allocations: 11.91 kB / 2.406 GB, free: 191.4 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.326e-06/5.659, allocations: 4 kB / 2.406 GB, free: 191.4 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.808e-06/5.659, allocations: 3.984 kB / 2.406 GB, free: 191.4 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002819/5.662, allocations: 1.766 MB / 2.408 GB, free: 189.6 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.549e-06/5.662, allocations: 0 / 2.408 GB, free: 189.6 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007365/5.663, allocations: 171.8 kB / 2.408 GB, free: 189.4 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005186/5.663, allocations: 80.78 kB / 2.408 GB, free: 189.3 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.273e-05/5.663, allocations: 15.98 kB / 2.408 GB, free: 189.3 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001608/5.665, allocations: 1.484 MB / 2.409 GB, free: 187.7 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.096e-06/5.665, allocations: 0 / 2.409 GB, free: 187.7 MB / 0.6823 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001641/5.667, allocations: 0.8402 MB / 2.41 GB, free: 186.9 MB / 0.6823 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001702/5.668, allocations: 1.266 MB / 2.411 GB, free: 185.6 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004549/5.669, allocations: 275.8 kB / 2.412 GB, free: 185.3 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001402/5.669, allocations: 12 kB / 2.412 GB, free: 185.3 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008536/5.67, allocations: 75.92 kB / 2.412 GB, free: 185.2 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001326/5.67, allocations: 52.84 kB / 2.412 GB, free: 185.1 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.998e-05/5.67, allocations: 31.97 kB / 2.412 GB, free: 185.1 MB / 0.6823 GB Notification: Performance of sort global known variables: time 0.0006327/5.671, allocations: 402.9 kB / 2.412 GB, free: 184.7 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.002641/5.673, allocations: 434.8 kB / 2.413 GB, free: 184.3 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.002141/5.676, allocations: 1.057 MB / 2.414 GB, free: 183.3 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.001511/5.677, allocations: 0.6703 MB / 2.414 GB, free: 182.6 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 4.599e-06/5.677, allocations: 0 / 2.414 GB, free: 182.6 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0007076/5.678, allocations: 468.6 kB / 2.415 GB, free: 182.2 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001248/5.679, allocations: 210.5 kB / 2.415 GB, free: 182 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003916/5.683, allocations: 1.421 MB / 2.416 GB, free: 180.5 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007651/5.684, allocations: 1.154 MB / 2.418 GB, free: 179.3 MB / 0.6823 GB Notification: Performance of SimCode: time 1.182e-06/5.684, allocations: 0 / 2.418 GB, free: 179.3 MB / 0.6823 GB (rm -f IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.pipe ; mkfifo IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.pipe >> ../files/IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyBrightness_fmu --startTime=0 --stopTime=8.64e+06 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyBrightness.fmu > IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.pipe 2>&1)