Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader,fileNamePrefix="Buildings_9_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3LongHeader",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader,fileNamePrefix="Buildings_9_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3LongHeader",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.269/2.269, allocations: 387.1 MB / 399.7 MB, free: 9.441 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001077/0.001077, allocations: 184 kB / 492.3 MB, free: 0.6016 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.657/1.657, allocations: 221.3 MB / 0.7871 GB, free: 12.88 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009987/0.0009989, allocations: 86.59 kB / 0.9267 GB, free: 13.96 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.209e-05/3.212e-05, allocations: 4 kB / 1.073 GB, free: 180.3 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2528/0.2528, allocations: 142.3 MB / 1.212 GB, free: 38.41 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9103/1.163, allocations: 149.1 MB / 1.358 GB, free: 19.11 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002981/1.164, allocations: 81.19 kB / 1.358 GB, free: 19.11 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.004091/1.168, allocations: 1.55 MB / 1.36 GB, free: 34.76 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.883e-06/1.168, allocations: 0.9062 kB / 1.36 GB, free: 34.76 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 7.103e-06/1.168, allocations: 0 / 1.36 GB, free: 34.76 MB / 0.8386 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.0001918/1.168, allocations: 321.3 kB / 1.36 GB, free: 34.41 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.583e-05/1.168, allocations: 9.25 kB / 1.36 GB, free: 34.41 MB / 0.8386 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.217e-05/1.168, allocations: 109.1 kB / 1.36 GB, free: 34.3 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.601e-05/1.168, allocations: 79.84 kB / 1.36 GB, free: 34.23 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001363/1.168, allocations: 245.3 kB / 1.36 GB, free: 33.95 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.432e-05/1.168, allocations: 151.1 kB / 1.361 GB, free: 33.8 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.896e-05/1.168, allocations: 164.8 kB / 1.361 GB, free: 33.65 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.22e-05/1.168, allocations: 105.7 kB / 1.361 GB, free: 33.54 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.067e-05/1.168, allocations: 78.41 kB / 1.361 GB, free: 33.46 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.318e-05/1.168, allocations: 150.6 kB / 1.361 GB, free: 33.32 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.741e-05/1.169, allocations: 150.6 kB / 1.361 GB, free: 33.17 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.518e-05/1.169, allocations: 155.3 kB / 1.361 GB, free: 33.02 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002228/1.169, allocations: 450.7 kB / 1.362 GB, free: 32.54 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 6.817e-05/1.169, allocations: 169.7 kB / 1.362 GB, free: 32.36 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.38e-05/1.169, allocations: 84.12 kB / 1.362 GB, free: 32.27 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 2.58e-05/1.169, allocations: 83.86 kB / 1.362 GB, free: 32.2 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.039e-05/1.169, allocations: 109.7 kB / 1.362 GB, free: 32.08 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=0): time 8.52e-07/1.169, allocations: 0 / 1.362 GB, free: 32.08 MB / 0.8386 GB Notification: Performance of matching and sorting (n=0): time 6.69e-05/1.169, allocations: 27.19 kB / 1.362 GB, free: 32.05 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.939e-05/1.169, allocations: 131.3 kB / 1.362 GB, free: 31.91 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.004e-05/1.169, allocations: 97.84 kB / 1.362 GB, free: 31.82 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 7.704e-06/1.169, allocations: 25.7 kB / 1.362 GB, free: 31.79 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 3.376e-05/1.169, allocations: 88.47 kB / 1.363 GB, free: 31.7 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 1.463e-06/1.169, allocations: 0 / 1.363 GB, free: 31.7 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.51e-07/1.169, allocations: 0 / 1.363 GB, free: 31.7 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 8.32e-05/1.169, allocations: 312.2 kB / 1.363 GB, free: 31.39 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.747e-06/1.169, allocations: 0 / 1.363 GB, free: 31.39 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.11e-05/1.169, allocations: 3.844 kB / 1.363 GB, free: 31.39 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.777e-05/1.169, allocations: 79.94 kB / 1.363 GB, free: 31.31 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.814e-05/1.169, allocations: 75.28 kB / 1.363 GB, free: 31.23 MB / 0.8386 GB Notification: Performance of matching and sorting (n=0) (initialization): time 4.984e-05/1.169, allocations: 30.91 kB / 1.363 GB, free: 31.2 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 2.849e-05/1.17, allocations: 83.95 kB / 1.363 GB, free: 31.12 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.111e-05/1.17, allocations: 79.22 kB / 1.363 GB, free: 31.05 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.109e-05/1.17, allocations: 158.3 kB / 1.363 GB, free: 30.9 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.924e-05/1.17, allocations: 83.22 kB / 1.363 GB, free: 30.82 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.76e-05/1.17, allocations: 151.4 kB / 1.364 GB, free: 30.67 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.408e-05/1.17, allocations: 79.92 kB / 1.364 GB, free: 30.59 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.454e-05/1.17, allocations: 83.83 kB / 1.364 GB, free: 30.51 MB / 0.8386 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (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 prepare postOptimizeDAE: time 9.557e-05/1.17, allocations: 259 kB / 1.364 GB, free: 30.25 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.658e-05/1.17, allocations: 109.5 kB / 1.364 GB, free: 30.14 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.17e-05/1.17, allocations: 113 kB / 1.364 GB, free: 30.03 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.573e-05/1.17, allocations: 177.8 kB / 1.364 GB, free: 29.85 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.936e-05/1.17, allocations: 184.2 kB / 1.364 GB, free: 29.66 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.345e-05/1.17, allocations: 188.3 kB / 1.365 GB, free: 29.48 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001671/1.17, allocations: 395.9 kB / 1.365 GB, free: 29.04 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.635e-05/1.17, allocations: 109.5 kB / 1.365 GB, free: 28.92 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.701e-05/1.17, allocations: 106.5 kB / 1.365 GB, free: 28.82 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.204e-05/1.17, allocations: 184 kB / 1.365 GB, free: 28.63 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.405e-05/1.171, allocations: 181.8 kB / 1.366 GB, free: 28.45 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.079e-05/1.171, allocations: 177.7 kB / 1.366 GB, free: 28.27 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.104e-05/1.171, allocations: 184.8 kB / 1.366 GB, free: 28.09 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001041/1.171, allocations: 309.5 kB / 1.366 GB, free: 27.77 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 5.242e-05/1.171, allocations: 187.8 kB / 1.366 GB, free: 27.56 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.025e-05/1.171, allocations: 180.8 kB / 1.367 GB, free: 27.38 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.715e-05/1.171, allocations: 109.9 kB / 1.367 GB, free: 27.27 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.991e-05/1.171, allocations: 176.8 kB / 1.367 GB, free: 27.09 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.277e-05/1.171, allocations: 109.5 kB / 1.367 GB, free: 26.98 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 4.043e-05/1.171, allocations: 83.34 kB / 1.367 GB, free: 26.91 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.61e-07/1.171, allocations: 4 kB / 1.367 GB, free: 26.9 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0002554/1.171, allocations: 3.969 kB / 1.367 GB, free: 26.9 MB / 0.8386 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 () * 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.0004856/1.172, allocations: 0.8162 MB / 1.368 GB, free: 26.09 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 4.148e-05/1.172, allocations: 11.78 kB / 1.368 GB, free: 26.08 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.755e-06/1.172, allocations: 3.938 kB / 1.368 GB, free: 26.08 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 1.333e-06/1.172, allocations: 0 / 1.368 GB, free: 26.08 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002849/1.172, allocations: 0.5159 MB / 1.368 GB, free: 25.56 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003421/1.173, allocations: 157.4 kB / 1.369 GB, free: 25.38 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002194/1.173, allocations: 0.68 MB / 1.369 GB, free: 24.68 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 1.545e-05/1.173, allocations: 0.5625 kB / 1.369 GB, free: 24.68 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.246e-05/1.173, allocations: 16.02 kB / 1.369 GB, free: 24.67 MB / 0.8386 GB Notification: Performance of SimCode: time 2.6e-07/1.173, allocations: 0 / 1.369 GB, free: 24.67 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01267/1.186, allocations: 0.9652 MB / 1.37 GB, free: 24.55 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001586/1.186, allocations: 206.4 kB / 1.37 GB, free: 24.32 MB / 0.8386 GB Error: Error building simulator. Build log: clang -Os -fPIC -falign-functions -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 9.1.1-maint.9.1.x/Resources/C-Sources" -c -o Buildings_9_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3LongHeader.o Buildings_9_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3LongHeader.c In file included from Buildings_9_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3LongHeader.c:7: In file included from ./Buildings_9_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3LongHeader_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 -falign-functions -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 9.1.1-maint.9.1.x/Resources/C-Sources" -c -o Buildings_9_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3LongHeader_functions.o Buildings_9_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3LongHeader_functions.c In file included from Buildings_9_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3LongHeader_functions.c:2: In file included from ./Buildings_9_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3LongHeader_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_9_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3LongHeader_functions.c:7: In file included from ./Buildings_9_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3LongHeader_includes.h:4: /home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.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_9_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3LongHeader_functions.o] Error 1