Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness,fileNamePrefix="Buildings_8_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyBrightness",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness,fileNamePrefix="Buildings_8_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyBrightness",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 2.036/2.036, allocations: 292.6 MB / 307.5 MB, free: 5.191 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001374/0.001375, allocations: 195.3 kB / 377.1 MB, free: 1.516 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.163/2.163, allocations: 205.4 MB / 0.6366 GB, free: 8.527 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009438/0.0009438, allocations: 90.16 kB / 0.7509 GB, free: 63.13 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003493/0.0003493, allocations: 11.98 kB / 0.8749 GB, free: 11.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2902/0.2906, allocations: 116.3 MB / 0.9884 GB, free: 6.645 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.965/6.256, allocations: 2.073 GB / 3.062 GB, free: 146.4 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003276/6.256, allocations: 95.94 kB / 3.062 GB, free: 146.3 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 0.1365/6.393, allocations: 64.14 MB / 3.125 GB, free: 82.09 MB / 0.948 GB Notification: Performance of FrontEnd: time 4.689e-06/6.393, allocations: 0 / 3.125 GB, free: 82.09 MB / 0.948 GB Notification: Performance of Transformations before backend: time 8.551e-05/6.393, allocations: 20 kB / 3.125 GB, free: 82.07 MB / 0.948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 223 * Number of variables: 223 Notification: Performance of Generate backend data structure: time 0.0023/6.395, allocations: 1.204 MB / 3.126 GB, free: 80.81 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 5.882e-05/6.395, allocations: 8.031 kB / 3.126 GB, free: 80.8 MB / 0.948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000176/6.395, allocations: 151.4 kB / 3.126 GB, free: 80.65 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001392/6.397, allocations: 266.4 kB / 3.126 GB, free: 80.39 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001112/6.398, allocations: 0.6308 MB / 3.127 GB, free: 79.71 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.165e-05/6.398, allocations: 62.84 kB / 3.127 GB, free: 79.66 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.945e-05/6.398, allocations: 91.98 kB / 3.127 GB, free: 79.57 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001539/6.4, allocations: 0.9574 MB / 3.128 GB, free: 78.57 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.931e-05/6.4, allocations: 0 / 3.128 GB, free: 78.57 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.355e-05/6.4, allocations: 36 kB / 3.128 GB, free: 78.53 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.002e-05/6.4, allocations: 27.95 kB / 3.128 GB, free: 78.5 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001905/6.402, allocations: 1.175 MB / 3.129 GB, free: 77.33 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003955/6.406, allocations: 2.593 MB / 3.132 GB, free: 74.67 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002297/6.408, allocations: 0.8772 MB / 3.132 GB, free: 73.78 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 9.082e-05/6.408, allocations: 36.62 kB / 3.132 GB, free: 73.75 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009014/6.409, allocations: 475.2 kB / 3.133 GB, free: 73.26 MB / 0.948 GB Notification: Performance of pre-optimization done (n=74): time 2.665e-06/6.409, allocations: 0 / 3.133 GB, free: 73.26 MB / 0.948 GB Notification: Performance of matching and sorting (n=74): time 0.00323/6.412, allocations: 1.218 MB / 3.134 GB, free: 72.02 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000114/6.412, allocations: 240 kB / 3.134 GB, free: 71.73 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008314/6.413, allocations: 0.5775 MB / 3.135 GB, free: 71.15 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 7.289e-05/6.413, allocations: 41.7 kB / 3.135 GB, free: 71.1 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003013/6.414, allocations: 393.4 kB / 3.135 GB, free: 70.71 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001749/6.414, allocations: 244.4 kB / 3.136 GB, free: 70.47 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.706e-05/6.414, allocations: 16 kB / 3.136 GB, free: 70.45 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0001262/6.414, allocations: 378.8 kB / 3.136 GB, free: 70.07 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005209/6.414, allocations: 261.2 kB / 3.136 GB, free: 69.82 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005951/6.415, allocations: 363.6 kB / 3.137 GB, free: 69.43 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005836/6.416, allocations: 299.1 kB / 3.137 GB, free: 69.14 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.036e-06/6.416, allocations: 0 / 3.137 GB, free: 69.14 MB / 0.948 GB Notification: Performance of matching and sorting (n=78) (initialization): time 0.00184/6.418, allocations: 0.8056 MB / 3.138 GB, free: 68.32 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 2.238e-05/6.418, allocations: 4.938 kB / 3.138 GB, free: 68.32 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.955e-06/6.418, allocations: 4 kB / 3.138 GB, free: 68.32 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000606/6.418, allocations: 84.78 kB / 3.138 GB, free: 68.23 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00065/6.419, allocations: 148.7 kB / 3.138 GB, free: 68.09 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001888/6.421, allocations: 1.54 MB / 3.139 GB, free: 66.41 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000706/6.421, allocations: 95.39 kB / 3.139 GB, free: 66.31 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.922e-05/6.422, allocations: 29.77 kB / 3.139 GB, free: 66.29 MB / 0.948 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 () * Number of clocked 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.0005096/6.422, allocations: 253.6 kB / 3.14 GB, free: 66.03 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001187/6.422, allocations: 83 kB / 3.14 GB, free: 65.95 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002317/6.425, allocations: 1.096 MB / 3.141 GB, free: 64.83 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.135e-06/6.425, allocations: 12 kB / 3.141 GB, free: 64.82 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.394e-06/6.425, allocations: 0 / 3.141 GB, free: 64.82 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.037e-06/6.425, allocations: 7.938 kB / 3.141 GB, free: 64.81 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001019/6.426, allocations: 0.8957 MB / 3.142 GB, free: 63.86 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.848e-06/6.426, allocations: 0 / 3.142 GB, free: 63.86 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006505/6.426, allocations: 163.8 kB / 3.142 GB, free: 63.7 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005011/6.427, allocations: 88.77 kB / 3.142 GB, free: 63.61 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.362e-05/6.427, allocations: 19.98 kB / 3.142 GB, free: 63.59 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001583/6.428, allocations: 1.56 MB / 3.144 GB, free: 61.89 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.685e-06/6.428, allocations: 4.125 kB / 3.144 GB, free: 61.89 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002152/6.431, allocations: 0.9162 MB / 3.144 GB, free: 60.95 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004897/6.431, allocations: 295.7 kB / 3.145 GB, free: 60.64 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001033/6.431, allocations: 16 kB / 3.145 GB, free: 60.63 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006119/6.432, allocations: 75.94 kB / 3.145 GB, free: 60.55 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001647/6.432, allocations: 64.91 kB / 3.145 GB, free: 60.49 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.329e-05/6.432, allocations: 36.77 kB / 3.145 GB, free: 60.45 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.0006146/6.433, allocations: 479 kB / 3.145 GB, free: 59.99 MB / 0.948 GB Notification: Performance of sort global known variables: time 7.72e-07/6.433, allocations: 0 / 3.145 GB, free: 59.99 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.001404/6.434, allocations: 343.1 kB / 3.146 GB, free: 59.66 MB / 0.948 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.conTimMin.tNext,weaDat.conTim.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (86): * Single equations (assignments): 83 * 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.004523/6.439, allocations: 2.399 MB / 3.148 GB, free: 57.36 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.001879/6.441, allocations: 0.7986 MB / 3.149 GB, free: 56.55 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 4.459e-06/6.441, allocations: 0 / 3.149 GB, free: 56.55 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0009746/6.442, allocations: 0.5275 MB / 3.149 GB, free: 56.01 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001239/6.443, allocations: 240 kB / 3.15 GB, free: 55.77 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009589/6.452, allocations: 5.22 MB / 3.155 GB, free: 50.5 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004806/6.453, allocations: 1.039 MB / 3.156 GB, free: 49.44 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.0009745/6.454, allocations: 262 kB / 3.156 GB, free: 49.18 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004926/6.454, allocations: 375.3 kB / 3.156 GB, free: 48.81 MB / 0.948 GB Notification: Performance of SimCode: time 2.144e-06/6.454, allocations: 0 / 3.156 GB, free: 48.81 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05794/6.512, allocations: 29.33 MB / 3.185 GB, free: 19.73 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002365/6.513, allocations: 296.1 kB / 3.185 GB, free: 19.36 MB / 0.948 GB Error: Error building simulator. Build log: clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -DOMC_FMI_RUNTIME=1 -DCMINPACK_NO_DLL=1 "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/Resources/C-Sources" -c -o Buildings_8_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyBrightness.o Buildings_8_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyBrightness.c In file included from Buildings_8_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyBrightness.c:7: In file included from ./Buildings_8_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyBrightness_model.h:5: In file included from ./openmodelica.h:71: In file included from ./gc/../openmodelica_types.h:149: ./gc/omc_gc.h:222:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:226:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ 2 warnings generated. clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -DOMC_FMI_RUNTIME=1 -DCMINPACK_NO_DLL=1 "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/Resources/C-Sources" -c -o Buildings_8_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyBrightness_functions.o Buildings_8_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyBrightness_functions.c In file included from Buildings_8_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyBrightness_functions.c:2: In file included from ./Buildings_8_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyBrightness_functions.h:3: In file included from ./meta/meta_modelica.h:49: ./gc/omc_gc.h:222:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:226:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ In file included from Buildings_8_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyBrightness_functions.c:7: In file included from ./Buildings_8_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyBrightness_includes.h:4: /home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/Resources/C-Sources/getTimeSpan.c:9:10: fatal error: 'ModelicaUtilities.h' file not found #include "ModelicaUtilities.h" ^~~~~~~~~~~~~~~~~~~~~ 2 warnings and 1 error generated. make: *** [: Buildings_8_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyBrightness_functions.o] Error 1