Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader.conf.json 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/IDEAS 3.0.0-master/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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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) Running command: "" <> buildModelFMU(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader,fileNamePrefix="IDEAS_dev_IDEAS_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3LongHeader",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader,fileNamePrefix="IDEAS_dev_IDEAS_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3LongHeader",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.007289/0.007289, allocations: 171.9 kB / 15.11 MB, free: 5.969 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7918/0.7918, allocations: 135.2 MB / 151 MB, free: 13.83 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.428/1.428, allocations: 223.2 MB / 406.8 MB, free: 3.23 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009272/0.0009271, allocations: 102.3 kB / 489.9 MB, free: 10.92 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003431/0.0003429, allocations: 16 kB / 0.5692 GB, free: 14.06 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3509/0.3512, allocations: 82.3 MB / 0.6495 GB, free: 36.14 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1445/0.4958, allocations: 111.2 MB / 0.7581 GB, free: 4.809 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003346/0.4962, allocations: 91.94 kB / 0.7582 GB, free: 4.719 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.004344/0.5006, allocations: 1.731 MB / 0.7599 GB, free: 2.988 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.485e-06/0.5006, allocations: 0 / 0.7599 GB, free: 2.988 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 6.212e-06/0.5006, allocations: 3.938 kB / 0.7599 GB, free: 2.984 MB / 0.5261 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.0002936/0.5009, allocations: 331.4 kB / 0.7602 GB, free: 2.613 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 5.153e-05/0.501, allocations: 8.031 kB / 0.7602 GB, free: 2.605 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.85e-05/0.501, allocations: 109.8 kB / 0.7603 GB, free: 2.488 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.729e-05/0.5011, allocations: 83.19 kB / 0.7604 GB, free: 2.406 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001747/0.5013, allocations: 246.3 kB / 0.7606 GB, free: 2.125 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.31e-05/0.5014, allocations: 154.6 kB / 0.7608 GB, free: 1.973 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.761e-05/0.5014, allocations: 154.6 kB / 0.7609 GB, free: 1.82 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.766e-05/0.5015, allocations: 104.9 kB / 0.761 GB, free: 1.711 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.739e-05/0.5015, allocations: 79.28 kB / 0.7611 GB, free: 1.633 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.388e-05/0.5016, allocations: 150.6 kB / 0.7613 GB, free: 1.484 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.439e-05/0.5017, allocations: 150.6 kB / 0.7614 GB, free: 1.336 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.14e-05/0.5018, allocations: 150.6 kB / 0.7615 GB, free: 1.188 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003206/0.5021, allocations: 457.9 kB / 0.762 GB, free: 0.6914 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 8.514e-05/0.5022, allocations: 173 kB / 0.7621 GB, free: 0.5117 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 2.982e-05/0.5022, allocations: 75.28 kB / 0.7622 GB, free: 448 kB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.839e-05/0.5023, allocations: 105.8 kB / 0.7623 GB, free: 332 kB / 0.5261 GB Notification: Performance of pre-optimization done (n=0): time 9.12e-07/0.5023, allocations: 4 kB / 0.7623 GB, free: 328 kB / 0.5261 GB Notification: Performance of matching and sorting (n=0): time 8.018e-05/0.5024, allocations: 29.7 kB / 0.7623 GB, free: 292 kB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.672e-05/0.5024, allocations: 130.7 kB / 0.7625 GB, free: 148 kB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.86e-05/0.5025, allocations: 92.98 kB / 0.7626 GB, free: 48 kB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 1.476e-05/0.5026, allocations: 25.7 kB / 0.7626 GB, free: 16 kB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 6.076e-05/0.5026, allocations: 84.14 kB / 0.7627 GB, free: 15.93 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 1.873e-06/0.5026, allocations: 0 / 0.7627 GB, free: 15.93 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.51e-07/0.5026, allocations: 0 / 0.7627 GB, free: 15.93 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001199/0.5028, allocations: 314.8 kB / 0.763 GB, free: 15.61 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.311e-06/0.5028, allocations: 0 / 0.763 GB, free: 15.61 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.125e-05/0.5028, allocations: 7.938 kB / 0.763 GB, free: 15.61 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.187e-05/0.5028, allocations: 79.28 kB / 0.763 GB, free: 15.53 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.601e-05/0.5029, allocations: 75.28 kB / 0.7631 GB, free: 15.45 MB / 0.5417 GB Notification: Performance of matching and sorting (n=0) (initialization): time 5.155e-05/0.5029, allocations: 33.64 kB / 0.7632 GB, free: 15.41 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 4.862e-05/0.503, allocations: 83.28 kB / 0.7632 GB, free: 15.33 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.54e-05/0.503, allocations: 79.92 kB / 0.7633 GB, free: 15.25 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.927e-05/0.5031, allocations: 150.6 kB / 0.7635 GB, free: 15.11 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.564e-05/0.5031, allocations: 79.31 kB / 0.7635 GB, free: 15.03 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.852e-05/0.5032, allocations: 166.5 kB / 0.7637 GB, free: 14.86 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001042/0.5033, allocations: 75.28 kB / 0.7638 GB, free: 14.79 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.91e-05/0.5033, allocations: 79.22 kB / 0.7638 GB, free: 14.71 MB / 0.5417 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.0001258/0.5035, allocations: 264.4 kB / 0.7641 GB, free: 14.44 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.851e-05/0.5035, allocations: 108.9 kB / 0.7642 GB, free: 14.33 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.491e-05/0.5036, allocations: 104.1 kB / 0.7643 GB, free: 14.22 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.169e-05/0.5037, allocations: 188.2 kB / 0.7645 GB, free: 14.03 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.687e-05/0.5037, allocations: 184.2 kB / 0.7646 GB, free: 13.84 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.736e-05/0.5038, allocations: 181.9 kB / 0.7648 GB, free: 13.66 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002553/0.5041, allocations: 401.2 kB / 0.7652 GB, free: 13.21 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.511e-05/0.5041, allocations: 109 kB / 0.7653 GB, free: 13.09 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.653e-05/0.5042, allocations: 108.9 kB / 0.7654 GB, free: 12.98 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.949e-05/0.5043, allocations: 180.2 kB / 0.7656 GB, free: 12.8 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.239e-05/0.5044, allocations: 184.2 kB / 0.7658 GB, free: 12.61 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.217e-05/0.5045, allocations: 176.3 kB / 0.7659 GB, free: 12.43 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.807e-05/0.5045, allocations: 184.2 kB / 0.7661 GB, free: 12.24 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000168/0.5047, allocations: 311.9 kB / 0.7664 GB, free: 11.91 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 7.977e-05/0.5048, allocations: 186 kB / 0.7666 GB, free: 11.71 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.597e-05/0.5049, allocations: 192.2 kB / 0.7668 GB, free: 11.51 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.062e-05/0.505, allocations: 101 kB / 0.7669 GB, free: 11.41 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.683e-05/0.5051, allocations: 184.6 kB / 0.767 GB, free: 11.22 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.673e-05/0.5051, allocations: 105 kB / 0.7671 GB, free: 11.11 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 5.104e-05/0.5052, allocations: 83.27 kB / 0.7672 GB, free: 11.03 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.3e-07/0.5052, allocations: 0 / 0.7672 GB, free: 11.03 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0002737/0.5055, allocations: 0 / 0.7672 GB, free: 11.03 MB / 0.5417 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.0006393/0.5061, allocations: 0.8198 MB / 0.768 GB, free: 10.18 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 4.747e-05/0.5062, allocations: 4 kB / 0.768 GB, free: 10.18 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.5062, allocations: 0 / 0.768 GB, free: 10.18 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 1.312e-06/0.5062, allocations: 0 / 0.768 GB, free: 10.18 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003099/0.5065, allocations: 0.5301 MB / 0.7685 GB, free: 9.641 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006693/0.5072, allocations: 0.5153 MB / 0.769 GB, free: 9.078 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002786/0.5075, allocations: 0.677 MB / 0.7697 GB, free: 8.375 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 1.95e-05/0.5075, allocations: 3.906 kB / 0.7697 GB, free: 8.371 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.99e-05/0.5075, allocations: 19.12 kB / 0.7697 GB, free: 8.355 MB / 0.5417 GB Notification: Performance of SimCode: time 2.4e-07/0.5076, allocations: 0 / 0.7697 GB, free: 8.355 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01326/0.5208, allocations: 0.9558 MB / 0.7707 GB, free: 7.59 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002142/0.5211, allocations: 220.5 kB / 0.7709 GB, free: 7.344 MB / 0.5417 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/IDEAS 3.0.0-master/Resources/C-Sources" -c -o IDEAS_dev_IDEAS_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3LongHeader.o IDEAS_dev_IDEAS_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3LongHeader.c In file included from IDEAS_dev_IDEAS_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3LongHeader.c:7: In file included from ./IDEAS_dev_IDEAS_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/IDEAS 3.0.0-master/Resources/C-Sources" -c -o IDEAS_dev_IDEAS_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3LongHeader_functions.o IDEAS_dev_IDEAS_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3LongHeader_functions.c In file included from IDEAS_dev_IDEAS_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3LongHeader_functions.c:2: In file included from ./IDEAS_dev_IDEAS_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 IDEAS_dev_IDEAS_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3LongHeader_functions.c:7: In file included from ./IDEAS_dev_IDEAS_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3LongHeader_includes.h:4: /home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.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: *** [: IDEAS_dev_IDEAS_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3LongHeader_functions.o] Error 1