Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.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 Buildings with version 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness,fileNamePrefix="Buildings_8_0_0_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyBrightness",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness,fileNamePrefix="Buildings_8_0_0_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.0.0/package.mo): time 2.748/2.748, allocations: 287.3 MB / 302.3 MB, free: 8.324 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.002841/0.002841, allocations: 195.2 kB / 370.8 MB, free: 10.86 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.139/2.139, allocations: 205.4 MB / 0.6295 GB, free: 10.62 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001124/0.001124, allocations: 84.38 kB / 0.7428 GB, free: 6.637 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005169/0.0005169, allocations: 15.92 kB / 0.8657 GB, free: 140.5 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2368/0.2374, allocations: 115.3 MB / 0.9783 GB, free: 28.32 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.869/7.107, allocations: 2.072 GB / 3.051 GB, free: 201.2 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003826/7.107, allocations: 103.4 kB / 3.051 GB, free: 201.1 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 0.2318/7.339, allocations: 64.13 MB / 3.113 GB, free: 146.4 MB / 0.948 GB Notification: Performance of FrontEnd: time 3.457e-06/7.339, allocations: 0 / 3.113 GB, free: 146.4 MB / 0.948 GB Notification: Performance of Transformations before backend: time 8.809e-05/7.339, allocations: 23.94 kB / 3.113 GB, free: 146.4 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.0028/7.342, allocations: 1.192 MB / 3.115 GB, free: 145.2 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 5.106e-05/7.342, allocations: 16.02 kB / 3.115 GB, free: 145.1 MB / 0.948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002317/7.342, allocations: 139.5 kB / 3.115 GB, free: 145 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002181/7.344, allocations: 266.4 kB / 3.115 GB, free: 144.7 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001292/7.346, allocations: 0.6269 MB / 3.116 GB, free: 144.1 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.429e-05/7.346, allocations: 66 kB / 3.116 GB, free: 144 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001679/7.346, allocations: 84 kB / 3.116 GB, free: 143.9 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002428/7.348, allocations: 0.9613 MB / 3.117 GB, free: 142.9 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.497e-05/7.348, allocations: 0 / 3.117 GB, free: 142.9 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001354/7.349, allocations: 43.89 kB / 3.117 GB, free: 142.9 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.305e-05/7.349, allocations: 27.98 kB / 3.117 GB, free: 142.9 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003072/7.352, allocations: 1.175 MB / 3.118 GB, free: 141.7 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00573/7.357, allocations: 2.594 MB / 3.12 GB, free: 139 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003771/7.361, allocations: 0.8812 MB / 3.121 GB, free: 138.1 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001132/7.361, allocations: 28.67 kB / 3.121 GB, free: 138.1 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001308/7.363, allocations: 483.4 kB / 3.122 GB, free: 137.6 MB / 0.948 GB Notification: Performance of pre-optimization done (n=74): time 3.907e-06/7.363, allocations: 0 / 3.122 GB, free: 137.6 MB / 0.948 GB Notification: Performance of matching and sorting (n=74): time 0.005468/7.368, allocations: 1.218 MB / 3.123 GB, free: 136.4 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.255e-05/7.368, allocations: 244 kB / 3.123 GB, free: 136.1 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001074/7.369, allocations: 0.5775 MB / 3.124 GB, free: 135.5 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 9.854e-05/7.369, allocations: 37.7 kB / 3.124 GB, free: 135.4 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003362/7.37, allocations: 396.2 kB / 3.124 GB, free: 135 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002209/7.37, allocations: 244.4 kB / 3.124 GB, free: 134.8 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.225e-05/7.37, allocations: 12 kB / 3.124 GB, free: 134.8 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0001269/7.37, allocations: 378.8 kB / 3.125 GB, free: 134.4 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009747/7.371, allocations: 261.2 kB / 3.125 GB, free: 134.2 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001083/7.372, allocations: 367.5 kB / 3.125 GB, free: 133.8 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001046/7.373, allocations: 295.1 kB / 3.126 GB, free: 133.5 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.869e-06/7.373, allocations: 0 / 3.126 GB, free: 133.5 MB / 0.948 GB Notification: Performance of matching and sorting (n=78) (initialization): time 0.003464/7.377, allocations: 0.8056 MB / 3.126 GB, free: 132.7 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 2.3e-05/7.377, allocations: 10.19 kB / 3.126 GB, free: 132.7 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.588e-06/7.377, allocations: 0 / 3.126 GB, free: 132.7 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009579/7.378, allocations: 84.78 kB / 3.126 GB, free: 132.6 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001227/7.379, allocations: 151.8 kB / 3.127 GB, free: 132.4 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002558/7.382, allocations: 1.528 MB / 3.128 GB, free: 130.8 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001175/7.383, allocations: 99.39 kB / 3.128 GB, free: 130.7 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.062e-05/7.383, allocations: 31.97 kB / 3.128 GB, free: 130.6 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.0006759/7.384, allocations: 253.6 kB / 3.128 GB, free: 130.4 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000182/7.384, allocations: 79.06 kB / 3.129 GB, free: 130.3 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004103/7.388, allocations: 1.096 MB / 3.13 GB, free: 129.2 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.094e-05/7.388, allocations: 12 kB / 3.13 GB, free: 129.2 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.88e-06/7.388, allocations: 3.953 kB / 3.13 GB, free: 129.2 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.239e-05/7.388, allocations: 3.984 kB / 3.13 GB, free: 129.2 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001412/7.39, allocations: 0.9115 MB / 3.131 GB, free: 128.2 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.23e-06/7.39, allocations: 0 / 3.131 GB, free: 128.2 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001249/7.391, allocations: 159.8 kB / 3.131 GB, free: 128 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008319/7.392, allocations: 84.77 kB / 3.131 GB, free: 128 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.25e-05/7.392, allocations: 23.98 kB / 3.131 GB, free: 127.9 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002307/7.394, allocations: 1.56 MB / 3.132 GB, free: 126.2 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/7.394, allocations: 0 / 3.132 GB, free: 126.2 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003322/7.397, allocations: 0.9241 MB / 3.133 GB, free: 125.3 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005167/7.398, allocations: 283.7 kB / 3.133 GB, free: 125 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000178/7.398, allocations: 27.98 kB / 3.134 GB, free: 125 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001068/7.399, allocations: 75.94 kB / 3.134 GB, free: 124.9 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001892/7.399, allocations: 64.91 kB / 3.134 GB, free: 124.8 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.572e-05/7.4, allocations: 27.98 kB / 3.134 GB, free: 124.8 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.0008185/7.4, allocations: 487 kB / 3.134 GB, free: 124.3 MB / 0.948 GB Notification: Performance of sort global known variables: time 5.21e-07/7.4, allocations: 0 / 3.134 GB, free: 124.3 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.00128/7.402, allocations: 343 kB / 3.134 GB, free: 124 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.005619/7.407, allocations: 2.388 MB / 3.137 GB, free: 121.8 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.002887/7.41, allocations: 0.8059 MB / 3.138 GB, free: 120.9 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 4.819e-06/7.41, allocations: 0 / 3.138 GB, free: 120.9 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.001547/7.412, allocations: 0.5235 MB / 3.138 GB, free: 120.4 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001743/7.414, allocations: 235.9 kB / 3.138 GB, free: 120.2 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01394/7.428, allocations: 5.218 MB / 3.143 GB, free: 114.9 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005687/7.428, allocations: 1.043 MB / 3.144 GB, free: 113.8 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.00147/7.43, allocations: 266 kB / 3.145 GB, free: 113.6 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000748/7.43, allocations: 371.3 kB / 3.145 GB, free: 113.2 MB / 0.948 GB Notification: Performance of SimCode: time 1.303e-06/7.43, allocations: 0 / 3.145 GB, free: 113.2 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07611/7.507, allocations: 29.34 MB / 3.174 GB, free: 84.21 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.00031/7.507, allocations: 295.2 kB / 3.174 GB, free: 83.85 MB / 0.948 GB Error: Error building simulator. Build log: clang -Os -fPIC -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.0.0/Resources/C-Sources" -c -o Buildings_8_0_0_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyBrightness.o Buildings_8_0_0_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyBrightness.c In file included from Buildings_8_0_0_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyBrightness.c:7: In file included from ./Buildings_8_0_0_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 -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.0.0/Resources/C-Sources" -c -o Buildings_8_0_0_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyBrightness_functions.o Buildings_8_0_0_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyBrightness_functions.c In file included from Buildings_8_0_0_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyBrightness_functions.c:2: In file included from ./Buildings_8_0_0_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_0_0_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyBrightness_functions.c:7: In file included from ./Buildings_8_0_0_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyBrightness_includes.h:4: /home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/Resources/C-Sources/getTimeSpan.c:6:10: fatal error: 'ModelicaUtilities.h' file not found #include ^~~~~~~~~~~~~~~~~~~~~ 2 warnings and 1 error generated. : recipe for target 'Buildings_8_0_0_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyBrightness_functions.o' failed make: *** [Buildings_8_0_0_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyBrightness_functions.o] Error 1