Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader.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.GetTimeSpanTMY3LongHeader,fileNamePrefix="Buildings_8_0_0_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3LongHeader",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader,fileNamePrefix="Buildings_8_0_0_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3LongHeader",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.607/2.607, allocations: 287.3 MB / 302.3 MB, free: 8.297 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.001607/0.001607, allocations: 179.3 kB / 370.8 MB, free: 10.89 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.132/2.132, allocations: 205.4 MB / 0.6295 GB, free: 10.65 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.00115/0.001149, allocations: 92.11 kB / 0.7428 GB, free: 6.656 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004936/0.0004935, allocations: 11.91 kB / 0.8657 GB, free: 140.2 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2237/0.2242, allocations: 115.3 MB / 0.9783 GB, free: 28.33 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.889/1.113, allocations: 137.7 MB / 1.113 GB, free: 15.51 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002928/1.114, allocations: 83.67 kB / 1.113 GB, free: 15.51 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.005585/1.119, allocations: 1.718 MB / 1.114 GB, free: 31.16 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.154e-06/1.119, allocations: 2.281 kB / 1.114 GB, free: 31.16 MB / 0.698 GB Notification: Performance of Transformations before backend: time 6.833e-06/1.119, allocations: 3.969 kB / 1.114 GB, free: 31.16 MB / 0.698 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.0003124/1.12, allocations: 332.6 kB / 1.115 GB, free: 30.8 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.487e-05/1.12, allocations: 15.27 kB / 1.115 GB, free: 30.8 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.99e-05/1.12, allocations: 109.8 kB / 1.115 GB, free: 30.68 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.234e-05/1.12, allocations: 79.86 kB / 1.115 GB, free: 30.61 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001534/1.12, allocations: 244.3 kB / 1.115 GB, free: 30.33 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.517e-05/1.12, allocations: 155.3 kB / 1.115 GB, free: 30.18 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.253e-05/1.12, allocations: 154.5 kB / 1.116 GB, free: 30.03 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.377e-05/1.12, allocations: 102.3 kB / 1.116 GB, free: 29.93 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.86e-05/1.12, allocations: 79.28 kB / 1.116 GB, free: 29.85 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.6e-05/1.12, allocations: 150.6 kB / 1.116 GB, free: 29.7 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.3e-05/1.12, allocations: 150.6 kB / 1.116 GB, free: 29.55 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.415e-05/1.12, allocations: 154.5 kB / 1.116 GB, free: 29.4 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002909/1.121, allocations: 448.7 kB / 1.117 GB, free: 28.92 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 7.781e-05/1.121, allocations: 173.1 kB / 1.117 GB, free: 28.74 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 3.001e-05/1.121, allocations: 79.12 kB / 1.117 GB, free: 28.67 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.212e-05/1.121, allocations: 107.2 kB / 1.117 GB, free: 28.55 MB / 0.698 GB Notification: Performance of pre-optimization done (n=0): time 1.413e-06/1.121, allocations: 3.938 kB / 1.117 GB, free: 28.55 MB / 0.698 GB Notification: Performance of matching and sorting (n=0): time 8.097e-05/1.121, allocations: 29.52 kB / 1.117 GB, free: 28.52 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.203e-05/1.121, allocations: 134.6 kB / 1.117 GB, free: 28.38 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001034/1.121, allocations: 95.64 kB / 1.117 GB, free: 28.29 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.533e-05/1.121, allocations: 25.7 kB / 1.117 GB, free: 28.25 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 4.817e-05/1.121, allocations: 80.14 kB / 1.117 GB, free: 28.17 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 1.923e-06/1.121, allocations: 0 / 1.117 GB, free: 28.17 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.91e-07/1.121, allocations: 0 / 1.117 GB, free: 28.17 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001137/1.121, allocations: 315.7 kB / 1.118 GB, free: 27.86 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.989e-06/1.121, allocations: 3.844 kB / 1.118 GB, free: 27.86 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.583e-05/1.121, allocations: 0 / 1.118 GB, free: 27.86 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.581e-05/1.122, allocations: 79.31 kB / 1.118 GB, free: 27.78 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.965e-05/1.122, allocations: 80.92 kB / 1.118 GB, free: 27.7 MB / 0.698 GB Notification: Performance of matching and sorting (n=0) (initialization): time 6.386e-05/1.122, allocations: 37.45 kB / 1.118 GB, free: 27.66 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 3.951e-05/1.122, allocations: 79.12 kB / 1.118 GB, free: 27.59 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.226e-05/1.122, allocations: 80.53 kB / 1.118 GB, free: 27.51 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.118e-05/1.122, allocations: 158.5 kB / 1.118 GB, free: 27.36 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.109e-05/1.122, allocations: 83.83 kB / 1.118 GB, free: 27.28 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.377e-05/1.122, allocations: 156.7 kB / 1.118 GB, free: 27.13 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001442/1.122, allocations: 79.16 kB / 1.118 GB, free: 27.05 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.304e-05/1.122, allocations: 83.22 kB / 1.118 GB, free: 26.97 MB / 0.698 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 (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 prepare postOptimizeDAE: time 0.0001264/1.122, allocations: 257.8 kB / 1.119 GB, free: 26.71 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.994e-05/1.122, allocations: 110.4 kB / 1.119 GB, free: 26.6 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.431e-05/1.122, allocations: 116 kB / 1.119 GB, free: 26.49 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.019e-05/1.122, allocations: 177.8 kB / 1.119 GB, free: 26.31 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.753e-05/1.123, allocations: 180.1 kB / 1.119 GB, free: 26.13 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.645e-05/1.123, allocations: 183.3 kB / 1.119 GB, free: 25.95 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000233/1.123, allocations: 400.2 kB / 1.12 GB, free: 25.5 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.038e-05/1.123, allocations: 112.8 kB / 1.12 GB, free: 25.39 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.953e-05/1.123, allocations: 106.2 kB / 1.12 GB, free: 25.28 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.46e-05/1.123, allocations: 180.2 kB / 1.12 GB, free: 25.1 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.864e-05/1.123, allocations: 178.9 kB / 1.12 GB, free: 24.92 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.338e-05/1.123, allocations: 180.1 kB / 1.121 GB, free: 24.74 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.428e-05/1.123, allocations: 184 kB / 1.121 GB, free: 24.55 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001387/1.123, allocations: 306.6 kB / 1.121 GB, free: 24.24 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 8.981e-05/1.124, allocations: 182.1 kB / 1.121 GB, free: 24.04 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.179e-05/1.124, allocations: 194.7 kB / 1.121 GB, free: 23.85 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001038/1.124, allocations: 104.9 kB / 1.121 GB, free: 23.74 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.127e-05/1.124, allocations: 184.7 kB / 1.122 GB, free: 23.55 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.147e-05/1.124, allocations: 107.8 kB / 1.122 GB, free: 23.44 MB / 0.698 GB Notification: Performance of sorting global known variables: time 6.727e-05/1.124, allocations: 82.94 kB / 1.122 GB, free: 23.37 MB / 0.698 GB Notification: Performance of sort global known variables: time 3.9e-07/1.124, allocations: 0 / 1.122 GB, free: 23.37 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0003213/1.124, allocations: 3.844 kB / 1.122 GB, free: 23.37 MB / 0.698 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.0005334/1.125, allocations: 0.8098 MB / 1.123 GB, free: 22.56 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 5.08e-05/1.125, allocations: 7.844 kB / 1.123 GB, free: 22.56 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 4.509e-06/1.125, allocations: 0 / 1.123 GB, free: 22.56 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 2.324e-06/1.125, allocations: 3.938 kB / 1.123 GB, free: 22.55 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003254/1.125, allocations: 0.5224 MB / 1.123 GB, free: 22.03 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007692/1.126, allocations: 0.5183 MB / 1.124 GB, free: 21.5 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003402/1.126, allocations: 0.6759 MB / 1.124 GB, free: 20.81 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 2.159e-05/1.126, allocations: 5.141 kB / 1.124 GB, free: 20.81 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.944e-05/1.126, allocations: 12.81 kB / 1.124 GB, free: 20.8 MB / 0.698 GB Notification: Performance of SimCode: time 7.91e-07/1.126, allocations: 3.938 kB / 1.124 GB, free: 20.79 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6353/1.762, allocations: 0.9719 MB / 1.125 GB, free: 20.67 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000289/1.762, allocations: 235.1 kB / 1.125 GB, free: 20.43 MB / 0.698 GB Error: Error building simulator. Build log: clang -Os -fPIC -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.0.0/Resources/C-Sources" -c -o Buildings_8_0_0_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3LongHeader.o Buildings_8_0_0_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3LongHeader.c In file included from Buildings_8_0_0_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3LongHeader.c:7: In file included from ./Buildings_8_0_0_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3LongHeader_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 -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.0.0/Resources/C-Sources" -c -o Buildings_8_0_0_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3LongHeader_functions.o Buildings_8_0_0_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3LongHeader_functions.c In file included from Buildings_8_0_0_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3LongHeader_functions.c:2: In file included from ./Buildings_8_0_0_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3LongHeader_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_0_0_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3LongHeader_functions.c:7: In file included from ./Buildings_8_0_0_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3LongHeader_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_GetTimeSpanTMY3LongHeader_functions.o' failed make: *** [Buildings_8_0_0_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3LongHeader_functions.o] Error 1