Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader,fileNamePrefix="Buildings_9_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3LongHeader",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader,fileNamePrefix="Buildings_9_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 9.1.1-maint.9.1.x/package.mo): time 2.243/2.243, allocations: 390.3 MB / 405.3 MB, free: 13.4 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001111/0.001111, allocations: 183.3 kB / 498.1 MB, free: 5.676 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.523/1.523, allocations: 223.2 MB / 0.7948 GB, free: 17.96 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001086/0.001086, allocations: 101.3 kB / 0.9346 GB, free: 6.227 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003873/0.0003873, allocations: 8.094 kB / 1.084 GB, free: 221.2 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2594/0.2598, allocations: 142.3 MB / 1.223 GB, free: 114.2 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1677/0.4276, allocations: 149.1 MB / 1.369 GB, free: 12.88 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002241/0.4278, allocations: 87.88 kB / 1.369 GB, free: 12.8 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.003616/0.4315, allocations: 1.725 MB / 1.37 GB, free: 11.07 MB / 0.8698 GB Notification: Performance of FrontEnd: time 2.224e-06/0.4315, allocations: 0 / 1.37 GB, free: 11.07 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 5.07e-06/0.4315, allocations: 0 / 1.37 GB, free: 11.07 MB / 0.8698 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.0002562/0.4318, allocations: 327.4 kB / 1.371 GB, free: 10.7 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.101e-05/0.4318, allocations: 12.02 kB / 1.371 GB, free: 10.69 MB / 0.8698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.753e-05/0.4319, allocations: 117.8 kB / 1.371 GB, free: 10.57 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.926e-05/0.432, allocations: 79.19 kB / 1.371 GB, free: 10.49 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001443/0.4321, allocations: 246.2 kB / 1.371 GB, free: 10.21 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.15e-05/0.4322, allocations: 150.6 kB / 1.371 GB, free: 10.06 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.365e-05/0.4322, allocations: 150.6 kB / 1.371 GB, free: 9.91 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.826e-05/0.4323, allocations: 101 kB / 1.371 GB, free: 9.805 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.494e-05/0.4323, allocations: 83.27 kB / 1.372 GB, free: 9.723 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.946e-05/0.4324, allocations: 154.6 kB / 1.372 GB, free: 9.57 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.358e-05/0.4324, allocations: 154.6 kB / 1.372 GB, free: 9.418 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.418e-05/0.4325, allocations: 150.6 kB / 1.372 GB, free: 9.27 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002494/0.4327, allocations: 445.8 kB / 1.372 GB, free: 8.785 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 7.347e-05/0.4328, allocations: 177.1 kB / 1.373 GB, free: 8.602 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.269e-05/0.4328, allocations: 75.28 kB / 1.373 GB, free: 8.527 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.359e-05/0.4329, allocations: 109.8 kB / 1.373 GB, free: 8.41 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=0): time 1.012e-06/0.4329, allocations: 3.938 kB / 1.373 GB, free: 8.406 MB / 0.8698 GB Notification: Performance of matching and sorting (n=0): time 6.629e-05/0.433, allocations: 29.64 kB / 1.373 GB, free: 8.371 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.09e-05/0.433, allocations: 135.7 kB / 1.373 GB, free: 8.227 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.67e-05/0.4331, allocations: 93 kB / 1.373 GB, free: 8.129 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 1.18e-05/0.4331, allocations: 25.7 kB / 1.373 GB, free: 8.098 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 3.581e-05/0.4332, allocations: 80.14 kB / 1.373 GB, free: 8.016 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 1.503e-06/0.4332, allocations: 0 / 1.373 GB, free: 8.016 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.21e-07/0.4332, allocations: 0 / 1.373 GB, free: 8.016 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001031/0.4333, allocations: 322.8 kB / 1.373 GB, free: 7.691 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.635e-06/0.4333, allocations: 0 / 1.373 GB, free: 7.691 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.143e-05/0.4333, allocations: 0 / 1.373 GB, free: 7.691 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.799e-05/0.4333, allocations: 79.31 kB / 1.373 GB, free: 7.613 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.928e-05/0.4334, allocations: 75.28 kB / 1.374 GB, free: 7.539 MB / 0.8698 GB Notification: Performance of matching and sorting (n=0) (initialization): time 5.374e-05/0.4334, allocations: 33.64 kB / 1.374 GB, free: 7.5 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 3.534e-05/0.4335, allocations: 79.28 kB / 1.374 GB, free: 7.422 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.237e-05/0.4335, allocations: 79.28 kB / 1.374 GB, free: 7.344 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.629e-05/0.4336, allocations: 158.6 kB / 1.374 GB, free: 7.188 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.308e-05/0.4336, allocations: 87.2 kB / 1.374 GB, free: 7.102 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.275e-05/0.4336, allocations: 154.6 kB / 1.374 GB, free: 6.949 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.562e-05/0.4337, allocations: 83.22 kB / 1.374 GB, free: 6.867 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.928e-05/0.4338, allocations: 75.28 kB / 1.374 GB, free: 6.793 MB / 0.8698 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.0001007/0.4339, allocations: 264.4 kB / 1.375 GB, free: 6.523 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.56e-05/0.4339, allocations: 109 kB / 1.375 GB, free: 6.41 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.245e-05/0.434, allocations: 116 kB / 1.375 GB, free: 6.289 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.949e-05/0.434, allocations: 180.2 kB / 1.375 GB, free: 6.105 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.428e-05/0.4341, allocations: 180.2 kB / 1.375 GB, free: 5.922 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.627e-05/0.4342, allocations: 180.3 kB / 1.375 GB, free: 5.738 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001984/0.4344, allocations: 405.2 kB / 1.376 GB, free: 5.285 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.843e-05/0.4344, allocations: 116.9 kB / 1.376 GB, free: 5.164 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.263e-05/0.4344, allocations: 101 kB / 1.376 GB, free: 5.059 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.889e-05/0.4345, allocations: 184.2 kB / 1.376 GB, free: 4.871 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.126e-05/0.4345, allocations: 176.3 kB / 1.376 GB, free: 4.691 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.436e-05/0.4346, allocations: 189 kB / 1.376 GB, free: 4.5 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.061e-05/0.4347, allocations: 176.3 kB / 1.377 GB, free: 4.32 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001146/0.4348, allocations: 315.8 kB / 1.377 GB, free: 3.988 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 6.636e-05/0.4349, allocations: 182 kB / 1.377 GB, free: 3.785 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.098e-05/0.4349, allocations: 184.1 kB / 1.377 GB, free: 3.598 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.32e-05/0.435, allocations: 105.4 kB / 1.377 GB, free: 3.488 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.55e-05/0.4351, allocations: 184.2 kB / 1.377 GB, free: 3.301 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.018e-05/0.4351, allocations: 104.9 kB / 1.378 GB, free: 3.191 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 4.341e-05/0.4352, allocations: 83.28 kB / 1.378 GB, free: 3.109 MB / 0.8698 GB Notification: Performance of sort global known variables: time 1.3e-07/0.4352, allocations: 0 / 1.378 GB, free: 3.109 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0002697/0.4354, allocations: 4 kB / 1.378 GB, free: 3.105 MB / 0.8698 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.0004291/0.4359, allocations: 0.8244 MB / 1.378 GB, free: 2.258 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 3.879e-05/0.4359, allocations: 3.938 kB / 1.378 GB, free: 2.254 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.4359, allocations: 0 / 1.378 GB, free: 2.254 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 1.383e-06/0.4359, allocations: 4 kB / 1.378 GB, free: 2.25 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002469/0.4362, allocations: 0.5198 MB / 1.379 GB, free: 1.727 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005924/0.4368, allocations: 0.5269 MB / 1.379 GB, free: 1.145 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000214/0.437, allocations: 0.677 MB / 1.38 GB, free: 452 kB / 0.8698 GB Notification: Performance of simCode: alias equations: time 1.421e-05/0.437, allocations: 0 / 1.38 GB, free: 452 kB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.318e-05/0.4371, allocations: 11.44 kB / 1.38 GB, free: 440 kB / 0.8698 GB Notification: Performance of SimCode: time 4e-07/0.4371, allocations: 4.062 kB / 1.38 GB, free: 436 kB / 0.8698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01264/0.4497, allocations: 0.9664 MB / 1.381 GB, free: 15.67 MB / 0.8855 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002176/0.45, allocations: 226.8 kB / 1.381 GB, free: 15.43 MB / 0.8855 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 9.1.1-maint.9.1.x/Resources/C-Sources" -c -o Buildings_9_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3LongHeader.o Buildings_9_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3LongHeader.c In file included from Buildings_9_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3LongHeader.c:7: In file included from ./Buildings_9_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 -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 9.1.1-maint.9.1.x/Resources/C-Sources" -c -o Buildings_9_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3LongHeader_functions.o Buildings_9_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3LongHeader_functions.c In file included from Buildings_9_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3LongHeader_functions.c:2: In file included from ./Buildings_9_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_9_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3LongHeader_functions.c:7: In file included from ./Buildings_9_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3LongHeader_includes.h:4: /home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.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_9_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3LongHeader_functions.o] Error 1