Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3_NonzeroStart.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_NonzeroStart,fileNamePrefix="Buildings_9_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3_NonzeroStart",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3_NonzeroStart,fileNamePrefix="Buildings_9_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 9.1.1-maint.9.1.x/package.mo): time 2.187/2.187, 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.001055/0.001055, allocations: 180.1 kB / 492.3 MB, free: 0.582 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.582/1.582, allocations: 221.3 MB / 0.7871 GB, free: 12.9 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.000964/0.0009641, allocations: 94.52 kB / 0.9267 GB, free: 13.97 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.047e-05/3.05e-05, allocations: 4 kB / 1.073 GB, free: 180.2 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2636/0.2637, allocations: 142.4 MB / 1.212 GB, free: 38.37 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8705/1.134, allocations: 149.4 MB / 1.358 GB, free: 19 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002253/1.135, allocations: 82.12 kB / 1.359 GB, free: 19 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.006359/1.141, allocations: 2.322 MB / 1.361 GB, free: 34.6 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.132e-06/1.141, allocations: 4.438 kB / 1.361 GB, free: 34.59 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 8.025e-06/1.141, allocations: 0.6562 kB / 1.361 GB, free: 34.59 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.0002202/1.141, allocations: 328.2 kB / 1.361 GB, free: 34.25 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 5.665e-05/1.141, allocations: 11.84 kB / 1.361 GB, free: 34.24 MB / 0.8386 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.294e-05/1.141, allocations: 105.8 kB / 1.361 GB, free: 34.13 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.82e-05/1.141, allocations: 83.84 kB / 1.361 GB, free: 34.05 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001121/1.141, allocations: 246 kB / 1.362 GB, free: 33.77 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.739e-05/1.142, allocations: 154 kB / 1.362 GB, free: 33.62 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.311e-05/1.142, allocations: 154.4 kB / 1.362 GB, free: 33.48 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.383e-05/1.142, allocations: 105 kB / 1.362 GB, free: 33.37 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.023e-05/1.142, allocations: 82.12 kB / 1.362 GB, free: 33.29 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.266e-05/1.142, allocations: 150.6 kB / 1.362 GB, free: 33.14 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.409e-05/1.142, allocations: 150.6 kB / 1.362 GB, free: 32.99 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.561e-05/1.142, allocations: 150.6 kB / 1.362 GB, free: 32.84 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002941/1.142, allocations: 460.1 kB / 1.363 GB, free: 32.36 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 8.782e-05/1.142, allocations: 172.9 kB / 1.363 GB, free: 32.18 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.667e-05/1.142, allocations: 84.08 kB / 1.363 GB, free: 32.1 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 2.807e-05/1.142, allocations: 75.28 kB / 1.363 GB, free: 32.02 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.736e-05/1.142, allocations: 108.6 kB / 1.363 GB, free: 31.91 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=0): time 1.433e-06/1.142, allocations: 4 kB / 1.363 GB, free: 31.91 MB / 0.8386 GB Notification: Performance of matching and sorting (n=0): time 8.509e-05/1.142, allocations: 32.14 kB / 1.363 GB, free: 31.88 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.36e-05/1.143, allocations: 126.7 kB / 1.363 GB, free: 31.74 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001189/1.143, allocations: 98.31 kB / 1.364 GB, free: 31.65 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.352e-05/1.143, allocations: 25.7 kB / 1.364 GB, free: 31.62 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 4.268e-05/1.143, allocations: 83.52 kB / 1.364 GB, free: 31.54 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 3.226e-06/1.143, allocations: 0 / 1.364 GB, free: 31.54 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.495e-06/1.143, allocations: 0 / 1.364 GB, free: 31.54 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001198/1.143, allocations: 318.8 kB / 1.364 GB, free: 31.22 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.04e-05/1.143, allocations: 6.75 kB / 1.364 GB, free: 31.21 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.688e-05/1.143, allocations: 11.38 kB / 1.364 GB, free: 31.21 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.465e-05/1.143, allocations: 10.88 kB / 1.364 GB, free: 31.21 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.924e-06/1.143, allocations: 0 / 1.364 GB, free: 31.21 MB / 0.8386 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001012/1.143, allocations: 37.33 kB / 1.364 GB, free: 31.18 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.564e-05/1.143, allocations: 3.844 kB / 1.364 GB, free: 31.18 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.953e-06/1.143, allocations: 0 / 1.364 GB, free: 31.18 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.382e-05/1.143, allocations: 3.219 kB / 1.364 GB, free: 31.18 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.32e-07/1.143, allocations: 4 kB / 1.364 GB, free: 31.18 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.334e-06/1.143, allocations: 3.781 kB / 1.364 GB, free: 31.18 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.006e-05/1.143, allocations: 0 / 1.364 GB, free: 31.18 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.919e-06/1.143, allocations: 0 / 1.364 GB, free: 31.18 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 9.551e-05/1.143, allocations: 184.1 kB / 1.364 GB, free: 30.99 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.967e-05/1.143, allocations: 118.7 kB / 1.364 GB, free: 30.87 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.294e-05/1.143, allocations: 112.2 kB / 1.364 GB, free: 30.75 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.64e-05/1.144, allocations: 190.3 kB / 1.365 GB, free: 30.57 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.656e-05/1.144, allocations: 176.3 kB / 1.365 GB, free: 30.39 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.969e-05/1.144, allocations: 176.8 kB / 1.365 GB, free: 30.21 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001736/1.144, allocations: 406.5 kB / 1.365 GB, free: 29.76 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.568e-05/1.144, allocations: 107 kB / 1.365 GB, free: 29.65 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.567e-05/1.144, allocations: 112.9 kB / 1.366 GB, free: 29.54 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.715e-05/1.144, allocations: 179.5 kB / 1.366 GB, free: 29.36 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.423e-05/1.144, allocations: 182 kB / 1.366 GB, free: 29.18 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.79e-05/1.144, allocations: 180.2 kB / 1.366 GB, free: 28.99 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.557e-05/1.144, allocations: 181.5 kB / 1.366 GB, free: 28.81 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001213/1.144, allocations: 308.6 kB / 1.367 GB, free: 28.5 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 6.069e-05/1.144, allocations: 183.6 kB / 1.367 GB, free: 28.29 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.999e-05/1.144, allocations: 181.7 kB / 1.367 GB, free: 28.11 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.613e-05/1.144, allocations: 116.4 kB / 1.367 GB, free: 28 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.664e-05/1.145, allocations: 186.8 kB / 1.367 GB, free: 27.81 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.437e-05/1.145, allocations: 105 kB / 1.367 GB, free: 27.7 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 4.706e-05/1.145, allocations: 87.61 kB / 1.367 GB, free: 27.62 MB / 0.8386 GB Notification: Performance of sort global known variables: time 2.61e-07/1.145, allocations: 0 / 1.367 GB, free: 27.62 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0002455/1.145, allocations: 3.906 kB / 1.367 GB, free: 27.62 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.0004594/1.145, allocations: 0.822 MB / 1.368 GB, free: 26.81 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 6.929e-05/1.145, allocations: 7.906 kB / 1.368 GB, free: 26.81 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.894e-06/1.145, allocations: 0 / 1.368 GB, free: 26.81 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 2.625e-06/1.145, allocations: 1.688 kB / 1.368 GB, free: 26.81 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002968/1.146, allocations: 0.5183 MB / 1.369 GB, free: 26.29 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003249/1.146, allocations: 169.1 kB / 1.369 GB, free: 26.1 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002376/1.146, allocations: 0.6815 MB / 1.369 GB, free: 25.41 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 1.852e-05/1.146, allocations: 0 / 1.369 GB, free: 25.41 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.224e-05/1.146, allocations: 9.594 kB / 1.37 GB, free: 25.4 MB / 0.8386 GB Notification: Performance of SimCode: time 4.71e-07/1.146, allocations: 0 / 1.37 GB, free: 25.4 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01344/1.16, allocations: 1.075 MB / 1.371 GB, free: 25.27 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001928/1.16, allocations: 200.2 kB / 1.371 GB, free: 25.05 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_NonzeroStart.o Buildings_9_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3_NonzeroStart.c In file included from Buildings_9_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3_NonzeroStart.c:7: In file included from ./Buildings_9_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: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_NonzeroStart_functions.o Buildings_9_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3_NonzeroStart_functions.c In file included from Buildings_9_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3_NonzeroStart_functions.c:2: In file included from ./Buildings_9_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3_NonzeroStart_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_NonzeroStart_functions.c:7: In file included from ./Buildings_9_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3_NonzeroStart_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_NonzeroStart_functions.o] Error 1