Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3.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.GetTimeSpanTMY3,fileNamePrefix="Buildings_9_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3,fileNamePrefix="Buildings_9_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 9.1.1-maint.9.1.x/package.mo): time 2.247/2.247, 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.001096/0.001096, allocations: 172.9 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.532/1.532, allocations: 221.3 MB / 0.7871 GB, free: 12.92 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.000898/0.000898, allocations: 88.64 kB / 0.9267 GB, free: 14 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.484e-05/3.486e-05, allocations: 7.984 kB / 1.073 GB, free: 180.3 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2246/0.2247, allocations: 142.3 MB / 1.212 GB, free: 38.4 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8278/1.053, allocations: 149.3 MB / 1.358 GB, free: 18.93 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002568/1.053, allocations: 85.97 kB / 1.358 GB, free: 18.92 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.005443/1.058, allocations: 2.117 MB / 1.36 GB, free: 34.54 MB / 0.8386 GB Notification: Performance of FrontEnd: time 2.014e-06/1.058, allocations: 2.719 kB / 1.36 GB, free: 34.54 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 6.312e-06/1.058, allocations: 0.5 kB / 1.36 GB, free: 34.54 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.0002272/1.059, allocations: 321.5 kB / 1.361 GB, free: 34.19 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.444e-05/1.059, allocations: 11.66 kB / 1.361 GB, free: 34.19 MB / 0.8386 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.089e-05/1.059, allocations: 109.3 kB / 1.361 GB, free: 34.08 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.809e-05/1.059, allocations: 80 kB / 1.361 GB, free: 34 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000125/1.059, allocations: 253.8 kB / 1.361 GB, free: 33.72 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.542e-05/1.059, allocations: 153.5 kB / 1.361 GB, free: 33.57 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.857e-05/1.059, allocations: 156.8 kB / 1.361 GB, free: 33.42 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 4.863e-05/1.059, allocations: 105 kB / 1.362 GB, free: 33.31 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.314e-05/1.059, allocations: 79.12 kB / 1.362 GB, free: 33.23 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.063e-05/1.059, allocations: 150.6 kB / 1.362 GB, free: 33.09 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.43e-05/1.059, allocations: 153.8 kB / 1.362 GB, free: 32.94 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.154e-05/1.059, allocations: 154.5 kB / 1.362 GB, free: 32.79 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002555/1.059, allocations: 456.7 kB / 1.363 GB, free: 32.3 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 5.993e-05/1.06, allocations: 165.1 kB / 1.363 GB, free: 32.13 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.541e-05/1.06, allocations: 80.14 kB / 1.363 GB, free: 32.05 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 2.149e-05/1.06, allocations: 75.28 kB / 1.363 GB, free: 31.97 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.511e-05/1.06, allocations: 120.6 kB / 1.363 GB, free: 31.86 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=0): time 9.61e-07/1.06, allocations: 0 / 1.363 GB, free: 31.86 MB / 0.8386 GB Notification: Performance of matching and sorting (n=0): time 6.661e-05/1.06, allocations: 29.64 kB / 1.363 GB, free: 31.82 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.545e-05/1.06, allocations: 126.7 kB / 1.363 GB, free: 31.68 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.963e-05/1.06, allocations: 99.25 kB / 1.363 GB, free: 31.59 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.132e-05/1.06, allocations: 25.7 kB / 1.363 GB, free: 31.56 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 3.695e-05/1.06, allocations: 83.98 kB / 1.363 GB, free: 31.48 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 2.104e-06/1.06, allocations: 4 kB / 1.363 GB, free: 31.48 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.465e-06/1.06, allocations: 0 / 1.363 GB, free: 31.48 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001204/1.06, allocations: 310.8 kB / 1.364 GB, free: 31.16 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.71e-05/1.06, allocations: 6.531 kB / 1.364 GB, free: 31.16 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.37e-05/1.06, allocations: 7.109 kB / 1.364 GB, free: 31.16 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.857e-05/1.06, allocations: 7.797 kB / 1.364 GB, free: 31.16 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/1.06, allocations: 3.844 kB / 1.364 GB, free: 31.16 MB / 0.8386 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001002/1.06, allocations: 48.03 kB / 1.364 GB, free: 31.12 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.419e-05/1.06, allocations: 11.53 kB / 1.364 GB, free: 31.12 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.251e-06/1.06, allocations: 0 / 1.364 GB, free: 31.12 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.3e-05/1.06, allocations: 0 / 1.364 GB, free: 31.12 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.01e-07/1.06, allocations: 0 / 1.364 GB, free: 31.12 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.092e-06/1.06, allocations: 0 / 1.364 GB, free: 31.12 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.755e-05/1.06, allocations: 6.844 kB / 1.364 GB, free: 31.12 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.018e-05/1.06, allocations: 0 / 1.364 GB, free: 31.12 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 (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 7.991e-05/1.061, allocations: 180.2 kB / 1.364 GB, free: 30.93 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.06e-05/1.061, allocations: 116.7 kB / 1.364 GB, free: 30.82 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.291e-05/1.061, allocations: 122.5 kB / 1.364 GB, free: 30.69 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.203e-05/1.061, allocations: 176.3 kB / 1.364 GB, free: 30.51 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.641e-05/1.061, allocations: 187.3 kB / 1.364 GB, free: 30.32 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.746e-05/1.061, allocations: 179.1 kB / 1.365 GB, free: 30.14 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001947/1.061, allocations: 402.9 kB / 1.365 GB, free: 29.7 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.261e-05/1.061, allocations: 112.9 kB / 1.365 GB, free: 29.59 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.221e-05/1.061, allocations: 101 kB / 1.365 GB, free: 29.48 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.892e-05/1.061, allocations: 187.2 kB / 1.365 GB, free: 29.3 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.226e-05/1.061, allocations: 176.3 kB / 1.366 GB, free: 29.12 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.485e-05/1.061, allocations: 180.1 kB / 1.366 GB, free: 28.94 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.792e-05/1.061, allocations: 180.2 kB / 1.366 GB, free: 28.75 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001307/1.062, allocations: 306.5 kB / 1.366 GB, free: 28.44 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 7e-05/1.062, allocations: 189.1 kB / 1.366 GB, free: 28.23 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.234e-05/1.062, allocations: 179.1 kB / 1.367 GB, free: 28.05 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.336e-05/1.062, allocations: 104.9 kB / 1.367 GB, free: 27.95 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.894e-05/1.062, allocations: 189.1 kB / 1.367 GB, free: 27.76 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.114e-05/1.062, allocations: 104.9 kB / 1.367 GB, free: 27.65 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 4.178e-05/1.062, allocations: 85.31 kB / 1.367 GB, free: 27.57 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.5e-07/1.062, allocations: 3.844 kB / 1.367 GB, free: 27.57 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.000231/1.062, allocations: 3.844 kB / 1.367 GB, free: 27.57 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.0004628/1.063, allocations: 0.8122 MB / 1.368 GB, free: 26.77 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 6e-05/1.063, allocations: 11.45 kB / 1.368 GB, free: 26.76 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/1.063, allocations: 0 / 1.368 GB, free: 26.76 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 2.805e-06/1.063, allocations: 2.578 kB / 1.368 GB, free: 26.76 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003028/1.063, allocations: 0.5274 MB / 1.368 GB, free: 26.24 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003073/1.063, allocations: 156.7 kB / 1.368 GB, free: 26.06 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002688/1.064, allocations: 0.6787 MB / 1.369 GB, free: 25.36 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 1.615e-05/1.064, allocations: 3.844 kB / 1.369 GB, free: 25.36 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.047e-05/1.064, allocations: 15.06 kB / 1.369 GB, free: 25.35 MB / 0.8386 GB Notification: Performance of SimCode: time 2.8e-07/1.064, allocations: 0 / 1.369 GB, free: 25.35 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01284/1.077, allocations: 1.052 MB / 1.37 GB, free: 25.21 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001526/1.077, allocations: 195.2 kB / 1.37 GB, free: 24.98 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_GetTimeSpanTMY3.o Buildings_9_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3.c In file included from Buildings_9_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3.c:7: In file included from ./Buildings_9_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3_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_GetTimeSpanTMY3_functions.o Buildings_9_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3_functions.c In file included from Buildings_9_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3_functions.c:2: In file included from ./Buildings_9_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3_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_GetTimeSpanTMY3_functions.c:7: In file included from ./Buildings_9_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3_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_GetTimeSpanTMY3_functions.o] Error 1