Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3.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,fileNamePrefix="Buildings_8_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3,fileNamePrefix="Buildings_8_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.1.4-maint.8.1.x/package.mo): time 1.841/1.841, allocations: 292.6 MB / 307.5 MB, free: 5.23 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.001358/0.001358, allocations: 188.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.745/1.745, allocations: 205.4 MB / 0.6366 GB, free: 8.555 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.0009117/0.0009117, allocations: 99.5 kB / 0.7509 GB, free: 63.05 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.000356/0.0003561, allocations: 12 kB / 0.8749 GB, free: 11.11 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2985/0.2988, allocations: 116.3 MB / 0.9884 GB, free: 6.66 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.908/1.207, allocations: 139.1 MB / 1.124 GB, free: 35.45 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003549/1.207, allocations: 77.97 kB / 1.124 GB, free: 35.39 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.008519/1.216, allocations: 2.279 MB / 1.127 GB, free: 33.57 MB / 0.7292 GB Notification: Performance of FrontEnd: time 3.296e-06/1.216, allocations: 0 / 1.127 GB, free: 33.57 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 7.104e-06/1.216, allocations: 1.531 kB / 1.127 GB, free: 33.57 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.0003282/1.216, allocations: 336.3 kB / 1.127 GB, free: 33.2 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 5.937e-05/1.216, allocations: 8.031 kB / 1.127 GB, free: 33.19 MB / 0.7292 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.72e-05/1.216, allocations: 107.7 kB / 1.127 GB, free: 33.08 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.263e-05/1.216, allocations: 82.97 kB / 1.127 GB, free: 33 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001421/1.217, allocations: 238.4 kB / 1.127 GB, free: 32.73 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.272e-05/1.217, allocations: 155.4 kB / 1.127 GB, free: 32.57 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.245e-05/1.217, allocations: 157 kB / 1.128 GB, free: 32.43 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.796e-05/1.217, allocations: 112.5 kB / 1.128 GB, free: 32.31 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.292e-05/1.217, allocations: 75.89 kB / 1.128 GB, free: 32.24 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.44e-05/1.217, allocations: 150.6 kB / 1.128 GB, free: 32.09 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.208e-05/1.217, allocations: 153.6 kB / 1.128 GB, free: 31.94 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.236e-05/1.217, allocations: 150.6 kB / 1.128 GB, free: 31.79 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003021/1.217, allocations: 454 kB / 1.129 GB, free: 31.3 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 6.519e-05/1.217, allocations: 168.3 kB / 1.129 GB, free: 31.13 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 1.453e-05/1.217, allocations: 78.62 kB / 1.129 GB, free: 31.06 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.886e-05/1.217, allocations: 105.8 kB / 1.129 GB, free: 30.95 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=0): time 1.433e-06/1.218, allocations: 4 kB / 1.129 GB, free: 30.94 MB / 0.7292 GB Notification: Performance of matching and sorting (n=0): time 0.0001024/1.218, allocations: 36.89 kB / 1.129 GB, free: 30.9 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.857e-05/1.218, allocations: 126.7 kB / 1.129 GB, free: 30.77 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001268/1.218, allocations: 105 kB / 1.129 GB, free: 30.66 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 1.463e-05/1.218, allocations: 29.64 kB / 1.129 GB, free: 30.62 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 3.751e-05/1.218, allocations: 83.61 kB / 1.129 GB, free: 30.54 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 2.996e-06/1.218, allocations: 0 / 1.129 GB, free: 30.54 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.795e-06/1.218, allocations: 0 / 1.129 GB, free: 30.54 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 6.388e-05/1.218, allocations: 314.8 kB / 1.13 GB, free: 30.23 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.334e-05/1.218, allocations: 0 / 1.13 GB, free: 30.23 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.199e-05/1.218, allocations: 16.22 kB / 1.13 GB, free: 30.21 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.27e-05/1.218, allocations: 8.094 kB / 1.13 GB, free: 30.21 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.675e-06/1.218, allocations: 0 / 1.13 GB, free: 30.21 MB / 0.7292 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001449/1.218, allocations: 41.66 kB / 1.13 GB, free: 30.16 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 2.079e-05/1.218, allocations: 9.703 kB / 1.13 GB, free: 30.16 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.482e-06/1.218, allocations: 0 / 1.13 GB, free: 30.16 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.399e-05/1.218, allocations: 1.125 kB / 1.13 GB, free: 30.16 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.887e-06/1.218, allocations: 4.5 kB / 1.13 GB, free: 30.15 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.412e-06/1.218, allocations: 0 / 1.13 GB, free: 30.15 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.689e-05/1.219, allocations: 7.906 kB / 1.13 GB, free: 30.14 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.456e-05/1.219, allocations: 1.688 kB / 1.13 GB, free: 30.14 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 9.011e-05/1.219, allocations: 192.5 kB / 1.13 GB, free: 29.95 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.708e-05/1.219, allocations: 105.4 kB / 1.13 GB, free: 29.84 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.181e-05/1.219, allocations: 108.5 kB / 1.13 GB, free: 29.73 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.268e-05/1.219, allocations: 184.9 kB / 1.13 GB, free: 29.54 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.669e-05/1.219, allocations: 179.6 kB / 1.13 GB, free: 29.36 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.44e-05/1.219, allocations: 184.2 kB / 1.131 GB, free: 29.18 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000198/1.219, allocations: 409.3 kB / 1.131 GB, free: 28.72 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.174e-05/1.219, allocations: 105.7 kB / 1.131 GB, free: 28.61 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.062e-05/1.219, allocations: 101 kB / 1.131 GB, free: 28.51 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.942e-05/1.219, allocations: 184.7 kB / 1.131 GB, free: 28.32 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.739e-05/1.219, allocations: 180.2 kB / 1.132 GB, free: 28.14 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.697e-05/1.219, allocations: 187.7 kB / 1.132 GB, free: 27.95 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.674e-05/1.219, allocations: 181.1 kB / 1.132 GB, free: 27.77 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.811e-05/1.22, allocations: 295.8 kB / 1.132 GB, free: 27.45 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 6.878e-05/1.22, allocations: 193.5 kB / 1.132 GB, free: 27.24 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.687e-05/1.22, allocations: 185.2 kB / 1.133 GB, free: 27.05 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.926e-05/1.22, allocations: 104.9 kB / 1.133 GB, free: 26.95 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.603e-05/1.22, allocations: 184.9 kB / 1.133 GB, free: 26.76 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.992e-05/1.22, allocations: 101 kB / 1.133 GB, free: 26.66 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 3.998e-05/1.22, allocations: 88.03 kB / 1.133 GB, free: 26.57 MB / 0.7292 GB Notification: Performance of sort global known variables: time 3.01e-07/1.22, allocations: 0 / 1.133 GB, free: 26.57 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.000396/1.22, allocations: 8 kB / 1.133 GB, free: 26.56 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.0004693/1.221, allocations: 0.8223 MB / 1.134 GB, free: 25.72 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 9.079e-05/1.221, allocations: 7.469 kB / 1.134 GB, free: 25.71 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 3.516e-06/1.221, allocations: 0 / 1.134 GB, free: 25.71 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 4.439e-06/1.221, allocations: 8.062 kB / 1.134 GB, free: 25.71 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002836/1.221, allocations: 0.5262 MB / 1.134 GB, free: 25.18 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006367/1.222, allocations: 374 kB / 1.135 GB, free: 24.77 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001549/1.222, allocations: 0.6797 MB / 1.135 GB, free: 24.07 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 2.329e-05/1.222, allocations: 0 / 1.135 GB, free: 24.07 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.227e-05/1.222, allocations: 15.44 kB / 1.135 GB, free: 24.06 MB / 0.7292 GB Notification: Performance of SimCode: time 3.61e-07/1.222, allocations: 0 / 1.135 GB, free: 24.06 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02086/1.243, allocations: 1.042 MB / 1.136 GB, free: 23.53 MB / 0.7292 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002197/1.243, allocations: 208.8 kB / 1.137 GB, free: 23.29 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.o Buildings_8_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3.c In file included from Buildings_8_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3.c:7: In file included from ./Buildings_8_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3_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_functions.o Buildings_8_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3_functions.c In file included from Buildings_8_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3_functions.c:2: In file included from ./Buildings_8_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3_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_functions.c:7: In file included from ./Buildings_8_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3_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_functions.o] Error 1