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.51/2.51, allocations: 393.5 MB / 408.4 MB, free: 11.02 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.001161/0.001161, allocations: 176 kB / 0.4901 GB, free: 2.219 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.497/1.497, allocations: 223.1 MB / 0.7992 GB, free: 14.73 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.0008925/0.0008924, allocations: 102.5 kB / 0.9396 GB, free: 1.895 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003558/0.0003558, allocations: 10.56 kB / 1.09 GB, free: 216.5 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2918/0.2922, allocations: 143 MB / 1.229 GB, free: 105.6 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1828/0.475, allocations: 149.9 MB / 1.376 GB, free: 3.508 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002409/0.4753, allocations: 79.95 kB / 1.376 GB, free: 3.43 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.003974/0.4793, allocations: 1.733 MB / 1.377 GB, free: 1.695 MB / 0.8698 GB Notification: Performance of FrontEnd: time 5.44e-06/0.4793, allocations: 0 / 1.377 GB, free: 1.695 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 6.071e-06/0.4794, allocations: 3.938 kB / 1.377 GB, free: 1.691 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.000292/0.4797, allocations: 327.4 kB / 1.378 GB, free: 1.324 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.264e-05/0.4797, allocations: 8.562 kB / 1.378 GB, free: 1.316 MB / 0.8698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.624e-05/0.4798, allocations: 109.8 kB / 1.378 GB, free: 1.199 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.522e-05/0.4798, allocations: 75.28 kB / 1.378 GB, free: 1.125 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001791/0.48, allocations: 250.3 kB / 1.378 GB, free: 0.8398 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.805e-05/0.4801, allocations: 150.6 kB / 1.378 GB, free: 0.6914 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.17e-05/0.4802, allocations: 150.6 kB / 1.378 GB, free: 0.543 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.45e-05/0.4802, allocations: 101 kB / 1.379 GB, free: 448 kB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.318e-05/0.4803, allocations: 75.28 kB / 1.379 GB, free: 372 kB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.779e-05/0.4803, allocations: 154.6 kB / 1.379 GB, free: 216 kB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.217e-05/0.4804, allocations: 162.5 kB / 1.379 GB, free: 52 kB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.145e-05/0.4805, allocations: 154.5 kB / 1.379 GB, free: 15.9 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002933/0.4808, allocations: 445.9 kB / 1.38 GB, free: 15.41 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 8.827e-05/0.4809, allocations: 173.1 kB / 1.38 GB, free: 15.23 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 3.561e-05/0.4809, allocations: 79.28 kB / 1.38 GB, free: 15.16 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.244e-05/0.481, allocations: 113.8 kB / 1.38 GB, free: 15.04 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=0): time 1.603e-06/0.481, allocations: 0 / 1.38 GB, free: 15.04 MB / 0.8855 GB Notification: Performance of matching and sorting (n=0): time 6.813e-05/0.4811, allocations: 25.7 kB / 1.38 GB, free: 15 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.425e-05/0.4811, allocations: 130.7 kB / 1.38 GB, free: 14.86 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.051e-05/0.4812, allocations: 97.09 kB / 1.38 GB, free: 14.76 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 1.322e-05/0.4812, allocations: 29.7 kB / 1.38 GB, free: 14.73 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 4.94e-05/0.4813, allocations: 80.14 kB / 1.38 GB, free: 14.64 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 2.154e-06/0.4813, allocations: 0 / 1.38 GB, free: 14.64 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.5e-07/0.4813, allocations: 0 / 1.38 GB, free: 14.64 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001152/0.4814, allocations: 322.7 kB / 1.381 GB, free: 14.32 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.739e-06/0.4814, allocations: 7.938 kB / 1.381 GB, free: 14.31 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.139e-05/0.4815, allocations: 0 / 1.381 GB, free: 14.31 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.812e-05/0.4815, allocations: 79.27 kB / 1.381 GB, free: 14.23 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.152e-05/0.4815, allocations: 79.22 kB / 1.381 GB, free: 14.16 MB / 0.8855 GB Notification: Performance of matching and sorting (n=0) (initialization): time 5.785e-05/0.4816, allocations: 37.64 kB / 1.381 GB, free: 14.11 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 4.032e-05/0.4817, allocations: 83.28 kB / 1.381 GB, free: 14.03 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.689e-05/0.4817, allocations: 75.28 kB / 1.381 GB, free: 13.96 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.952e-05/0.4818, allocations: 158.5 kB / 1.381 GB, free: 13.8 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.397e-05/0.4818, allocations: 75.28 kB / 1.381 GB, free: 13.73 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.413e-05/0.4819, allocations: 154.5 kB / 1.381 GB, free: 13.57 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000101/0.482, allocations: 87.27 kB / 1.381 GB, free: 13.49 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.91e-05/0.482, allocations: 79.27 kB / 1.381 GB, free: 13.41 MB / 0.8855 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.0001214/0.4822, allocations: 264.4 kB / 1.382 GB, free: 13.14 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.848e-05/0.4822, allocations: 108.9 kB / 1.382 GB, free: 13.03 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.415e-05/0.4823, allocations: 107.9 kB / 1.382 GB, free: 12.92 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.898e-05/0.4824, allocations: 188.2 kB / 1.382 GB, free: 12.73 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.424e-05/0.4824, allocations: 176.3 kB / 1.382 GB, free: 12.55 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.998e-05/0.4825, allocations: 180.3 kB / 1.382 GB, free: 12.36 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002313/0.4827, allocations: 409.1 kB / 1.383 GB, free: 11.91 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.577e-05/0.4828, allocations: 105 kB / 1.383 GB, free: 11.8 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.782e-05/0.4828, allocations: 104.9 kB / 1.383 GB, free: 11.69 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.692e-05/0.4829, allocations: 184.3 kB / 1.383 GB, free: 11.5 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.107e-05/0.483, allocations: 180.3 kB / 1.383 GB, free: 11.32 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.994e-05/0.483, allocations: 188.5 kB / 1.383 GB, free: 11.12 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.744e-05/0.4831, allocations: 176.3 kB / 1.384 GB, free: 10.95 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001378/0.4833, allocations: 311.8 kB / 1.384 GB, free: 10.62 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 8.898e-05/0.4834, allocations: 186 kB / 1.384 GB, free: 10.41 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.949e-05/0.4834, allocations: 180.2 kB / 1.384 GB, free: 10.23 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.195e-05/0.4835, allocations: 105 kB / 1.384 GB, free: 10.12 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.584e-05/0.4836, allocations: 180.2 kB / 1.385 GB, free: 9.934 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.117e-05/0.4837, allocations: 101 kB / 1.385 GB, free: 9.828 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 4.572e-05/0.4837, allocations: 91.27 kB / 1.385 GB, free: 9.738 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.3e-07/0.4837, allocations: 0 / 1.385 GB, free: 9.738 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.000264/0.484, allocations: 4 kB / 1.385 GB, free: 9.734 MB / 0.8855 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.0005151/0.4845, allocations: 0.8278 MB / 1.386 GB, free: 8.887 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 4.184e-05/0.4846, allocations: 3.938 kB / 1.386 GB, free: 8.883 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 1.793e-06/0.4846, allocations: 3.938 kB / 1.386 GB, free: 8.879 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 2.915e-06/0.4846, allocations: 4 kB / 1.386 GB, free: 8.875 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002902/0.4849, allocations: 0.5169 MB / 1.386 GB, free: 8.355 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006515/0.4855, allocations: 0.5261 MB / 1.387 GB, free: 7.781 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002548/0.4858, allocations: 0.677 MB / 1.387 GB, free: 7.078 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 1.584e-05/0.4858, allocations: 48 / 1.387 GB, free: 7.078 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.762e-05/0.4859, allocations: 11.42 kB / 1.387 GB, free: 7.066 MB / 0.8855 GB Notification: Performance of SimCode: time 3.848e-06/0.4859, allocations: 4 kB / 1.387 GB, free: 7.062 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01411/0.5, allocations: 0.9596 MB / 1.388 GB, free: 6.312 MB / 0.8855 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002081/0.5002, allocations: 225.6 kB / 1.388 GB, free: 6.074 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 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: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 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: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_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