Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3,fileNamePrefix="Buildings_8_0_0_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3,fileNamePrefix="Buildings_8_0_0_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 8.0.0/package.mo): time 2.415/2.415, allocations: 284.7 MB / 297.2 MB, free: 6.363 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.001536/0.001535, allocations: 180.9 kB / 365.6 MB, free: 2.621 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.243/2.243, allocations: 205.1 MB / 0.624 GB, free: 8.207 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.00102/0.00102, allocations: 100.2 kB / 0.7371 GB, free: 40.81 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.579e-05/3.591e-05, allocations: 4 kB / 0.8574 GB, free: 13.67 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8627/0.8627, allocations: 115.2 MB / 0.97 GB, free: 78.04 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2574/1.12, allocations: 137.8 MB / 1.105 GB, free: 14.55 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003282/1.121, allocations: 85.53 kB / 1.105 GB, free: 14.46 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.008587/1.129, allocations: 2.098 MB / 1.107 GB, free: 12.38 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.633e-06/1.129, allocations: 0 / 1.107 GB, free: 12.38 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 6.883e-06/1.129, allocations: 1.656 kB / 1.107 GB, free: 12.38 MB / 0.7136 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.0003357/1.13, allocations: 326.5 kB / 1.107 GB, free: 12.02 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.93e-05/1.13, allocations: 8.031 kB / 1.107 GB, free: 12.01 MB / 0.7136 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.096e-05/1.13, allocations: 113.2 kB / 1.107 GB, free: 11.89 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.457e-05/1.13, allocations: 80.47 kB / 1.107 GB, free: 11.82 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001924/1.13, allocations: 252.9 kB / 1.107 GB, free: 11.53 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.094e-05/1.13, allocations: 150.6 kB / 1.108 GB, free: 11.38 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.791e-05/1.13, allocations: 150.6 kB / 1.108 GB, free: 11.23 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.798e-05/1.13, allocations: 108.7 kB / 1.108 GB, free: 11.12 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.286e-05/1.13, allocations: 75.28 kB / 1.108 GB, free: 11.05 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.041e-05/1.13, allocations: 150.6 kB / 1.108 GB, free: 10.9 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.408e-05/1.131, allocations: 150.6 kB / 1.108 GB, free: 10.75 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.003e-05/1.131, allocations: 158.5 kB / 1.108 GB, free: 10.6 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003667/1.131, allocations: 454.8 kB / 1.109 GB, free: 10.11 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 9.956e-05/1.131, allocations: 170.8 kB / 1.109 GB, free: 9.93 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.937e-05/1.131, allocations: 80.83 kB / 1.109 GB, free: 9.848 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 3.914e-05/1.131, allocations: 77.72 kB / 1.109 GB, free: 9.773 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.28e-05/1.131, allocations: 117.8 kB / 1.109 GB, free: 9.648 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=0): time 4.729e-06/1.131, allocations: 0 / 1.109 GB, free: 9.648 MB / 0.7136 GB Notification: Performance of matching and sorting (n=0): time 9.157e-05/1.131, allocations: 29.64 kB / 1.109 GB, free: 9.613 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.527e-05/1.131, allocations: 127.5 kB / 1.109 GB, free: 9.477 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001353/1.132, allocations: 98.44 kB / 1.109 GB, free: 9.375 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 2.807e-05/1.132, allocations: 27.58 kB / 1.109 GB, free: 9.344 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 5.142e-05/1.132, allocations: 84.14 kB / 1.11 GB, free: 9.258 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.665e-06/1.132, allocations: 0 / 1.11 GB, free: 9.258 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.465e-06/1.132, allocations: 0 / 1.11 GB, free: 9.258 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001453/1.132, allocations: 319.5 kB / 1.11 GB, free: 8.938 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.213e-05/1.132, allocations: 4.812 kB / 1.11 GB, free: 8.934 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.838e-05/1.132, allocations: 4 kB / 1.11 GB, free: 8.93 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.163e-05/1.132, allocations: 13.66 kB / 1.11 GB, free: 8.918 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.824e-06/1.132, allocations: 0 / 1.11 GB, free: 8.918 MB / 0.7136 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001453/1.132, allocations: 41.64 kB / 1.11 GB, free: 8.871 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.81e-05/1.132, allocations: 4.875 kB / 1.11 GB, free: 8.867 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.124e-06/1.132, allocations: 0 / 1.11 GB, free: 8.867 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.745e-05/1.132, allocations: 10.72 kB / 1.11 GB, free: 8.863 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.563e-06/1.132, allocations: 0 / 1.11 GB, free: 8.863 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.251e-06/1.132, allocations: 0 / 1.11 GB, free: 8.863 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001161/1.132, allocations: 3.984 kB / 1.11 GB, free: 8.859 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.253e-05/1.132, allocations: 0 / 1.11 GB, free: 8.859 MB / 0.7136 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 0.0001103/1.133, allocations: 184.2 kB / 1.11 GB, free: 8.672 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.511e-05/1.133, allocations: 109.5 kB / 1.11 GB, free: 8.559 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.15e-05/1.133, allocations: 116.2 kB / 1.11 GB, free: 8.434 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.012e-05/1.133, allocations: 180.2 kB / 1.11 GB, free: 8.25 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.034e-05/1.133, allocations: 183.7 kB / 1.111 GB, free: 8.066 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.183e-05/1.133, allocations: 180.3 kB / 1.111 GB, free: 7.883 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003134/1.133, allocations: 416.2 kB / 1.111 GB, free: 7.422 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.313e-05/1.133, allocations: 104.9 kB / 1.111 GB, free: 7.312 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.806e-05/1.133, allocations: 105 kB / 1.111 GB, free: 7.203 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.086e-05/1.134, allocations: 180.2 kB / 1.112 GB, free: 7.02 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.627e-05/1.134, allocations: 180.3 kB / 1.112 GB, free: 6.836 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.051e-05/1.134, allocations: 187.6 kB / 1.112 GB, free: 6.648 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.337e-05/1.134, allocations: 180.3 kB / 1.112 GB, free: 6.465 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001777/1.134, allocations: 303.8 kB / 1.112 GB, free: 6.145 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001229/1.134, allocations: 186.2 kB / 1.113 GB, free: 5.938 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001051/1.134, allocations: 184.2 kB / 1.113 GB, free: 5.75 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001112/1.134, allocations: 108.9 kB / 1.113 GB, free: 5.637 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.715e-05/1.135, allocations: 177.2 kB / 1.113 GB, free: 5.457 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.027e-05/1.135, allocations: 104.9 kB / 1.113 GB, free: 5.348 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 9.231e-05/1.135, allocations: 87.27 kB / 1.113 GB, free: 5.262 MB / 0.7136 GB Notification: Performance of sort global known variables: time 4.91e-07/1.135, allocations: 4 kB / 1.113 GB, free: 5.258 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0002986/1.135, allocations: 8 kB / 1.113 GB, free: 5.25 MB / 0.7136 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.0006526/1.136, allocations: 0.8108 MB / 1.114 GB, free: 4.414 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 9.502e-05/1.136, allocations: 11.94 kB / 1.114 GB, free: 4.402 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 3.286e-06/1.136, allocations: 4.062 kB / 1.114 GB, free: 4.398 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 2.705e-06/1.136, allocations: 0 / 1.114 GB, free: 4.398 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003739/1.136, allocations: 0.52 MB / 1.115 GB, free: 3.875 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004374/1.137, allocations: 160.3 kB / 1.115 GB, free: 3.684 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00032/1.137, allocations: 0.677 MB / 1.115 GB, free: 2.98 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 2.723e-05/1.137, allocations: 8 kB / 1.115 GB, free: 2.973 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.13e-05/1.137, allocations: 7.438 kB / 1.115 GB, free: 2.965 MB / 0.7136 GB Notification: Performance of SimCode: time 1.293e-06/1.137, allocations: 0 / 1.115 GB, free: 2.965 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02604/1.163, allocations: 1.064 MB / 1.116 GB, free: 2.133 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003231/1.163, allocations: 191.3 kB / 1.117 GB, free: 1.906 MB / 0.7136 GB Error: Error building simulator. Build log: clang -Os -fPIC -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 8.0.0/Resources/C-Sources" -c -o Buildings_8_0_0_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3.o Buildings_8_0_0_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3.c In file included from Buildings_8_0_0_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3.c:7: In file included from ./Buildings_8_0_0_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 -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 8.0.0/Resources/C-Sources" -c -o Buildings_8_0_0_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3_functions.o Buildings_8_0_0_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3_functions.c In file included from Buildings_8_0_0_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3_functions.c:2: In file included from ./Buildings_8_0_0_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_8_0_0_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3_functions.c:7: In file included from ./Buildings_8_0_0_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3_includes.h:4: /home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/Resources/C-Sources/getTimeSpan.c:6:10: fatal error: 'ModelicaUtilities.h' file not found #include ^~~~~~~~~~~~~~~~~~~~~ 2 warnings and 1 error generated. : recipe for target 'Buildings_8_0_0_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3_functions.o' failed make: *** [Buildings_8_0_0_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3_functions.o] Error 1