Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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) 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 Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness,fileNamePrefix="Buildings_9_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyBrightness",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness,fileNamePrefix="Buildings_9_Buildings_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/Buildings 9.1.1-maint.9.1.x/package.mo): time 1.844/1.844, allocations: 387.2 MB / 394.5 MB, free: 13.62 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00102/0.00102, allocations: 177.3 kB / 487 MB, free: 5.367 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.2/1.2, allocations: 221.3 MB / 0.7819 GB, free: 1.406 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009945/0.0009946, allocations: 98.23 kB / 0.9213 GB, free: 2.656 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.4844/0.4854, allocations: 148.5 MB / 1.066 GB, free: 168.2 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2049/0.6903, allocations: 142.3 MB / 1.205 GB, free: 26.14 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 2.693/3.384, allocations: 1.731 GB / 2.936 GB, free: 128.2 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002066/3.384, allocations: 99.88 kB / 2.936 GB, free: 128.1 MB / 1.151 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.1327/3.517, allocations: 67.11 MB / 3.002 GB, free: 60.66 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 3.453e-05/3.517, allocations: 13 kB / 3.002 GB, free: 60.64 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001619/3.518, allocations: 318.3 kB / 3.002 GB, free: 60.33 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009624/3.519, allocations: 0.6308 MB / 3.003 GB, free: 59.66 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.122e-05/3.519, allocations: 28 kB / 3.003 GB, free: 59.63 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001081/3.519, allocations: 55.91 kB / 3.003 GB, free: 59.58 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001369/3.521, allocations: 1.058 MB / 3.004 GB, free: 58.52 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001113/3.522, allocations: 0.8083 MB / 3.005 GB, free: 57.68 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.013e-05/3.522, allocations: 3.984 kB / 3.005 GB, free: 57.67 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.228e-05/3.522, allocations: 4 kB / 3.005 GB, free: 57.67 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.577e-05/3.522, allocations: 20 kB / 3.005 GB, free: 57.65 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003497/3.525, allocations: 2.439 MB / 3.007 GB, free: 55.16 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001607/3.527, allocations: 0.8038 MB / 3.008 GB, free: 54.32 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003244/3.527, allocations: 266.7 kB / 3.008 GB, free: 54.05 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 7.368e-05/3.527, allocations: 32.58 kB / 3.008 GB, free: 54.02 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000455/3.528, allocations: 406 kB / 3.008 GB, free: 53.61 MB / 1.151 GB Notification: Performance of pre-optimization done (n=75): time 2.305e-06/3.528, allocations: 0 / 3.008 GB, free: 53.61 MB / 1.151 GB Notification: Performance of matching and sorting (n=75): time 0.001437/3.529, allocations: 0.6639 MB / 3.009 GB, free: 52.93 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.328e-05/3.529, allocations: 248 kB / 3.009 GB, free: 52.64 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005049/3.53, allocations: 0.4904 MB / 3.01 GB, free: 52.14 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 5.585e-05/3.53, allocations: 33.69 kB / 3.01 GB, free: 52.1 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001525/3.53, allocations: 320.1 kB / 3.01 GB, free: 51.78 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001269/3.53, allocations: 240.3 kB / 3.01 GB, free: 51.54 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.458e-05/3.53, allocations: 0 / 3.01 GB, free: 51.54 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 7.211e-05/3.53, allocations: 382.8 kB / 3.011 GB, free: 51.16 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002813/3.531, allocations: 197.3 kB / 3.011 GB, free: 50.97 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003312/3.531, allocations: 310.3 kB / 3.011 GB, free: 50.63 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003441/3.531, allocations: 251.1 kB / 3.011 GB, free: 50.39 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/3.531, allocations: 0 / 3.011 GB, free: 50.39 MB / 1.151 GB Notification: Performance of matching and sorting (n=79) (initialization): time 0.001363/3.533, allocations: 0.6756 MB / 3.012 GB, free: 49.7 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.31e-05/3.533, allocations: 7.938 kB / 3.012 GB, free: 49.7 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.873e-06/3.533, allocations: 0 / 3.012 GB, free: 49.7 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005852/3.533, allocations: 80.84 kB / 3.012 GB, free: 49.61 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007021/3.534, allocations: 159.8 kB / 3.012 GB, free: 49.46 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001629/3.536, allocations: 1.465 MB / 3.014 GB, free: 47.87 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00067/3.536, allocations: 83.59 kB / 3.014 GB, free: 47.79 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.117e-05/3.537, allocations: 31.88 kB / 3.014 GB, free: 47.76 MB / 1.151 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.0001342/3.537, allocations: 112.9 kB / 3.014 GB, free: 47.64 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001082/3.537, allocations: 75.16 kB / 3.014 GB, free: 47.57 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001944/3.539, allocations: 0.9603 MB / 3.015 GB, free: 46.59 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.813e-06/3.539, allocations: 8 kB / 3.015 GB, free: 46.58 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.925e-06/3.539, allocations: 0 / 3.015 GB, free: 46.58 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.386e-06/3.539, allocations: 3.984 kB / 3.015 GB, free: 46.58 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002489/3.541, allocations: 1.785 MB / 3.017 GB, free: 44.74 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.018e-06/3.541, allocations: 3.906 kB / 3.017 GB, free: 44.74 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007133/3.542, allocations: 167.8 kB / 3.017 GB, free: 44.57 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004921/3.543, allocations: 88.77 kB / 3.017 GB, free: 44.48 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.5e-05/3.543, allocations: 11.98 kB / 3.017 GB, free: 44.47 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001363/3.544, allocations: 1.473 MB / 3.018 GB, free: 42.88 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.024e-06/3.544, allocations: 0 / 3.018 GB, free: 42.88 MB / 1.151 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001338/3.545, allocations: 0.8557 MB / 3.019 GB, free: 42 MB / 1.151 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001413/3.547, allocations: 1.266 MB / 3.021 GB, free: 40.71 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003183/3.547, allocations: 279.8 kB / 3.021 GB, free: 40.42 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001286/3.547, allocations: 4 kB / 3.021 GB, free: 40.42 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006935/3.548, allocations: 79.92 kB / 3.021 GB, free: 40.34 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.884e-05/3.548, allocations: 60.69 kB / 3.021 GB, free: 40.28 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.424e-05/3.548, allocations: 27.98 kB / 3.021 GB, free: 40.25 MB / 1.151 GB Notification: Performance of sort global known variables: time 0.0003506/3.548, allocations: 402.9 kB / 3.021 GB, free: 39.86 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.001572/3.55, allocations: 442.8 kB / 3.022 GB, free: 39.43 MB / 1.151 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.001417/3.551, allocations: 1.047 MB / 3.023 GB, free: 38.49 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.001024/3.552, allocations: 0.6743 MB / 3.023 GB, free: 37.8 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 2.445e-06/3.553, allocations: 0 / 3.023 GB, free: 37.8 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0005953/3.553, allocations: 468.4 kB / 3.024 GB, free: 37.34 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008729/3.554, allocations: 216.1 kB / 3.024 GB, free: 37.13 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0032/3.557, allocations: 1.413 MB / 3.025 GB, free: 35.68 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006661/3.558, allocations: 1.159 MB / 3.027 GB, free: 34.5 MB / 1.151 GB Notification: Performance of SimCode: time 2.8e-07/3.558, allocations: 0 / 3.027 GB, free: 34.5 MB / 1.151 GB (rm -f Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.pipe ; mkfifo Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.pipe ; head -c 1048576 < Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.pipe >> ../files/Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness_res.mat --tempDir=temp_Buildings_9_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyBrightness_fmu --startTime=0 --stopTime=8.64e+06 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyBrightness.fmu > Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness_res.mat does not exist to compare? outputFormat=mat