Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3_NonzeroStart.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_NonzeroStart,fileNamePrefix="Buildings_7_0_0_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3_NonzeroStart",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.569/2.569, 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.001735/0.001735, allocations: 179.2 kB / 325.5 MB, free: 2.902 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.485/2.485, allocations: 205.4 MB / 0.5764 GB, free: 20.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.001092/0.001092, allocations: 95.72 kB / 0.6809 GB, free: 13.68 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004725/0.0004726, allocations: 11.91 kB / 0.795 GB, free: 135.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2047/0.2052, allocations: 106.3 MB / 0.8988 GB, free: 65.5 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2245/0.4298, allocations: 131.8 MB / 1.027 GB, free: 13.57 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003338/0.4302, allocations: 79.95 kB / 1.028 GB, free: 13.49 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.01008/0.4403, allocations: 2.479 MB / 1.03 GB, free: 11 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.424e-06/0.4404, allocations: 0 / 1.03 GB, free: 11 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 1.381e-05/0.4404, allocations: 0 / 1.03 GB, free: 11 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.0003978/0.4408, allocations: 335.2 kB / 1.03 GB, free: 10.62 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.949e-05/0.4409, allocations: 8.031 kB / 1.03 GB, free: 10.62 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.555e-05/0.4409, allocations: 105.8 kB / 1.03 GB, free: 10.5 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.89e-05/0.441, allocations: 83.28 kB / 1.03 GB, free: 10.42 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001773/0.4412, allocations: 238.3 kB / 1.031 GB, free: 10.15 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.214e-05/0.4413, allocations: 158.5 kB / 1.031 GB, free: 9.992 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.867e-05/0.4414, allocations: 154.6 kB / 1.031 GB, free: 9.84 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.75e-05/0.4415, allocations: 105 kB / 1.031 GB, free: 9.73 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.658e-05/0.4415, allocations: 75.28 kB / 1.031 GB, free: 9.656 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.747e-05/0.4416, allocations: 158.5 kB / 1.031 GB, free: 9.5 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.18e-05/0.4417, allocations: 152.4 kB / 1.031 GB, free: 9.352 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.873e-05/0.4418, allocations: 150.6 kB / 1.032 GB, free: 9.203 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004021/0.4422, allocations: 465.8 kB / 1.032 GB, free: 8.699 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001023/0.4423, allocations: 169.1 kB / 1.032 GB, free: 8.523 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 3.748e-05/0.4423, allocations: 83.28 kB / 1.032 GB, free: 8.441 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.118e-05/0.4424, allocations: 105.8 kB / 1.032 GB, free: 8.328 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=0): time 2.525e-06/0.4424, allocations: 0 / 1.032 GB, free: 8.328 MB / 0.6823 GB Notification: Performance of matching and sorting (n=0): time 9.615e-05/0.4425, allocations: 33.55 kB / 1.032 GB, free: 8.289 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.558e-05/0.4426, allocations: 126.7 kB / 1.033 GB, free: 8.152 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001303/0.4427, allocations: 105 kB / 1.033 GB, free: 8.043 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 2.416e-05/0.4428, allocations: 25.7 kB / 1.033 GB, free: 8.012 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 5.333e-05/0.4428, allocations: 84.14 kB / 1.033 GB, free: 7.926 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 2.314e-06/0.4429, allocations: 0 / 1.033 GB, free: 7.926 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.305e-06/0.4429, allocations: 0 / 1.033 GB, free: 7.926 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001385/0.443, allocations: 318.7 kB / 1.033 GB, free: 7.605 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.478e-05/0.443, allocations: 7.984 kB / 1.033 GB, free: 7.598 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.839e-05/0.4431, allocations: 8 kB / 1.033 GB, free: 7.59 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.698e-05/0.4431, allocations: 4.094 kB / 1.033 GB, free: 7.586 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.628e-06/0.4431, allocations: 4 kB / 1.033 GB, free: 7.582 MB / 0.6823 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000141/0.4433, allocations: 45.62 kB / 1.033 GB, free: 7.531 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.823e-05/0.4433, allocations: 4 kB / 1.033 GB, free: 7.527 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.394e-06/0.4433, allocations: 0 / 1.033 GB, free: 7.527 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.64e-05/0.4434, allocations: 0 / 1.033 GB, free: 7.527 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.587e-06/0.4434, allocations: 7.938 kB / 1.033 GB, free: 7.52 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.659e-06/0.4434, allocations: 0 / 1.033 GB, free: 7.52 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001133/0.4435, allocations: 0 / 1.033 GB, free: 7.52 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.49e-05/0.4435, allocations: 3.984 kB / 1.033 GB, free: 7.516 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.0001364/0.4437, allocations: 197.1 kB / 1.033 GB, free: 7.312 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.822e-05/0.4438, allocations: 101 kB / 1.033 GB, free: 7.207 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.517e-05/0.4438, allocations: 108.5 kB / 1.034 GB, free: 7.094 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.689e-05/0.4439, allocations: 184.2 kB / 1.034 GB, free: 6.906 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.494e-05/0.444, allocations: 180.2 kB / 1.034 GB, free: 6.723 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.499e-05/0.4441, allocations: 184.2 kB / 1.034 GB, free: 6.535 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002756/0.4444, allocations: 409.2 kB / 1.034 GB, free: 6.078 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.757e-05/0.4444, allocations: 104.9 kB / 1.035 GB, free: 5.969 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.588e-05/0.4445, allocations: 105 kB / 1.035 GB, free: 5.859 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.487e-05/0.4446, allocations: 180.3 kB / 1.035 GB, free: 5.676 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.794e-05/0.4447, allocations: 180.2 kB / 1.035 GB, free: 5.492 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.486e-05/0.4448, allocations: 188.2 kB / 1.035 GB, free: 5.301 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.063e-05/0.4449, allocations: 184.2 kB / 1.035 GB, free: 5.113 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000164/0.445, allocations: 303.7 kB / 1.036 GB, free: 4.793 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001037/0.4452, allocations: 190 kB / 1.036 GB, free: 4.582 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.833e-05/0.4453, allocations: 181.1 kB / 1.036 GB, free: 4.398 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001111/0.4454, allocations: 108.9 kB / 1.036 GB, free: 4.285 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.565e-05/0.4455, allocations: 176.3 kB / 1.036 GB, free: 4.105 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.046e-05/0.4455, allocations: 101.2 kB / 1.036 GB, free: 4 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 7.818e-05/0.4456, allocations: 91.27 kB / 1.036 GB, free: 3.91 MB / 0.6823 GB Notification: Performance of sort global known variables: time 4.31e-07/0.4456, allocations: 0 / 1.036 GB, free: 3.91 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0002879/0.4459, allocations: 4 kB / 1.036 GB, free: 3.906 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.0005654/0.4465, allocations: 0.8296 MB / 1.037 GB, free: 3.051 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 8.071e-05/0.4466, allocations: 4 kB / 1.037 GB, free: 3.047 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 2.755e-06/0.4466, allocations: 0 / 1.037 GB, free: 3.047 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 5.149e-06/0.4466, allocations: 4.406 kB / 1.037 GB, free: 3.043 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003563/0.447, allocations: 0.5224 MB / 1.038 GB, free: 2.516 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005801/0.4476, allocations: 377.8 kB / 1.038 GB, free: 2.094 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003061/0.4479, allocations: 0.677 MB / 1.039 GB, free: 1.391 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 3.041e-05/0.448, allocations: 4 kB / 1.039 GB, free: 1.387 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.827e-05/0.448, allocations: 11.42 kB / 1.039 GB, free: 1.375 MB / 0.6823 GB Notification: Performance of SimCode: time 8.31e-07/0.448, allocations: 0 / 1.039 GB, free: 1.375 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02437/0.4724, allocations: 1.071 MB / 1.04 GB, free: 0.5195 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003655/0.4728, allocations: 231.7 kB / 1.04 GB, free: 284 kB / 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_NonzeroStart.o Buildings_7_0_0_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3_NonzeroStart.c In file included from Buildings_7_0_0_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3_NonzeroStart.c:7: In file included from ./Buildings_7_0_0_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3_NonzeroStart_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_NonzeroStart_functions.o Buildings_7_0_0_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3_NonzeroStart_functions.c In file included from Buildings_7_0_0_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3_NonzeroStart_functions.c:2: In file included from ./Buildings_7_0_0_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3_NonzeroStart_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_NonzeroStart_functions.c:7: In file included from ./Buildings_7_0_0_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3_NonzeroStart_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_NonzeroStart_functions.o' failed make: *** [Buildings_7_0_0_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3_NonzeroStart_functions.o] Error 1