Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3_NonzeroStart.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_NonzeroStart,fileNamePrefix="Buildings_8_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3_NonzeroStart",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3_NonzeroStart,fileNamePrefix="Buildings_8_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 8.1.4-maint.8.1.x/package.mo): time 1.717/1.717, allocations: 289.7 MB / 302.2 MB, free: 2.199 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.001534/0.001534, allocations: 180.8 kB / 371.6 MB, free: 3.355 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.965/1.965, allocations: 205.1 MB / 0.6309 GB, free: 11.79 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.001054/0.001054, allocations: 90.55 kB / 0.745 GB, free: 54.6 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 5.426e-05/5.436e-05, allocations: 4 kB / 0.8663 GB, free: 15 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3246/0.3247, allocations: 116.3 MB / 0.9799 GB, free: 10.53 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.101/1.426, allocations: 139.1 MB / 1.116 GB, free: 44.61 MB / 0.7448 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002406/1.427, allocations: 82.44 kB / 1.116 GB, free: 44.57 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 0.00607/1.433, allocations: 2.296 MB / 1.118 GB, free: 43.39 MB / 0.7448 GB Notification: Performance of FrontEnd: time 2.625e-06/1.433, allocations: 0 / 1.118 GB, free: 43.39 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 9.388e-06/1.433, allocations: 4.594 kB / 1.118 GB, free: 43.38 MB / 0.7448 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.0002412/1.433, allocations: 329.3 kB / 1.118 GB, free: 43.03 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 5.653e-05/1.433, allocations: 12.62 kB / 1.118 GB, free: 43.02 MB / 0.7448 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.699e-05/1.433, allocations: 110.3 kB / 1.119 GB, free: 42.9 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.942e-05/1.433, allocations: 79.88 kB / 1.119 GB, free: 42.82 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001274/1.433, allocations: 234.4 kB / 1.119 GB, free: 42.55 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.106e-05/1.433, allocations: 158.7 kB / 1.119 GB, free: 42.4 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.895e-05/1.433, allocations: 152.5 kB / 1.119 GB, free: 42.25 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 4.833e-05/1.433, allocations: 101.5 kB / 1.119 GB, free: 42.15 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.997e-05/1.433, allocations: 75.97 kB / 1.119 GB, free: 42.07 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.579e-05/1.433, allocations: 154.5 kB / 1.119 GB, free: 41.93 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.539e-05/1.433, allocations: 157 kB / 1.12 GB, free: 41.78 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.928e-05/1.434, allocations: 158.5 kB / 1.12 GB, free: 41.62 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002427/1.434, allocations: 448.4 kB / 1.12 GB, free: 41.14 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 6.602e-05/1.434, allocations: 173.8 kB / 1.12 GB, free: 40.96 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.793e-05/1.434, allocations: 83.14 kB / 1.12 GB, free: 40.88 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 2.115e-05/1.434, allocations: 75.28 kB / 1.12 GB, free: 40.81 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.062e-05/1.434, allocations: 109.8 kB / 1.121 GB, free: 40.69 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=0): time 1.383e-06/1.434, allocations: 5.891 kB / 1.121 GB, free: 40.69 MB / 0.7448 GB Notification: Performance of matching and sorting (n=0): time 8.928e-05/1.434, allocations: 32.05 kB / 1.121 GB, free: 40.66 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.789e-05/1.434, allocations: 126.7 kB / 1.121 GB, free: 40.52 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001227/1.434, allocations: 102.1 kB / 1.121 GB, free: 40.42 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.434e-05/1.434, allocations: 25.7 kB / 1.121 GB, free: 40.39 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 4.132e-05/1.434, allocations: 82.95 kB / 1.121 GB, free: 40.31 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 3.847e-06/1.434, allocations: 4 kB / 1.121 GB, free: 40.3 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.028e-06/1.434, allocations: 0 / 1.121 GB, free: 40.3 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 8.664e-05/1.434, allocations: 310.8 kB / 1.121 GB, free: 39.99 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.003e-05/1.434, allocations: 8.172 kB / 1.121 GB, free: 39.99 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.096e-05/1.435, allocations: 10.5 kB / 1.121 GB, free: 39.98 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.536e-05/1.435, allocations: 4 kB / 1.121 GB, free: 39.98 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/1.435, allocations: 0 / 1.121 GB, free: 39.98 MB / 0.7448 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001251/1.435, allocations: 45.2 kB / 1.121 GB, free: 39.93 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.741e-05/1.435, allocations: 12.12 kB / 1.121 GB, free: 39.92 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.638e-06/1.435, allocations: 0.7812 kB / 1.121 GB, free: 39.92 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.658e-05/1.435, allocations: 0 / 1.121 GB, free: 39.92 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.262e-06/1.435, allocations: 1.031 kB / 1.121 GB, free: 39.92 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.614e-06/1.435, allocations: 0 / 1.121 GB, free: 39.92 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.745e-05/1.435, allocations: 7.891 kB / 1.121 GB, free: 39.91 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.026e-05/1.435, allocations: 0 / 1.121 GB, free: 39.91 MB / 0.7448 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 7.566e-05/1.435, allocations: 182.9 kB / 1.121 GB, free: 39.73 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.272e-05/1.435, allocations: 117.7 kB / 1.122 GB, free: 39.61 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.49e-05/1.435, allocations: 108.8 kB / 1.122 GB, free: 39.5 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.027e-05/1.435, allocations: 176.3 kB / 1.122 GB, free: 39.32 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.163e-05/1.435, allocations: 188 kB / 1.122 GB, free: 39.13 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.131e-05/1.435, allocations: 180.3 kB / 1.122 GB, free: 38.95 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001819/1.435, allocations: 407.2 kB / 1.123 GB, free: 38.5 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.964e-05/1.435, allocations: 105.6 kB / 1.123 GB, free: 38.39 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.678e-05/1.435, allocations: 105 kB / 1.123 GB, free: 38.29 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.81e-05/1.436, allocations: 187.8 kB / 1.123 GB, free: 38.1 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.504e-05/1.436, allocations: 180.3 kB / 1.123 GB, free: 37.91 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.022e-05/1.436, allocations: 180.2 kB / 1.123 GB, free: 37.73 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.905e-05/1.436, allocations: 181.1 kB / 1.124 GB, free: 37.55 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.889e-05/1.436, allocations: 310.7 kB / 1.124 GB, free: 37.23 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 5.424e-05/1.436, allocations: 182.9 kB / 1.124 GB, free: 37.02 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.902e-05/1.436, allocations: 191.6 kB / 1.124 GB, free: 36.83 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.682e-05/1.436, allocations: 101 kB / 1.124 GB, free: 36.73 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.529e-05/1.436, allocations: 184.8 kB / 1.124 GB, free: 36.54 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.253e-05/1.436, allocations: 109.7 kB / 1.125 GB, free: 36.43 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 3.585e-05/1.436, allocations: 83.47 kB / 1.125 GB, free: 36.35 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.31e-07/1.436, allocations: 0 / 1.125 GB, free: 36.35 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002513/1.436, allocations: 8 kB / 1.125 GB, free: 36.34 MB / 0.7448 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.0004156/1.437, allocations: 0.8145 MB / 1.125 GB, free: 35.51 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 7.327e-05/1.437, allocations: 14.5 kB / 1.125 GB, free: 35.5 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/1.437, allocations: 0 / 1.125 GB, free: 35.5 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 3.376e-06/1.437, allocations: 0 / 1.125 GB, free: 35.5 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002278/1.437, allocations: 0.5224 MB / 1.126 GB, free: 34.97 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003137/1.437, allocations: 162 kB / 1.126 GB, free: 34.79 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001178/1.439, allocations: 0.6764 MB / 1.127 GB, free: 50.09 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 2.086e-05/1.439, allocations: 4 kB / 1.127 GB, free: 50.08 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.314e-05/1.439, allocations: 7.438 kB / 1.127 GB, free: 50.08 MB / 0.7605 GB Notification: Performance of SimCode: time 6.11e-07/1.439, allocations: 0 / 1.127 GB, free: 50.08 MB / 0.7605 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01398/1.453, allocations: 1.08 MB / 1.128 GB, free: 49.53 MB / 0.7605 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002099/1.453, allocations: 204.5 kB / 1.128 GB, free: 49.3 MB / 0.7605 GB Error: Error building simulator. Build log: clang -Os -fPIC -falign-functions -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.1.4-maint.8.1.x/Resources/C-Sources" -c -o Buildings_8_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3_NonzeroStart.o Buildings_8_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3_NonzeroStart.c In file included from Buildings_8_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3_NonzeroStart.c:7: In file included from ./Buildings_8_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 -falign-functions -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.1.4-maint.8.1.x/Resources/C-Sources" -c -o Buildings_8_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3_NonzeroStart_functions.o Buildings_8_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3_NonzeroStart_functions.c In file included from Buildings_8_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3_NonzeroStart_functions.c:2: In file included from ./Buildings_8_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_8_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3_NonzeroStart_functions.c:7: In file included from ./Buildings_8_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3_NonzeroStart_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_NonzeroStart_functions.o] Error 1