Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) 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/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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) 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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: "" <> buildModelFMU(BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness,fileNamePrefix="BuildingSystems_BuildingSystems_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyBrightness",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness,fileNamePrefix="BuildingSystems_BuildingSystems_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/BuildingSystems 2.0.0-master/package.mo): time 0.7892/0.7892, allocations: 141.8 MB / 149.1 MB, free: 12.13 MB / 138.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001264/0.001264, allocations: 190 kB / 182 MB, free: 8.828 MB / 154.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.519/1.519, allocations: 221.4 MB / 436 MB, free: 1.043 MB / 330.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009762/0.0009761, allocations: 98.92 kB / 0.507 GB, free: 17.71 MB / 378.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00197/0.00197, allocations: 274.3 kB / 0.5884 GB, free: 2.801 MB / 442.9 MB Notification: Performance of FrontEnd - loaded program: time 0.4908/0.4928, allocations: 89.64 MB / 0.676 GB, free: 136.2 MB / 0.5107 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1911/0.6839, allocations: 82.78 MB / 0.7568 GB, free: 81.38 MB / 0.5107 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.228/4.912, allocations: 1.691 GB / 2.448 GB, free: 189.6 MB / 0.6982 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003437/4.912, allocations: 95.06 kB / 2.448 GB, free: 189.6 MB / 0.6982 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.1548/5.067, allocations: 67.13 MB / 2.514 GB, free: 174.8 MB / 0.6982 GB Notification: Performance of prepare preOptimizeDAE: time 4.097e-05/5.067, allocations: 15.75 kB / 2.514 GB, free: 174.8 MB / 0.6982 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001704/5.069, allocations: 321.5 kB / 2.514 GB, free: 174.7 MB / 0.6982 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001048/5.07, allocations: 0.6385 MB / 2.515 GB, free: 174.3 MB / 0.6982 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.615e-05/5.07, allocations: 30.75 kB / 2.515 GB, free: 174.3 MB / 0.6982 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.089e-05/5.07, allocations: 54.48 kB / 2.515 GB, free: 174.3 MB / 0.6982 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001402/5.071, allocations: 1.05 MB / 2.516 GB, free: 174.1 MB / 0.6982 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001171/5.073, allocations: 0.8098 MB / 2.516 GB, free: 173.8 MB / 0.6982 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.274e-05/5.073, allocations: 0 / 2.516 GB, free: 173.8 MB / 0.6982 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.624e-05/5.073, allocations: 0 / 2.516 GB, free: 173.8 MB / 0.6982 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.817e-05/5.073, allocations: 27.36 kB / 2.516 GB, free: 173.8 MB / 0.6982 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003981/5.077, allocations: 2.445 MB / 2.519 GB, free: 172.5 MB / 0.6982 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001679/5.079, allocations: 0.7966 MB / 2.52 GB, free: 172.3 MB / 0.6982 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000322/5.079, allocations: 266 kB / 2.52 GB, free: 172.3 MB / 0.6982 GB Notification: Performance of preOpt evalFunc (simulation): time 7.083e-05/5.079, allocations: 31.78 kB / 2.52 GB, free: 172.3 MB / 0.6982 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004677/5.079, allocations: 398 kB / 2.52 GB, free: 172.1 MB / 0.6982 GB Notification: Performance of pre-optimization done (n=75): time 3.266e-06/5.079, allocations: 0 / 2.52 GB, free: 172.1 MB / 0.6982 GB Notification: Performance of matching and sorting (n=75): time 0.001573/5.081, allocations: 0.6718 MB / 2.521 GB, free: 172 MB / 0.6982 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.067e-05/5.081, allocations: 243.2 kB / 2.521 GB, free: 171.7 MB / 0.6982 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005921/5.082, allocations: 0.4945 MB / 2.522 GB, free: 171.5 MB / 0.6982 GB Notification: Performance of collectPreVariables (initialization): time 6.321e-05/5.082, allocations: 25.7 kB / 2.522 GB, free: 171.5 MB / 0.6982 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002038/5.082, allocations: 326.3 kB / 2.522 GB, free: 171.3 MB / 0.6982 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001652/5.082, allocations: 241.1 kB / 2.522 GB, free: 171.1 MB / 0.6982 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.488e-05/5.082, allocations: 4 kB / 2.522 GB, free: 171.1 MB / 0.6982 GB Notification: Performance of setup shared object (initialization): time 0.0001107/5.082, allocations: 377.5 kB / 2.523 GB, free: 170.7 MB / 0.6982 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002961/5.083, allocations: 203.1 kB / 2.523 GB, free: 170.7 MB / 0.6982 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003454/5.083, allocations: 302.3 kB / 2.523 GB, free: 170.6 MB / 0.6982 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003623/5.083, allocations: 252.9 kB / 2.523 GB, free: 170.6 MB / 0.6982 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.685e-06/5.083, allocations: 0 / 2.523 GB, free: 170.6 MB / 0.6982 GB Notification: Performance of matching and sorting (n=79) (initialization): time 0.001351/5.085, allocations: 0.6739 MB / 2.524 GB, free: 170.4 MB / 0.6982 GB Notification: Performance of prepare postOptimizeDAE: time 1.453e-05/5.085, allocations: 3.906 kB / 2.524 GB, free: 170.4 MB / 0.6982 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.003e-06/5.085, allocations: 0 / 2.524 GB, free: 170.4 MB / 0.6982 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006161/5.085, allocations: 86.19 kB / 2.524 GB, free: 170.4 MB / 0.6982 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007442/5.086, allocations: 167.8 kB / 2.524 GB, free: 170.3 MB / 0.6982 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001663/5.088, allocations: 1.446 MB / 2.526 GB, free: 169 MB / 0.6982 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007552/5.089, allocations: 82.47 kB / 2.526 GB, free: 169 MB / 0.6982 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.062e-05/5.089, allocations: 35.25 kB / 2.526 GB, free: 169 MB / 0.6982 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.0001614/5.089, allocations: 124.5 kB / 2.526 GB, free: 168.9 MB / 0.6982 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001085/5.089, allocations: 70.16 kB / 2.526 GB, free: 168.8 MB / 0.6982 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001989/5.091, allocations: 0.9586 MB / 2.527 GB, free: 168.5 MB / 0.6982 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.942e-05/5.091, allocations: 9.156 kB / 2.527 GB, free: 168.5 MB / 0.6982 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.557e-06/5.091, allocations: 3.938 kB / 2.527 GB, free: 168.5 MB / 0.6982 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.221e-05/5.091, allocations: 12.41 kB / 2.527 GB, free: 168.5 MB / 0.6982 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003034/5.094, allocations: 1.769 MB / 2.529 GB, free: 167.8 MB / 0.6982 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.518e-06/5.094, allocations: 0 / 2.529 GB, free: 167.8 MB / 0.6982 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007469/5.095, allocations: 171.5 kB / 2.529 GB, free: 167.8 MB / 0.6982 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005116/5.095, allocations: 86.16 kB / 2.529 GB, free: 167.8 MB / 0.6982 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.392e-05/5.095, allocations: 19.7 kB / 2.529 GB, free: 167.8 MB / 0.6982 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001521/5.097, allocations: 1.474 MB / 2.53 GB, free: 166.5 MB / 0.6982 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.885e-06/5.097, allocations: 8.094 kB / 2.53 GB, free: 166.5 MB / 0.6982 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001474/5.098, allocations: 0.848 MB / 2.531 GB, free: 166.2 MB / 0.6982 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001904/5.1, allocations: 1.257 MB / 2.532 GB, free: 165.5 MB / 0.6982 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004918/5.101, allocations: 277.6 kB / 2.533 GB, free: 165.3 MB / 0.6982 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001385/5.101, allocations: 6.172 kB / 2.533 GB, free: 165.3 MB / 0.6982 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008101/5.102, allocations: 74.44 kB / 2.533 GB, free: 165.3 MB / 0.6982 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001186/5.102, allocations: 55.22 kB / 2.533 GB, free: 165.3 MB / 0.6982 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.713e-05/5.102, allocations: 37.02 kB / 2.533 GB, free: 165.3 MB / 0.6982 GB Notification: Performance of sort global known variables: time 0.0005874/5.103, allocations: 399.8 kB / 2.533 GB, free: 165.1 MB / 0.6982 GB Notification: Performance of remove unused functions: time 0.002613/5.105, allocations: 435.5 kB / 2.534 GB, free: 165 MB / 0.6982 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.002267/5.107, allocations: 1.055 MB / 2.535 GB, free: 164.6 MB / 0.6982 GB Notification: Performance of simCode: created initialization part: time 0.001602/5.109, allocations: 0.6838 MB / 2.535 GB, free: 164.5 MB / 0.6982 GB Notification: Performance of simCode: created event and clocks part: time 5.28e-06/5.109, allocations: 0.7188 kB / 2.535 GB, free: 164.5 MB / 0.6982 GB Notification: Performance of simCode: created simulation system equations: time 0.0008192/5.11, allocations: 463.9 kB / 2.536 GB, free: 164.3 MB / 0.6982 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001288/5.111, allocations: 205.3 kB / 2.536 GB, free: 164.2 MB / 0.6982 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004219/5.115, allocations: 1.421 MB / 2.537 GB, free: 163.7 MB / 0.6982 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007034/5.116, allocations: 1.155 MB / 2.538 GB, free: 162.6 MB / 0.6982 GB Notification: Performance of SimCode: time 8.12e-07/5.116, allocations: 0 / 2.538 GB, free: 162.6 MB / 0.6982 GB (rm -f BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.pipe ; mkfifo BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.pipe >> ../files/BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyBrightness_fmu --startTime=0 --stopTime=8.64e+06 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyBrightness.fmu > BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.pipe 2>&1)