Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3_NonzeroStart.conf.json 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 7.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3_NonzeroStart,fileNamePrefix="Buildings_7_0_0_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 7.0.1/package.mo): time 2.365/2.365, allocations: 248.5 MB / 261.1 MB, free: 5.984 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001614/0.001613, allocations: 192 kB / 320.4 MB, free: 15.36 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.956/1.956, allocations: 205.2 MB / 0.571 GB, free: 11.84 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001082/0.001082, allocations: 100.7 kB / 0.6754 GB, free: 0.9258 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.631e-05/3.65e-05, allocations: 8 kB / 0.7869 GB, free: 97.84 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2381/0.2382, allocations: 106.2 MB / 0.8907 GB, free: 7.496 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8905/1.129, allocations: 131.7 MB / 1.019 GB, free: 3.613 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002879/1.129, allocations: 76.77 kB / 1.019 GB, free: 3.57 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.009531/1.139, allocations: 2.299 MB / 1.022 GB, free: 1.84 MB / 0.6355 GB Notification: Performance of FrontEnd: time 3.407e-06/1.139, allocations: 8 kB / 1.022 GB, free: 1.832 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 7.253e-06/1.139, allocations: 0 / 1.022 GB, free: 1.832 MB / 0.6355 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.0003311/1.139, allocations: 330.4 kB / 1.022 GB, free: 1.469 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.315e-05/1.139, allocations: 12.03 kB / 1.022 GB, free: 1.457 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.643e-05/1.139, allocations: 109.8 kB / 1.022 GB, free: 1.34 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.809e-05/1.139, allocations: 75.28 kB / 1.022 GB, free: 1.266 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001914/1.139, allocations: 243.1 kB / 1.022 GB, free: 0.9883 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.48e-05/1.14, allocations: 158.6 kB / 1.022 GB, free: 0.832 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.765e-05/1.14, allocations: 150.6 kB / 1.023 GB, free: 0.6836 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.617e-05/1.14, allocations: 105 kB / 1.023 GB, free: 0.5742 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.14e-05/1.14, allocations: 75.28 kB / 1.023 GB, free: 0.5 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.208e-05/1.14, allocations: 150.6 kB / 1.023 GB, free: 360 kB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.194e-05/1.14, allocations: 154.4 kB / 1.023 GB, free: 208 kB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.249e-05/1.14, allocations: 162.5 kB / 1.023 GB, free: 44 kB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003836/1.14, allocations: 453.7 kB / 1.024 GB, free: 15.55 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 9.94e-05/1.14, allocations: 165.1 kB / 1.024 GB, free: 15.38 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.461e-05/1.141, allocations: 82.58 kB / 1.024 GB, free: 15.3 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 4.259e-05/1.141, allocations: 79.28 kB / 1.024 GB, free: 15.22 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.11e-05/1.141, allocations: 109.8 kB / 1.024 GB, free: 15.11 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=0): time 1.803e-06/1.141, allocations: 0 / 1.024 GB, free: 15.11 MB / 0.6511 GB Notification: Performance of matching and sorting (n=0): time 8.904e-05/1.141, allocations: 37.02 kB / 1.024 GB, free: 15.07 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.786e-05/1.141, allocations: 126.7 kB / 1.024 GB, free: 14.93 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001294/1.141, allocations: 99.41 kB / 1.024 GB, free: 14.83 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 1.965e-05/1.141, allocations: 25.7 kB / 1.024 GB, free: 14.8 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 5.359e-05/1.141, allocations: 88.12 kB / 1.024 GB, free: 14.71 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 4.158e-06/1.141, allocations: 0 / 1.024 GB, free: 14.71 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.454e-06/1.141, allocations: 3.938 kB / 1.024 GB, free: 14.7 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001324/1.141, allocations: 322.6 kB / 1.025 GB, free: 14.38 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.927e-05/1.141, allocations: 0 / 1.025 GB, free: 14.38 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.302e-05/1.141, allocations: 8 kB / 1.025 GB, free: 14.38 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.831e-05/1.141, allocations: 7.984 kB / 1.025 GB, free: 14.37 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/1.141, allocations: 0 / 1.025 GB, free: 14.37 MB / 0.6511 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001304/1.142, allocations: 45.73 kB / 1.025 GB, free: 14.32 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.779e-05/1.142, allocations: 4 kB / 1.025 GB, free: 14.31 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.703e-06/1.142, allocations: 0 / 1.025 GB, free: 14.31 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.387e-05/1.142, allocations: 0 / 1.025 GB, free: 14.31 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.463e-06/1.142, allocations: 0 / 1.025 GB, free: 14.31 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.991e-06/1.142, allocations: 3.938 kB / 1.025 GB, free: 14.31 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001212/1.142, allocations: 7.984 kB / 1.025 GB, free: 14.3 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.264e-05/1.142, allocations: 0 / 1.025 GB, free: 14.3 MB / 0.6511 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.0001586/1.142, allocations: 183.2 kB / 1.025 GB, free: 14.12 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.32e-05/1.142, allocations: 109 kB / 1.025 GB, free: 14 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.556e-05/1.142, allocations: 109.2 kB / 1.025 GB, free: 13.89 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.751e-05/1.142, allocations: 180.2 kB / 1.025 GB, free: 13.71 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.283e-05/1.142, allocations: 187.2 kB / 1.026 GB, free: 13.52 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.586e-05/1.142, allocations: 180.3 kB / 1.026 GB, free: 13.34 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002966/1.143, allocations: 413 kB / 1.026 GB, free: 12.88 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.128e-05/1.143, allocations: 105.2 kB / 1.026 GB, free: 12.77 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.613e-05/1.143, allocations: 105 kB / 1.026 GB, free: 12.66 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.044e-05/1.143, allocations: 180.2 kB / 1.027 GB, free: 12.48 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.893e-05/1.143, allocations: 180.3 kB / 1.027 GB, free: 12.29 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.989e-05/1.143, allocations: 180.2 kB / 1.027 GB, free: 12.11 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.726e-05/1.143, allocations: 187.9 kB / 1.027 GB, free: 11.92 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001664/1.143, allocations: 299.8 kB / 1.027 GB, free: 11.61 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001167/1.143, allocations: 197.2 kB / 1.028 GB, free: 11.39 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.822e-05/1.144, allocations: 176.3 kB / 1.028 GB, free: 11.21 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001048/1.144, allocations: 108.9 kB / 1.028 GB, free: 11.1 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.239e-05/1.144, allocations: 177.2 kB / 1.028 GB, free: 10.92 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.118e-05/1.144, allocations: 108.9 kB / 1.028 GB, free: 10.8 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 7.359e-05/1.144, allocations: 86.89 kB / 1.028 GB, free: 10.72 MB / 0.6511 GB Notification: Performance of sort global known variables: time 4.71e-07/1.144, allocations: 0 / 1.028 GB, free: 10.72 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0002904/1.144, allocations: 4 kB / 1.028 GB, free: 10.72 MB / 0.6511 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.0005907/1.145, allocations: 0.8231 MB / 1.029 GB, free: 9.867 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 8.857e-05/1.145, allocations: 7.938 kB / 1.029 GB, free: 9.859 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.485e-06/1.145, allocations: 0 / 1.029 GB, free: 9.859 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 3.497e-06/1.145, allocations: 7.438 kB / 1.029 GB, free: 9.855 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003428/1.145, allocations: 0.5211 MB / 1.029 GB, free: 9.332 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004091/1.146, allocations: 161.9 kB / 1.03 GB, free: 9.141 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003364/1.146, allocations: 0.677 MB / 1.03 GB, free: 8.438 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 2.659e-05/1.146, allocations: 7.938 kB / 1.03 GB, free: 8.43 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.557e-05/1.146, allocations: 8 kB / 1.03 GB, free: 8.422 MB / 0.6511 GB Notification: Performance of SimCode: time 9.32e-07/1.146, allocations: 0 / 1.03 GB, free: 8.422 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02556/1.172, allocations: 1.078 MB / 1.031 GB, free: 7.531 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002239/1.172, allocations: 213.8 kB / 1.032 GB, free: 7.297 MB / 0.6511 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 7.0.1/Resources/C-Sources" -c -o Buildings_7_0_0_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3_NonzeroStart.o Buildings_7_0_0_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3_NonzeroStart.c In file included from Buildings_7_0_0_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3_NonzeroStart.c:7: In file included from ./Buildings_7_0_0_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 -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 7.0.1/Resources/C-Sources" -c -o Buildings_7_0_0_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3_NonzeroStart_functions.o Buildings_7_0_0_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3_NonzeroStart_functions.c In file included from Buildings_7_0_0_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3_NonzeroStart_functions.c:2: In file included from ./Buildings_7_0_0_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_7_0_0_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3_NonzeroStart_functions.c:7: In file included from ./Buildings_7_0_0_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3_NonzeroStart_includes.h:4: /home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/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_7_0_0_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3_NonzeroStart_functions.o' failed make: *** [Buildings_7_0_0_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3_NonzeroStart_functions.o] Error 1