Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.conf.json 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 7.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: "" <> buildModelFMU(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness,fileNamePrefix="Buildings_7_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 7.0.1/package.mo): time 2.179/2.179, allocations: 248.5 MB / 261 MB, free: 5.984 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001456/0.001456, allocations: 175.4 kB / 320.4 MB, free: 15.37 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.058/2.058, allocations: 205.1 MB / 0.571 GB, free: 11.79 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.00109/0.00109, allocations: 94.47 kB / 0.6754 GB, free: 0.8672 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 4.49e-05/4.503e-05, allocations: 7.984 kB / 0.7869 GB, free: 97.83 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1898/0.1898, allocations: 106.3 MB / 0.8907 GB, free: 7.484 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 7.432/7.622, allocations: 2.19 GB / 3.081 GB, free: 158.2 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.00034/7.622, allocations: 92.73 kB / 3.081 GB, free: 158.2 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.2337/7.856, allocations: 63.47 MB / 3.143 GB, free: 100.4 MB / 0.8698 GB Notification: Performance of FrontEnd: time 2.394e-06/7.856, allocations: 0 / 3.143 GB, free: 100.4 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 9.487e-05/7.856, allocations: 28 kB / 3.143 GB, free: 100.3 MB / 0.8698 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.002604/7.858, allocations: 1.079 MB / 3.144 GB, free: 99.2 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 5.59e-05/7.859, allocations: 11.97 kB / 3.144 GB, free: 99.19 MB / 0.8698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002601/7.859, allocations: 139.5 kB / 3.144 GB, free: 99.05 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002334/7.861, allocations: 274.4 kB / 3.145 GB, free: 98.78 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001603/7.863, allocations: 0.623 MB / 3.145 GB, free: 98.11 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.769e-05/7.863, allocations: 66 kB / 3.145 GB, free: 98.05 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001703/7.863, allocations: 84 kB / 3.145 GB, free: 97.97 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002168/7.865, allocations: 0.9068 MB / 3.146 GB, free: 97.02 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.757e-05/7.865, allocations: 0 / 3.146 GB, free: 97.02 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001373/7.865, allocations: 40 kB / 3.146 GB, free: 96.98 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.225e-05/7.866, allocations: 20 kB / 3.146 GB, free: 96.96 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002379/7.868, allocations: 1.077 MB / 3.147 GB, free: 95.89 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006413/7.874, allocations: 2.598 MB / 3.15 GB, free: 93.22 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003014/7.877, allocations: 0.7714 MB / 3.151 GB, free: 92.43 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006557/7.878, allocations: 271.2 kB / 3.151 GB, free: 92.17 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001253/7.878, allocations: 36.8 kB / 3.151 GB, free: 92.13 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009366/7.879, allocations: 429.3 kB / 3.151 GB, free: 91.69 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=74): time 4.309e-06/7.879, allocations: 0 / 3.151 GB, free: 91.69 MB / 0.8698 GB Notification: Performance of matching and sorting (n=74): time 0.002663/7.882, allocations: 0.7148 MB / 3.152 GB, free: 90.97 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.578e-05/7.882, allocations: 248 kB / 3.152 GB, free: 90.67 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001114/7.883, allocations: 0.5659 MB / 3.153 GB, free: 90.1 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 0.0001775/7.883, allocations: 37.7 kB / 3.153 GB, free: 90.06 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003493/7.884, allocations: 400.1 kB / 3.153 GB, free: 89.66 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002376/7.884, allocations: 252.4 kB / 3.153 GB, free: 89.41 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.929e-05/7.884, allocations: 8 kB / 3.153 GB, free: 89.4 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001267/7.884, allocations: 378.8 kB / 3.154 GB, free: 89.02 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005715/7.885, allocations: 217.5 kB / 3.154 GB, free: 88.81 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006659/7.885, allocations: 321 kB / 3.154 GB, free: 88.46 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006749/7.886, allocations: 254 kB / 3.155 GB, free: 88.21 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.202e-06/7.886, allocations: 3.953 kB / 3.155 GB, free: 88.21 MB / 0.8698 GB Notification: Performance of matching and sorting (n=78) (initialization): time 0.002529/7.889, allocations: 0.7149 MB / 3.155 GB, free: 87.49 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 2.495e-05/7.889, allocations: 4 kB / 3.155 GB, free: 87.48 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.287e-06/7.889, allocations: 0 / 3.155 GB, free: 87.48 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009729/7.89, allocations: 80.84 kB / 3.155 GB, free: 87.4 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001371/7.891, allocations: 159.8 kB / 3.155 GB, free: 87.25 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002565/7.894, allocations: 1.517 MB / 3.157 GB, free: 85.59 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001307/7.895, allocations: 87.55 kB / 3.157 GB, free: 85.5 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.494e-05/7.895, allocations: 31.94 kB / 3.157 GB, free: 85.47 MB / 0.8698 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 (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.000256/7.895, allocations: 140.9 kB / 3.157 GB, free: 85.33 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001887/7.896, allocations: 75.06 kB / 3.157 GB, free: 85.25 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003512/7.899, allocations: 1.005 MB / 3.158 GB, free: 84.23 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.276e-05/7.899, allocations: 15.95 kB / 3.158 GB, free: 84.21 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.518e-06/7.899, allocations: 4 kB / 3.158 GB, free: 84.21 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.402e-05/7.899, allocations: 3.984 kB / 3.158 GB, free: 84.21 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001604/7.901, allocations: 0.9031 MB / 3.159 GB, free: 83.25 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.74e-06/7.901, allocations: 0 / 3.159 GB, free: 83.25 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001348/7.902, allocations: 155.8 kB / 3.159 GB, free: 83.1 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008637/7.903, allocations: 88.77 kB / 3.159 GB, free: 83.01 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.896e-05/7.903, allocations: 27.94 kB / 3.159 GB, free: 82.98 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002315/7.906, allocations: 1.552 MB / 3.161 GB, free: 81.29 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.214e-06/7.906, allocations: 0 / 3.161 GB, free: 81.29 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002729/7.908, allocations: 0.813 MB / 3.162 GB, free: 80.46 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006227/7.909, allocations: 291.7 kB / 3.162 GB, free: 80.15 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001788/7.909, allocations: 16 kB / 3.162 GB, free: 80.14 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001151/7.91, allocations: 83.88 kB / 3.162 GB, free: 80.05 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001781/7.911, allocations: 60.83 kB / 3.162 GB, free: 80 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.259e-05/7.911, allocations: 31.98 kB / 3.162 GB, free: 79.96 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.0008128/7.912, allocations: 475.1 kB / 3.163 GB, free: 79.51 MB / 0.8698 GB Notification: Performance of sort global known variables: time 6.31e-07/7.912, allocations: 0 / 3.163 GB, free: 79.51 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.001374/7.913, allocations: 347.1 kB / 3.163 GB, free: 79.17 MB / 0.8698 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) * 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.00498/7.918, allocations: 2.257 MB / 3.165 GB, free: 77.03 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.002122/7.92, allocations: 0.7058 MB / 3.166 GB, free: 76.31 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 6.102e-06/7.92, allocations: 4 kB / 3.166 GB, free: 76.3 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.00115/7.921, allocations: 487.1 kB / 3.166 GB, free: 75.82 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001802/7.923, allocations: 231.8 kB / 3.167 GB, free: 75.59 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006079/7.929, allocations: 1.591 MB / 3.168 GB, free: 73.96 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005575/7.93, allocations: 1.039 MB / 3.169 GB, free: 72.89 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.001518/7.931, allocations: 262 kB / 3.169 GB, free: 72.64 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007504/7.932, allocations: 371.3 kB / 3.17 GB, free: 72.28 MB / 0.8698 GB Notification: Performance of SimCode: time 1.192e-06/7.932, allocations: 4 kB / 3.17 GB, free: 72.27 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08702/8.019, allocations: 31.07 MB / 3.2 GB, free: 41.46 MB / 0.8698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002775/8.02, allocations: 256.3 kB / 3.2 GB, free: 41.12 MB / 0.8698 GB Error: Error building simulator. Build log: clang -Os -fPIC -mfpmath=sse -fno-dollars-in-identifiers -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/Resources/C-Sources" -c -o Buildings_7_0_0_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyBrightness.o Buildings_7_0_0_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyBrightness.c In file included from Buildings_7_0_0_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyBrightness.c:7: In file included from ./Buildings_7_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:111: ./gc/omc_gc.h:217:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:221: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 -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/Resources/C-Sources" -c -o Buildings_7_0_0_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyBrightness_functions.o Buildings_7_0_0_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyBrightness_functions.c In file included from Buildings_7_0_0_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyBrightness_functions.c:2: In file included from ./Buildings_7_0_0_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyBrightness_functions.h:3: In file included from ./meta/meta_modelica.h:49: ./gc/omc_gc.h:217:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:221:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ In file included from Buildings_7_0_0_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyBrightness_functions.c:7: In file included from ./Buildings_7_0_0_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyBrightness_includes.h:4: /home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/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_7_0_0_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyBrightness_functions.o' failed make: *** [Buildings_7_0_0_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyBrightness_functions.o] Error 1