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.295/2.295, allocations: 390.3 MB / 405.3 MB, free: 13.36 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.001194/0.001194, allocations: 178.8 kB / 498.1 MB, free: 5.586 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.447/1.447, allocations: 223.1 MB / 0.7948 GB, free: 17.95 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.0009858/0.0009857, allocations: 100.4 kB / 0.9346 GB, free: 6.211 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003943/0.0003944, allocations: 11.12 kB / 1.084 GB, free: 221 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2326/0.233, allocations: 142.3 MB / 1.223 GB, free: 114.2 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1703/0.4034, allocations: 149.5 MB / 1.369 GB, free: 12.47 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002532/0.4037, allocations: 87.95 kB / 1.369 GB, free: 12.38 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.006341/0.41, allocations: 2.511 MB / 1.371 GB, free: 9.863 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.953e-06/0.41, allocations: 0 / 1.371 GB, free: 9.863 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 5.029e-06/0.4101, allocations: 0 / 1.371 GB, free: 9.863 MB / 0.8698 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.000296/0.4104, allocations: 327.3 kB / 1.372 GB, free: 9.496 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.287e-05/0.4104, allocations: 8.031 kB / 1.372 GB, free: 9.488 MB / 0.8698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.2e-05/0.4105, allocations: 105.8 kB / 1.372 GB, free: 9.375 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.439e-05/0.4105, allocations: 79.28 kB / 1.372 GB, free: 9.297 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001493/0.4107, allocations: 246.3 kB / 1.372 GB, free: 9.016 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.428e-05/0.4108, allocations: 154.5 kB / 1.372 GB, free: 8.863 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.216e-05/0.4108, allocations: 158.5 kB / 1.373 GB, free: 8.707 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.485e-05/0.4109, allocations: 101 kB / 1.373 GB, free: 8.602 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.001e-05/0.4109, allocations: 75.28 kB / 1.373 GB, free: 8.527 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.54e-05/0.411, allocations: 150.6 kB / 1.373 GB, free: 8.379 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.632e-05/0.4111, allocations: 158.5 kB / 1.373 GB, free: 8.223 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.896e-05/0.4111, allocations: 150.6 kB / 1.373 GB, free: 8.074 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002962/0.4114, allocations: 453.9 kB / 1.374 GB, free: 7.582 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 8.158e-05/0.4115, allocations: 174.1 kB / 1.374 GB, free: 7.402 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.805e-05/0.4116, allocations: 83.28 kB / 1.374 GB, free: 7.32 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.246e-05/0.4116, allocations: 105.8 kB / 1.374 GB, free: 7.207 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=0): time 1.102e-06/0.4116, allocations: 0 / 1.374 GB, free: 7.207 MB / 0.8698 GB Notification: Performance of matching and sorting (n=0): time 7.352e-05/0.4117, allocations: 25.7 kB / 1.374 GB, free: 7.176 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.159e-05/0.4118, allocations: 130.6 kB / 1.374 GB, free: 7.035 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001138/0.4119, allocations: 104.9 kB / 1.374 GB, free: 6.926 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 1.357e-05/0.4119, allocations: 33.64 kB / 1.374 GB, free: 6.887 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 4.051e-05/0.4119, allocations: 88.12 kB / 1.374 GB, free: 6.797 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 2.264e-06/0.4119, allocations: 0 / 1.374 GB, free: 6.797 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.763e-06/0.412, allocations: 0 / 1.374 GB, free: 6.797 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001152/0.4121, allocations: 314.8 kB / 1.375 GB, free: 6.48 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.805e-05/0.4121, allocations: 4 kB / 1.375 GB, free: 6.477 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.904e-05/0.4121, allocations: 11.98 kB / 1.375 GB, free: 6.465 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.111e-05/0.4122, allocations: 4 kB / 1.375 GB, free: 6.461 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.833e-06/0.4122, allocations: 4.094 kB / 1.375 GB, free: 6.457 MB / 0.8698 GB Notification: Performance of matching and sorting (n=2) (initialization): time 9.865e-05/0.4123, allocations: 41.69 kB / 1.375 GB, free: 6.41 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.406e-05/0.4123, allocations: 4 kB / 1.375 GB, free: 6.406 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.072e-06/0.4123, allocations: 0 / 1.375 GB, free: 6.406 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.481e-05/0.4123, allocations: 0 / 1.375 GB, free: 6.406 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.986e-06/0.4123, allocations: 256 / 1.375 GB, free: 6.406 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.593e-06/0.4123, allocations: 7.938 kB / 1.375 GB, free: 6.398 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.417e-05/0.4124, allocations: 7.938 kB / 1.375 GB, free: 6.391 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.869e-06/0.4124, allocations: 0 / 1.375 GB, free: 6.391 MB / 0.8698 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.0001091/0.4126, allocations: 201.1 kB / 1.375 GB, free: 6.184 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.843e-05/0.4126, allocations: 105 kB / 1.375 GB, free: 6.074 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.892e-05/0.4127, allocations: 112.3 kB / 1.375 GB, free: 5.953 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.028e-05/0.4128, allocations: 180.2 kB / 1.375 GB, free: 5.77 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.55e-05/0.4128, allocations: 180.2 kB / 1.375 GB, free: 5.586 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.231e-05/0.4129, allocations: 184.2 kB / 1.376 GB, free: 5.398 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002154/0.4131, allocations: 409.2 kB / 1.376 GB, free: 4.941 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.191e-05/0.4132, allocations: 105 kB / 1.376 GB, free: 4.832 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.434e-05/0.4132, allocations: 108.9 kB / 1.376 GB, free: 4.719 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.964e-05/0.4133, allocations: 180.3 kB / 1.376 GB, free: 4.535 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.477e-05/0.4133, allocations: 184.1 kB / 1.377 GB, free: 4.348 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.483e-05/0.4134, allocations: 180.3 kB / 1.377 GB, free: 4.164 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.885e-05/0.4135, allocations: 188.2 kB / 1.377 GB, free: 3.973 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001386/0.4136, allocations: 299.8 kB / 1.377 GB, free: 3.656 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001039/0.4137, allocations: 189.9 kB / 1.377 GB, free: 3.445 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.246e-05/0.4138, allocations: 180.2 kB / 1.378 GB, free: 3.262 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.764e-05/0.4139, allocations: 116.9 kB / 1.378 GB, free: 3.141 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.945e-05/0.414, allocations: 176.3 kB / 1.378 GB, free: 2.961 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.315e-05/0.414, allocations: 105.8 kB / 1.378 GB, free: 2.852 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 4.423e-05/0.4141, allocations: 87.2 kB / 1.378 GB, free: 2.766 MB / 0.8698 GB Notification: Performance of sort global known variables: time 1.5e-07/0.4141, allocations: 0 / 1.378 GB, free: 2.766 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0002306/0.4143, allocations: 4 kB / 1.378 GB, free: 2.762 MB / 0.8698 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.0005038/0.4148, allocations: 0.8251 MB / 1.379 GB, free: 1.906 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 6.747e-05/0.4149, allocations: 4 kB / 1.379 GB, free: 1.902 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.4149, allocations: 0 / 1.379 GB, free: 1.902 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 2.495e-06/0.4149, allocations: 0 / 1.379 GB, free: 1.902 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002975/0.4152, allocations: 0.5317 MB / 1.379 GB, free: 1.367 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004785/0.4157, allocations: 366.9 kB / 1.38 GB, free: 0.9609 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002585/0.416, allocations: 0.6848 MB / 1.38 GB, free: 256 kB / 0.8698 GB Notification: Performance of simCode: alias equations: time 1.694e-05/0.416, allocations: 0 / 1.38 GB, free: 256 kB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.08e-05/0.4161, allocations: 7.438 kB / 1.38 GB, free: 248 kB / 0.8698 GB Notification: Performance of SimCode: time 2.6e-07/0.4161, allocations: 0 / 1.38 GB, free: 248 kB / 0.8698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01324/0.4293, allocations: 1.062 MB / 1.381 GB, free: 15.4 MB / 0.8855 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001798/0.4295, allocations: 242.4 kB / 1.382 GB, free: 15.14 MB / 0.8855 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 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: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 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: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_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