Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3.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.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3,fileNamePrefix="Buildings_7_0_0_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3",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.16/2.16, allocations: 251 MB / 265.9 MB, free: 11.68 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001599/0.001599, allocations: 179.5 kB / 325.5 MB, free: 2.875 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.424/2.424, allocations: 205.4 MB / 0.5764 GB, free: 20.77 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.00112/0.00112, allocations: 96.22 kB / 0.6809 GB, free: 13.64 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004562/0.0004562, allocations: 11.47 kB / 0.795 GB, free: 135.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.248/0.2485, allocations: 106.3 MB / 0.8988 GB, free: 65.41 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2193/0.4679, allocations: 131.6 MB / 1.027 GB, free: 13.64 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003363/0.4683, allocations: 87.94 kB / 1.027 GB, free: 13.55 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.009254/0.4775, allocations: 2.281 MB / 1.03 GB, free: 11.27 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.645e-06/0.4776, allocations: 0 / 1.03 GB, free: 11.27 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 7.765e-06/0.4776, allocations: 0 / 1.03 GB, free: 11.27 MB / 0.6823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 0 * Number of variables: 0 Notification: Performance of Generate backend data structure: time 0.0003668/0.478, allocations: 331.3 kB / 1.03 GB, free: 10.9 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.759e-05/0.478, allocations: 8.031 kB / 1.03 GB, free: 10.89 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.918e-05/0.4781, allocations: 105.8 kB / 1.03 GB, free: 10.78 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.653e-05/0.4782, allocations: 75.28 kB / 1.03 GB, free: 10.7 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001826/0.4784, allocations: 246.3 kB / 1.03 GB, free: 10.42 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.968e-05/0.4785, allocations: 154.6 kB / 1.031 GB, free: 10.27 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.908e-05/0.4786, allocations: 150.6 kB / 1.031 GB, free: 10.12 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.926e-05/0.4787, allocations: 104.9 kB / 1.031 GB, free: 10.01 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.778e-05/0.4787, allocations: 75.28 kB / 1.031 GB, free: 9.938 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.118e-05/0.4788, allocations: 158.5 kB / 1.031 GB, free: 9.781 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.488e-05/0.4788, allocations: 156.4 kB / 1.031 GB, free: 9.629 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.741e-05/0.4789, allocations: 150.6 kB / 1.031 GB, free: 9.48 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000349/0.4793, allocations: 453.9 kB / 1.032 GB, free: 8.988 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001036/0.4794, allocations: 173.1 kB / 1.032 GB, free: 8.809 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 3.47e-05/0.4794, allocations: 79.28 kB / 1.032 GB, free: 8.73 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.5e-05/0.4795, allocations: 109.8 kB / 1.032 GB, free: 8.613 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=0): time 2.726e-06/0.4795, allocations: 0 / 1.032 GB, free: 8.613 MB / 0.6823 GB Notification: Performance of matching and sorting (n=0): time 9.818e-05/0.4796, allocations: 33.61 kB / 1.032 GB, free: 8.574 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.365e-05/0.4797, allocations: 126.7 kB / 1.032 GB, free: 8.438 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001335/0.4798, allocations: 101 kB / 1.032 GB, free: 8.332 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 2.186e-05/0.4799, allocations: 25.7 kB / 1.032 GB, free: 8.301 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 5.165e-05/0.4799, allocations: 92.06 kB / 1.032 GB, free: 8.207 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 2.325e-06/0.48, allocations: 0 / 1.032 GB, free: 8.207 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.22e-06/0.48, allocations: 0 / 1.032 GB, free: 8.207 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001297/0.4801, allocations: 322.7 kB / 1.033 GB, free: 7.883 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.777e-05/0.4801, allocations: 4 kB / 1.033 GB, free: 7.879 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.465e-05/0.4802, allocations: 15.92 kB / 1.033 GB, free: 7.863 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.78e-05/0.4802, allocations: 4 kB / 1.033 GB, free: 7.859 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.4803, allocations: 0 / 1.033 GB, free: 7.859 MB / 0.6823 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000138/0.4804, allocations: 37.81 kB / 1.033 GB, free: 7.816 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 2.208e-05/0.4804, allocations: 12 kB / 1.033 GB, free: 7.805 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.385e-06/0.4805, allocations: 0 / 1.033 GB, free: 7.805 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.854e-05/0.4805, allocations: 0 / 1.033 GB, free: 7.805 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.735e-06/0.4805, allocations: 0 / 1.033 GB, free: 7.805 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.356e-06/0.4805, allocations: 0 / 1.033 GB, free: 7.805 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000164/0.4807, allocations: 4 kB / 1.033 GB, free: 7.801 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.526e-05/0.4807, allocations: 0 / 1.033 GB, free: 7.801 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 0 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002257/0.481, allocations: 193.1 kB / 1.033 GB, free: 7.602 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001987/0.4812, allocations: 112.9 kB / 1.033 GB, free: 7.484 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000101/0.4813, allocations: 104.5 kB / 1.033 GB, free: 7.375 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001222/0.4815, allocations: 188.2 kB / 1.033 GB, free: 7.184 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001768/0.4817, allocations: 184.2 kB / 1.034 GB, free: 6.996 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000127/0.4818, allocations: 180.3 kB / 1.034 GB, free: 6.812 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004573/0.4823, allocations: 413.1 kB / 1.034 GB, free: 6.352 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.268e-05/0.4824, allocations: 101 kB / 1.034 GB, free: 6.246 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.481e-05/0.4824, allocations: 104.9 kB / 1.034 GB, free: 6.137 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.623e-05/0.4825, allocations: 180.3 kB / 1.034 GB, free: 5.953 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.231e-05/0.4826, allocations: 180.3 kB / 1.035 GB, free: 5.77 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.208e-05/0.4827, allocations: 180.2 kB / 1.035 GB, free: 5.586 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.157e-05/0.4828, allocations: 184.2 kB / 1.035 GB, free: 5.398 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001622/0.4829, allocations: 307.7 kB / 1.035 GB, free: 5.074 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001105/0.4831, allocations: 186 kB / 1.035 GB, free: 4.867 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.004e-05/0.4832, allocations: 185 kB / 1.036 GB, free: 4.68 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001096/0.4833, allocations: 101 kB / 1.036 GB, free: 4.574 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.238e-05/0.4834, allocations: 184.2 kB / 1.036 GB, free: 4.387 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.238e-05/0.4834, allocations: 109 kB / 1.036 GB, free: 4.273 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 9.079e-05/0.4835, allocations: 87.52 kB / 1.036 GB, free: 4.188 MB / 0.6823 GB Notification: Performance of sort global known variables: time 4.01e-07/0.4836, allocations: 0 / 1.036 GB, free: 4.188 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0003095/0.4839, allocations: 4 kB / 1.036 GB, free: 4.184 MB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (0): * Single equations (assignments): 0 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005941/0.4845, allocations: 0.8295 MB / 1.037 GB, free: 3.328 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 9.425e-05/0.4846, allocations: 4 kB / 1.037 GB, free: 3.324 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 2.796e-06/0.4846, allocations: 0 / 1.037 GB, free: 3.324 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 3.998e-06/0.4846, allocations: 352 / 1.037 GB, free: 3.324 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003577/0.485, allocations: 0.5264 MB / 1.037 GB, free: 2.793 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006346/0.4856, allocations: 369.8 kB / 1.038 GB, free: 2.379 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000298/0.4859, allocations: 0.6809 MB / 1.038 GB, free: 1.672 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 2.442e-05/0.486, allocations: 4 kB / 1.038 GB, free: 1.668 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.717e-05/0.486, allocations: 7.438 kB / 1.038 GB, free: 1.66 MB / 0.6823 GB Notification: Performance of SimCode: time 1.292e-06/0.486, allocations: 0 / 1.038 GB, free: 1.66 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02626/0.5123, allocations: 1.05 MB / 1.039 GB, free: 0.793 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003835/0.5128, allocations: 214.8 kB / 1.04 GB, free: 0.5547 MB / 0.6823 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 7.0.1/Resources/C-Sources" -c -o Buildings_7_0_0_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3.o Buildings_7_0_0_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3.c In file included from Buildings_7_0_0_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3.c:7: In file included from ./Buildings_7_0_0_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3_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 7.0.1/Resources/C-Sources" -c -o Buildings_7_0_0_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3_functions.o Buildings_7_0_0_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3_functions.c In file included from Buildings_7_0_0_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3_functions.c:2: In file included from ./Buildings_7_0_0_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3_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_7_0_0_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3_functions.c:7: In file included from ./Buildings_7_0_0_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3_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_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3_functions.o' failed make: *** [Buildings_7_0_0_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3_functions.o] Error 1