Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.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) 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 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: "" <> buildModelFMU(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness,fileNamePrefix="Buildings_latest_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyClearness",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness,fileNamePrefix="Buildings_latest_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyClearness",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 10.0.0-master/package.mo): time 1.802/1.802, allocations: 390.4 MB / 397.7 MB, free: 11.17 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.000958/0.000958, allocations: 185.2 kB / 490.8 MB, free: 1.848 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.154/1.154, allocations: 221.4 MB / 0.7863 GB, free: 13.53 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008582/0.0008582, allocations: 88.78 kB / 0.9264 GB, free: 14.05 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 0.4402/0.4411, allocations: 149.1 MB / 1.072 GB, free: 182.4 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1846/0.6257, allocations: 143 MB / 1.212 GB, free: 39.93 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 2.584/3.21, allocations: 1.732 GB / 2.943 GB, free: 139.8 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002236/3.21, allocations: 95.94 kB / 2.943 GB, free: 139.7 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: 228 * Number of variables: 228 Notification: Performance of Generate backend data structure: time 0.1366/3.347, allocations: 69.74 MB / 3.011 GB, free: 69.68 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 3.127e-05/3.347, allocations: 8 kB / 3.011 GB, free: 69.67 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001069/3.348, allocations: 226.4 kB / 3.012 GB, free: 69.45 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008708/3.349, allocations: 0.6308 MB / 3.012 GB, free: 68.77 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.881e-05/3.349, allocations: 28 kB / 3.012 GB, free: 68.75 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.115e-05/3.349, allocations: 59.91 kB / 3.012 GB, free: 68.69 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00128/3.35, allocations: 1.03 MB / 3.013 GB, free: 67.66 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001032/3.351, allocations: 0.7818 MB / 3.014 GB, free: 66.84 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.924e-05/3.351, allocations: 4 kB / 3.014 GB, free: 66.83 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.491e-05/3.351, allocations: 0 / 3.014 GB, free: 66.83 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.496e-05/3.351, allocations: 20 kB / 3.014 GB, free: 66.81 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00303/3.354, allocations: 2.43 MB / 3.016 GB, free: 64.33 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008389/3.355, allocations: 0.7322 MB / 3.017 GB, free: 63.56 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002989/3.356, allocations: 250.7 kB / 3.017 GB, free: 63.32 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005328/3.356, allocations: 466.2 kB / 3.018 GB, free: 62.77 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004349/3.357, allocations: 390 kB / 3.018 GB, free: 62.37 MB / 1.151 GB Notification: Performance of pre-optimization done (n=73): time 1.803e-06/3.357, allocations: 0 / 3.018 GB, free: 62.37 MB / 1.151 GB Notification: Performance of matching and sorting (n=73): time 0.001619/3.358, allocations: 0.7146 MB / 3.019 GB, free: 61.64 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.054e-05/3.358, allocations: 240 kB / 3.019 GB, free: 61.36 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004711/3.359, allocations: 0.4945 MB / 3.02 GB, free: 60.86 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 4.632e-05/3.359, allocations: 29.7 kB / 3.02 GB, free: 60.82 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001217/3.359, allocations: 331.9 kB / 3.02 GB, free: 60.49 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001142/3.359, allocations: 228.5 kB / 3.02 GB, free: 60.26 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.879e-05/3.359, allocations: 0 / 3.02 GB, free: 60.26 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 6.779e-05/3.359, allocations: 374.8 kB / 3.021 GB, free: 59.89 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00026/3.359, allocations: 189.3 kB / 3.021 GB, free: 59.7 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003082/3.36, allocations: 302.3 kB / 3.021 GB, free: 59.38 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005813/3.36, allocations: 315 kB / 3.021 GB, free: 59.07 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/3.36, allocations: 0 / 3.021 GB, free: 59.07 MB / 1.151 GB Notification: Performance of matching and sorting (n=77) (initialization): time 0.001514/3.362, allocations: 0.7146 MB / 3.022 GB, free: 58.34 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.088e-05/3.362, allocations: 8.062 kB / 3.022 GB, free: 58.34 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.571e-06/3.362, allocations: 3.938 kB / 3.022 GB, free: 58.33 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005738/3.363, allocations: 88.77 kB / 3.022 GB, free: 58.24 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005791/3.363, allocations: 135.8 kB / 3.022 GB, free: 58.11 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001493/3.365, allocations: 1.457 MB / 3.024 GB, free: 56.53 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000505/3.365, allocations: 63.61 kB / 3.024 GB, free: 56.47 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.774e-05/3.365, allocations: 23.98 kB / 3.024 GB, free: 56.45 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 (75): * Single equations (assignments): 74 * 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.000129/3.365, allocations: 124.8 kB / 3.024 GB, free: 56.32 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.249e-05/3.365, allocations: 71.16 kB / 3.024 GB, free: 56.25 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002083/3.368, allocations: 0.9832 MB / 3.025 GB, free: 55.25 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.873e-06/3.368, allocations: 16 kB / 3.025 GB, free: 55.23 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.615e-06/3.368, allocations: 3.906 kB / 3.025 GB, free: 55.23 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.027e-06/3.368, allocations: 3.984 kB / 3.025 GB, free: 55.23 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002493/3.37, allocations: 1.794 MB / 3.027 GB, free: 53.38 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.775e-06/3.37, allocations: 0 / 3.027 GB, free: 53.38 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005664/3.371, allocations: 151.8 kB / 3.027 GB, free: 53.23 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004839/3.371, allocations: 84.69 kB / 3.027 GB, free: 53.15 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.02e-05/3.371, allocations: 23.95 kB / 3.027 GB, free: 53.12 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00135/3.373, allocations: 1.465 MB / 3.028 GB, free: 51.54 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.024e-06/3.373, allocations: 0 / 3.028 GB, free: 51.54 MB / 1.151 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001524/3.374, allocations: 0.8908 MB / 3.029 GB, free: 50.63 MB / 1.151 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001638/3.376, allocations: 1.305 MB / 3.031 GB, free: 49.3 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002763/3.376, allocations: 275.9 kB / 3.031 GB, free: 49.01 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001151/3.376, allocations: 3.906 kB / 3.031 GB, free: 49.01 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005769/3.377, allocations: 63.94 kB / 3.031 GB, free: 48.95 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.818e-05/3.377, allocations: 48.7 kB / 3.031 GB, free: 48.9 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.878e-05/3.377, allocations: 31.98 kB / 3.031 GB, free: 48.87 MB / 1.151 GB Notification: Performance of sort global known variables: time 0.0003469/3.377, allocations: 402.9 kB / 3.031 GB, free: 48.48 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.001432/3.379, allocations: 442.9 kB / 3.032 GB, free: 48.04 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 (84): * Single equations (assignments): 81 * 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.001269/3.38, allocations: 1.077 MB / 3.033 GB, free: 47.07 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.0008892/3.381, allocations: 0.6469 MB / 3.033 GB, free: 46.41 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/3.381, allocations: 0 / 3.033 GB, free: 46.41 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0005634/3.381, allocations: 452.6 kB / 3.034 GB, free: 45.96 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008332/3.382, allocations: 210.8 kB / 3.034 GB, free: 45.76 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002949/3.385, allocations: 1.382 MB / 3.035 GB, free: 44.34 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006042/3.386, allocations: 1.146 MB / 3.036 GB, free: 43.17 MB / 1.151 GB Notification: Performance of SimCode: time 7.51e-07/3.386, allocations: 0 / 3.036 GB, free: 43.17 MB / 1.151 GB (rm -f Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness_res.mat --tempDir=temp_Buildings_latest_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyClearness_fmu --startTime=100000 --stopTime=3e+06 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyClearness.fmu > Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness_res.mat does not exist to compare? outputFormat=mat