Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package BuildSysPro with version 3.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo) Running command: "" <> buildModelFMU(BuildSysPro.IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyBrightness",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_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/BuildSysPro 3.5.0/package.mo): time 0.727/0.727, allocations: 127.4 MB / 134.6 MB, free: 4.078 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001992/0.001992, allocations: 185.2 kB / 164.4 MB, free: 6.875 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.624/1.624, allocations: 205.1 MB / 399.1 MB, free: 6.219 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.00101/0.00101, allocations: 86.34 kB / 476.3 MB, free: 8.977 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 0.3342/0.3353, allocations: 82.89 MB / 0.5461 GB, free: 42.69 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1832/0.5184, allocations: 76.75 MB / 0.621 GB, free: 13.86 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.816/6.334, allocations: 2.147 GB / 2.768 GB, free: 19.86 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003635/6.335, allocations: 99.92 kB / 2.768 GB, free: 19.76 MB / 0.6355 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 220 * Number of variables: 220 Notification: Performance of Generate backend data structure: time 0.5901/6.925, allocations: 62.32 MB / 2.829 GB, free: 160.5 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.412e-05/6.925, allocations: 7.812 kB / 2.829 GB, free: 160.5 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002967/6.928, allocations: 426.9 kB / 2.829 GB, free: 160.4 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001288/6.929, allocations: 0.5525 MB / 2.83 GB, free: 160.2 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.792e-05/6.929, allocations: 27.38 kB / 2.83 GB, free: 160.2 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001695/6.929, allocations: 54.75 kB / 2.83 GB, free: 160.2 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001789/6.931, allocations: 1.057 MB / 2.831 GB, free: 160.2 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001328/6.932, allocations: 0.7716 MB / 2.832 GB, free: 160 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.485e-05/6.932, allocations: 0 / 2.832 GB, free: 160 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.074e-05/6.932, allocations: 3.906 kB / 2.832 GB, free: 160 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.405e-05/6.933, allocations: 23.34 kB / 2.832 GB, free: 160 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004388/6.937, allocations: 2.431 MB / 2.834 GB, free: 159.2 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001865/6.939, allocations: 0.7496 MB / 2.835 GB, free: 159.2 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004053/6.939, allocations: 268.3 kB / 2.835 GB, free: 159.2 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007122/6.94, allocations: 473.3 kB / 2.836 GB, free: 158.7 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000597/6.941, allocations: 416.4 kB / 2.836 GB, free: 158.6 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=74): time 3.397e-06/6.941, allocations: 0 / 2.836 GB, free: 158.6 MB / 0.6355 GB Notification: Performance of matching and sorting (n=74): time 0.002079/6.943, allocations: 0.7457 MB / 2.837 GB, free: 158.5 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.053e-05/6.943, allocations: 166.7 kB / 2.837 GB, free: 158.3 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006449/6.943, allocations: 451 kB / 2.837 GB, free: 158.2 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 7.604e-05/6.944, allocations: 25.7 kB / 2.837 GB, free: 158.2 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002786/6.944, allocations: 311 kB / 2.838 GB, free: 158 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002098/6.944, allocations: 235 kB / 2.838 GB, free: 157.8 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.069e-05/6.944, allocations: 0 / 2.838 GB, free: 157.8 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001502/6.944, allocations: 365.7 kB / 2.838 GB, free: 157.5 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003209/6.945, allocations: 206.9 kB / 2.838 GB, free: 157.5 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003759/6.945, allocations: 285.8 kB / 2.839 GB, free: 157.4 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008726/6.946, allocations: 321.3 kB / 2.839 GB, free: 157.4 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.697e-06/6.946, allocations: 0 / 2.839 GB, free: 157.4 MB / 0.6355 GB Notification: Performance of matching and sorting (n=78) (initialization): time 0.002194/6.948, allocations: 0.7556 MB / 2.84 GB, free: 157.3 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.899e-05/6.948, allocations: 5.078 kB / 2.84 GB, free: 157.3 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.504e-05/6.948, allocations: 3.906 kB / 2.84 GB, free: 157.3 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007376/6.949, allocations: 82.67 kB / 2.84 GB, free: 157.3 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009631/6.95, allocations: 169.7 kB / 2.84 GB, free: 157.3 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002161/6.952, allocations: 1.448 MB / 2.841 GB, free: 156.1 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009066/6.953, allocations: 80.56 kB / 2.841 GB, free: 156 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001084/6.953, allocations: 36.19 kB / 2.841 GB, free: 156 MB / 0.6355 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.conTim1.tStart,weaDat.conTim1.tStart,$PRE.weaDat.conTim.tStart,weaDat.conTim.tStart) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (76): * Single equations (assignments): 75 * 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.0002355/6.953, allocations: 116.8 kB / 2.842 GB, free: 155.9 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000176/6.953, allocations: 72.22 kB / 2.842 GB, free: 155.9 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003093/6.957, allocations: 1.029 MB / 2.843 GB, free: 155.7 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.081e-05/6.957, allocations: 9.453 kB / 2.843 GB, free: 155.7 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.097e-06/6.957, allocations: 0 / 2.843 GB, free: 155.7 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.39e-05/6.957, allocations: 7.828 kB / 2.843 GB, free: 155.7 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001372/6.958, allocations: 0.7397 MB / 2.843 GB, free: 155.5 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.549e-06/6.958, allocations: 4 kB / 2.843 GB, free: 155.5 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009276/6.959, allocations: 170.2 kB / 2.844 GB, free: 155.5 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000616/6.96, allocations: 86.95 kB / 2.844 GB, free: 155.5 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.332e-05/6.96, allocations: 21.22 kB / 2.844 GB, free: 155.5 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00184/6.962, allocations: 1.474 MB / 2.845 GB, free: 154.3 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.53e-06/6.962, allocations: 0 / 2.845 GB, free: 154.3 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002436/6.964, allocations: 0.8387 MB / 2.846 GB, free: 154.1 MB / 0.6355 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.002547/6.967, allocations: 1.242 MB / 2.847 GB, free: 153.6 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000661/6.967, allocations: 284 kB / 2.847 GB, free: 153.5 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001945/6.967, allocations: 0.7031 kB / 2.847 GB, free: 153.5 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000857/6.968, allocations: 69.17 kB / 2.848 GB, free: 153.5 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001497/6.969, allocations: 49.61 kB / 2.848 GB, free: 153.5 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.498e-05/6.969, allocations: 41.03 kB / 2.848 GB, free: 153.5 MB / 0.6355 GB Notification: Performance of sort global known variables: time 0.0005307/6.969, allocations: 359.3 kB / 2.848 GB, free: 153.4 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.00238/6.972, allocations: 414.2 kB / 2.848 GB, free: 153.3 MB / 0.6355 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.conTim1.tStart,weaDat.conTim.tStart) * Number of discrete states: 2 (weaDat.conTim1.tStart,weaDat.conTim.tStart) * Top-level inputs: 0 Notification: Strong component statistics for simulation (82): * Single equations (assignments): 79 * 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.0024/6.974, allocations: 1.02 MB / 2.849 GB, free: 152.9 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.001673/6.976, allocations: 0.6779 MB / 2.85 GB, free: 152.8 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 7.373e-06/6.976, allocations: 4.688 kB / 2.85 GB, free: 152.8 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0008614/6.977, allocations: 459.3 kB / 2.85 GB, free: 152.7 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001145/6.978, allocations: 184.2 kB / 2.851 GB, free: 152.6 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00549/6.983, allocations: 1.316 MB / 2.852 GB, free: 152.3 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0016/6.985, allocations: 1.114 MB / 2.853 GB, free: 151.6 MB / 0.6355 GB Notification: Performance of SimCode: time 1.362e-06/6.985, allocations: 4 kB / 2.853 GB, free: 151.6 MB / 0.6355 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyBrightness_fmu --startTime=0 --stopTime=8.64e+06 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyBrightness.fmu > BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.pipe 2>&1)