Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3_NonzeroStart.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) 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 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3_NonzeroStart,fileNamePrefix="Buildings_8_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3_NonzeroStart",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3_NonzeroStart,fileNamePrefix="Buildings_8_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 8.1.4-maint.8.1.x/package.mo): time 1.648/1.648, allocations: 292.6 MB / 307.5 MB, free: 5.211 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001154/0.001154, allocations: 183.9 kB / 377.1 MB, free: 1.535 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.775/1.775, allocations: 205.4 MB / 0.6366 GB, free: 8.566 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008968/0.0008966, allocations: 91.41 kB / 0.7509 GB, free: 62.88 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003842/0.0003839, allocations: 16 kB / 0.8749 GB, free: 11.11 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3017/0.3021, allocations: 116.3 MB / 0.9884 GB, free: 6.652 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8137/1.116, allocations: 139.2 MB / 1.124 GB, free: 35.44 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002587/1.116, allocations: 83.33 kB / 1.124 GB, free: 35.38 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.005506/1.122, allocations: 2.48 MB / 1.127 GB, free: 33.44 MB / 0.7292 GB Notification: Performance of FrontEnd: time 2.074e-06/1.122, allocations: 0.8438 kB / 1.127 GB, free: 33.44 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 6.963e-06/1.122, allocations: 0 / 1.127 GB, free: 33.44 MB / 0.7292 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.0002559/1.122, allocations: 329.3 kB / 1.127 GB, free: 33.07 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.529e-05/1.122, allocations: 19.95 kB / 1.127 GB, free: 33.05 MB / 0.7292 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.395e-05/1.122, allocations: 107.1 kB / 1.127 GB, free: 32.94 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.618e-05/1.122, allocations: 82.19 kB / 1.127 GB, free: 32.86 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001009/1.122, allocations: 242.5 kB / 1.128 GB, free: 32.59 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.095e-05/1.122, allocations: 155.6 kB / 1.128 GB, free: 32.44 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.961e-05/1.122, allocations: 155 kB / 1.128 GB, free: 32.29 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.024e-05/1.122, allocations: 102.3 kB / 1.128 GB, free: 32.18 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.554e-05/1.122, allocations: 77.53 kB / 1.128 GB, free: 32.11 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.317e-05/1.122, allocations: 151.8 kB / 1.128 GB, free: 31.96 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.309e-05/1.122, allocations: 153.9 kB / 1.128 GB, free: 31.81 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.511e-05/1.122, allocations: 158.5 kB / 1.129 GB, free: 31.66 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001911/1.123, allocations: 445.8 kB / 1.129 GB, free: 31.18 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 5.176e-05/1.123, allocations: 174.7 kB / 1.129 GB, free: 31 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 1.479e-05/1.123, allocations: 79.28 kB / 1.129 GB, free: 30.92 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.483e-05/1.123, allocations: 113 kB / 1.129 GB, free: 30.8 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=0): time 7.71e-07/1.123, allocations: 3.938 kB / 1.129 GB, free: 30.8 MB / 0.7292 GB Notification: Performance of matching and sorting (n=0): time 7.208e-05/1.123, allocations: 32.11 kB / 1.129 GB, free: 30.77 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.562e-05/1.123, allocations: 126.7 kB / 1.129 GB, free: 30.63 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.739e-05/1.123, allocations: 101 kB / 1.13 GB, free: 30.53 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 1.051e-05/1.123, allocations: 25.7 kB / 1.13 GB, free: 30.5 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 2.392e-05/1.123, allocations: 84.14 kB / 1.13 GB, free: 30.41 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 2.094e-06/1.123, allocations: 0 / 1.13 GB, free: 30.41 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.865e-06/1.123, allocations: 0.5625 kB / 1.13 GB, free: 30.41 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 6.696e-05/1.123, allocations: 310.8 kB / 1.13 GB, free: 30.1 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.546e-05/1.123, allocations: 8 kB / 1.13 GB, free: 30.09 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.255e-05/1.123, allocations: 7.562 kB / 1.13 GB, free: 30.09 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.004e-05/1.123, allocations: 8.094 kB / 1.13 GB, free: 30.08 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/1.123, allocations: 0 / 1.13 GB, free: 30.08 MB / 0.7292 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001028/1.123, allocations: 53.61 kB / 1.13 GB, free: 30.02 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.412e-05/1.123, allocations: 4.938 kB / 1.13 GB, free: 30.02 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.13e-06/1.123, allocations: 0 / 1.13 GB, free: 30.02 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.382e-05/1.123, allocations: 4 kB / 1.13 GB, free: 30.02 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.003e-06/1.123, allocations: 0.8125 kB / 1.13 GB, free: 30.02 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.38e-06/1.123, allocations: 0 / 1.13 GB, free: 30.02 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.346e-05/1.123, allocations: 8.359 kB / 1.13 GB, free: 30.01 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.056e-05/1.123, allocations: 4 kB / 1.13 GB, free: 30.01 MB / 0.7292 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 6.474e-05/1.124, allocations: 189.2 kB / 1.13 GB, free: 29.81 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.551e-05/1.124, allocations: 104.9 kB / 1.13 GB, free: 29.7 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.604e-05/1.124, allocations: 115.9 kB / 1.13 GB, free: 29.59 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.663e-05/1.124, allocations: 178.3 kB / 1.131 GB, free: 29.41 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.748e-05/1.124, allocations: 181.1 kB / 1.131 GB, free: 29.23 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.523e-05/1.124, allocations: 184.3 kB / 1.131 GB, free: 29.04 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001314/1.124, allocations: 404.8 kB / 1.131 GB, free: 28.59 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.833e-05/1.124, allocations: 108.9 kB / 1.131 GB, free: 28.48 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.58e-05/1.124, allocations: 104.5 kB / 1.132 GB, free: 28.37 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.573e-05/1.124, allocations: 189.1 kB / 1.132 GB, free: 28.18 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.765e-05/1.124, allocations: 177 kB / 1.132 GB, free: 28 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.494e-05/1.124, allocations: 188.2 kB / 1.132 GB, free: 27.81 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.245e-05/1.124, allocations: 176.3 kB / 1.132 GB, free: 27.63 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.894e-05/1.124, allocations: 307.2 kB / 1.133 GB, free: 27.31 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 4.261e-05/1.124, allocations: 182 kB / 1.133 GB, free: 27.11 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.982e-05/1.124, allocations: 196.1 kB / 1.133 GB, free: 26.91 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.066e-05/1.124, allocations: 101 kB / 1.133 GB, free: 26.8 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.076e-05/1.124, allocations: 177.3 kB / 1.133 GB, free: 26.62 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.585e-05/1.124, allocations: 108.9 kB / 1.133 GB, free: 26.51 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 2.819e-05/1.124, allocations: 88.39 kB / 1.133 GB, free: 26.43 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.3e-07/1.124, allocations: 0 / 1.133 GB, free: 26.43 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.000221/1.125, allocations: 8 kB / 1.133 GB, free: 26.42 MB / 0.7292 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.0003345/1.125, allocations: 0.815 MB / 1.134 GB, free: 25.59 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 6.71e-05/1.125, allocations: 7.938 kB / 1.134 GB, free: 25.58 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.245e-06/1.125, allocations: 0 / 1.134 GB, free: 25.58 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 1.533e-06/1.125, allocations: 4.062 kB / 1.134 GB, free: 25.57 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001904/1.125, allocations: 0.5319 MB / 1.135 GB, free: 25.04 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004054/1.126, allocations: 377.9 kB / 1.135 GB, free: 24.63 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001113/1.126, allocations: 0.6765 MB / 1.136 GB, free: 23.93 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 1.816e-05/1.126, allocations: 0 / 1.136 GB, free: 23.93 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.804e-05/1.126, allocations: 7.438 kB / 1.136 GB, free: 23.93 MB / 0.7292 GB Notification: Performance of SimCode: time 2.41e-07/1.126, allocations: 0 / 1.136 GB, free: 23.93 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01417/1.14, allocations: 1.063 MB / 1.137 GB, free: 23.41 MB / 0.7292 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001691/1.14, allocations: 228.1 kB / 1.137 GB, free: 23.17 MB / 0.7292 GB Error: Error building simulator. Build log: clang -Os -fPIC -falign-functions -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 8.1.4-maint.8.1.x/Resources/C-Sources" -c -o Buildings_8_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3_NonzeroStart.o Buildings_8_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3_NonzeroStart.c In file included from Buildings_8_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3_NonzeroStart.c:7: In file included from ./Buildings_8_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 -falign-functions -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 8.1.4-maint.8.1.x/Resources/C-Sources" -c -o Buildings_8_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3_NonzeroStart_functions.o Buildings_8_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3_NonzeroStart_functions.c In file included from Buildings_8_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3_NonzeroStart_functions.c:2: In file included from ./Buildings_8_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_8_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3_NonzeroStart_functions.c:7: In file included from ./Buildings_8_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3_NonzeroStart_includes.h:4: /home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.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_8_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3_NonzeroStart_functions.o] Error 1