Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader,fileNamePrefix="Buildings_latest_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3LongHeader",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader,fileNamePrefix="Buildings_latest_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 10.0.0-master/package.mo): time 2.32/2.32, allocations: 390.3 MB / 402.8 MB, free: 6.691 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.00133/0.00133, allocations: 176.8 kB / 496.1 MB, free: 12.87 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.92/1.92, allocations: 221.3 MB / 0.7915 GB, free: 5.371 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.001084/0.001084, allocations: 95.52 kB / 0.9318 GB, free: 5.672 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 6.063e-05/6.1e-05, allocations: 4 kB / 1.079 GB, free: 140.4 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2847/0.2848, allocations: 143 MB / 1.219 GB, free: 13.4 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9613/1.246, allocations: 149.9 MB / 1.365 GB, free: 4.148 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002451/1.246, allocations: 82.94 kB / 1.365 GB, free: 4.102 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.003716/1.25, allocations: 1.559 MB / 1.367 GB, free: 3.012 MB / 0.823 GB Notification: Performance of FrontEnd: time 3.146e-06/1.25, allocations: 0 / 1.367 GB, free: 3.012 MB / 0.823 GB Notification: Performance of Transformations before backend: time 6.262e-06/1.25, allocations: 3.938 kB / 1.367 GB, free: 3.008 MB / 0.823 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.0002564/1.25, allocations: 319.4 kB / 1.367 GB, free: 2.652 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 4.538e-05/1.25, allocations: 12.03 kB / 1.367 GB, free: 2.641 MB / 0.823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.222e-05/1.251, allocations: 109.2 kB / 1.367 GB, free: 2.527 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.23e-05/1.251, allocations: 79.28 kB / 1.367 GB, free: 2.449 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001653/1.251, allocations: 242.3 kB / 1.368 GB, free: 2.172 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.333e-05/1.251, allocations: 150.6 kB / 1.368 GB, free: 2.023 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.074e-05/1.251, allocations: 154.6 kB / 1.368 GB, free: 1.871 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.293e-05/1.251, allocations: 108.9 kB / 1.368 GB, free: 1.758 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.541e-05/1.251, allocations: 75.28 kB / 1.368 GB, free: 1.684 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.363e-05/1.251, allocations: 153.3 kB / 1.368 GB, free: 1.535 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.463e-05/1.251, allocations: 150.6 kB / 1.368 GB, free: 1.387 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.721e-05/1.251, allocations: 150.6 kB / 1.368 GB, free: 1.238 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002626/1.251, allocations: 457.7 kB / 1.369 GB, free: 0.7461 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 7.48e-05/1.252, allocations: 169.1 kB / 1.369 GB, free: 0.5703 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.834e-05/1.252, allocations: 80.14 kB / 1.369 GB, free: 500 kB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 2.595e-05/1.252, allocations: 75.28 kB / 1.369 GB, free: 424 kB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.172e-05/1.252, allocations: 113.3 kB / 1.369 GB, free: 304 kB / 0.823 GB Notification: Performance of pre-optimization done (n=0): time 1.432e-06/1.252, allocations: 4 kB / 1.369 GB, free: 300 kB / 0.823 GB Notification: Performance of matching and sorting (n=0): time 7.2e-05/1.252, allocations: 25.7 kB / 1.369 GB, free: 268 kB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.646e-05/1.252, allocations: 134.6 kB / 1.369 GB, free: 120 kB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.849e-05/1.252, allocations: 92.98 kB / 1.37 GB, free: 20 kB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 3.004e-05/1.252, allocations: 29.7 kB / 1.37 GB, free: 15.98 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 4.02e-05/1.252, allocations: 83.7 kB / 1.37 GB, free: 15.9 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 2.445e-06/1.252, allocations: 0 / 1.37 GB, free: 15.9 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.2e-07/1.252, allocations: 0 / 1.37 GB, free: 15.9 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001547/1.252, allocations: 318.8 kB / 1.37 GB, free: 15.58 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.316e-06/1.252, allocations: 0 / 1.37 GB, free: 15.58 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.529e-05/1.252, allocations: 4 kB / 1.37 GB, free: 15.58 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.172e-05/1.252, allocations: 79.22 kB / 1.37 GB, free: 15.5 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.472e-05/1.252, allocations: 79.27 kB / 1.37 GB, free: 15.42 MB / 0.8386 GB Notification: Performance of matching and sorting (n=0) (initialization): time 6.389e-05/1.252, allocations: 31.19 kB / 1.37 GB, free: 15.39 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 3.746e-05/1.252, allocations: 79.28 kB / 1.37 GB, free: 15.31 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.448e-05/1.252, allocations: 79.22 kB / 1.37 GB, free: 15.23 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.952e-05/1.252, allocations: 161.8 kB / 1.37 GB, free: 15.07 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.581e-05/1.252, allocations: 87.22 kB / 1.371 GB, free: 14.99 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.399e-05/1.253, allocations: 150.6 kB / 1.371 GB, free: 14.84 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.322e-05/1.253, allocations: 79.27 kB / 1.371 GB, free: 14.76 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.415e-05/1.253, allocations: 79.22 kB / 1.371 GB, free: 14.68 MB / 0.8386 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 (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 9.032e-05/1.253, allocations: 266.8 kB / 1.371 GB, free: 14.42 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.169e-05/1.253, allocations: 101 kB / 1.371 GB, free: 14.31 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.818e-05/1.253, allocations: 115.8 kB / 1.371 GB, free: 14.2 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.21e-05/1.253, allocations: 176.3 kB / 1.371 GB, free: 14.02 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.752e-05/1.253, allocations: 180.2 kB / 1.372 GB, free: 13.83 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.66e-05/1.253, allocations: 183.6 kB / 1.372 GB, free: 13.65 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002098/1.253, allocations: 405.2 kB / 1.372 GB, free: 13.2 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.187e-05/1.253, allocations: 108.9 kB / 1.372 GB, free: 13.08 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.334e-05/1.253, allocations: 101 kB / 1.372 GB, free: 12.98 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.123e-05/1.253, allocations: 183.8 kB / 1.373 GB, free: 12.79 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.942e-05/1.253, allocations: 181.2 kB / 1.373 GB, free: 12.61 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.579e-05/1.254, allocations: 180.3 kB / 1.373 GB, free: 12.43 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.132e-05/1.254, allocations: 185.1 kB / 1.373 GB, free: 12.24 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001664/1.254, allocations: 311.1 kB / 1.373 GB, free: 11.91 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 8.468e-05/1.254, allocations: 186 kB / 1.374 GB, free: 11.71 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.517e-05/1.254, allocations: 184.2 kB / 1.374 GB, free: 11.52 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.291e-05/1.254, allocations: 108.6 kB / 1.374 GB, free: 11.41 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.038e-05/1.254, allocations: 176.3 kB / 1.374 GB, free: 11.23 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.742e-05/1.254, allocations: 108.9 kB / 1.374 GB, free: 11.12 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 5.236e-05/1.254, allocations: 86.33 kB / 1.374 GB, free: 11.04 MB / 0.8386 GB Notification: Performance of sort global known variables: time 2.2e-07/1.254, allocations: 0 / 1.374 GB, free: 11.04 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0002521/1.255, allocations: 0 / 1.374 GB, free: 11.04 MB / 0.8386 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.0004839/1.255, allocations: 0.8213 MB / 1.375 GB, free: 10.19 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 4.044e-05/1.255, allocations: 3.984 kB / 1.375 GB, free: 10.18 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/1.255, allocations: 0 / 1.375 GB, free: 10.18 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 2.896e-06/1.255, allocations: 3.938 kB / 1.375 GB, free: 10.18 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002595/1.255, allocations: 0.5246 MB / 1.376 GB, free: 9.652 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003624/1.256, allocations: 157.1 kB / 1.376 GB, free: 9.465 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002211/1.256, allocations: 0.677 MB / 1.376 GB, free: 8.762 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 1.918e-05/1.256, allocations: 3.984 kB / 1.376 GB, free: 8.758 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.674e-05/1.256, allocations: 11.44 kB / 1.376 GB, free: 8.746 MB / 0.8386 GB Notification: Performance of SimCode: time 4.4e-07/1.256, allocations: 4 kB / 1.376 GB, free: 8.742 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01356/1.27, allocations: 0.9722 MB / 1.377 GB, free: 7.98 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002003/1.27, allocations: 197.8 kB / 1.377 GB, free: 7.758 MB / 0.8386 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 10.0.0-master/Resources/C-Sources" -c -o Buildings_latest_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3LongHeader.o Buildings_latest_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3LongHeader.c In file included from Buildings_latest_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3LongHeader.c:7: In file included from ./Buildings_latest_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3LongHeader_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 10.0.0-master/Resources/C-Sources" -c -o Buildings_latest_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3LongHeader_functions.o Buildings_latest_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3LongHeader_functions.c In file included from Buildings_latest_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3LongHeader_functions.c:2: In file included from ./Buildings_latest_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3LongHeader_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_latest_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3LongHeader_functions.c:7: In file included from ./Buildings_latest_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3LongHeader_includes.h:4: /home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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_latest_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3LongHeader_functions.o] Error 1