Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_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_IDEAS_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3LongHeader",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader,fileNamePrefix="IDEAS_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.005893/0.005893, allocations: 172 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.7094/0.7094, allocations: 135.2 MB / 151 MB, free: 13.78 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.366/1.366, allocations: 223.2 MB / 406.8 MB, free: 3.254 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.0008714/0.000871, allocations: 91.45 kB / 489.9 MB, free: 10.94 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003261/0.0003263, allocations: 15.98 kB / 0.5692 GB, free: 14.09 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3101/0.3104, allocations: 82.3 MB / 0.6495 GB, free: 36.17 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1806/0.4911, allocations: 111.2 MB / 0.7581 GB, free: 4.832 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003305/0.4915, allocations: 87.94 kB / 0.7582 GB, free: 4.746 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.004107/0.4956, allocations: 1.731 MB / 0.7599 GB, free: 3.016 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.565e-06/0.4956, allocations: 4 kB / 0.7599 GB, free: 3.012 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 7.144e-06/0.4956, allocations: 0 / 0.7599 GB, free: 3.012 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.0003537/0.496, allocations: 331.3 kB / 0.7602 GB, free: 2.641 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.861e-05/0.4961, allocations: 12.03 kB / 0.7602 GB, free: 2.629 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.02e-05/0.4961, allocations: 109.8 kB / 0.7603 GB, free: 2.512 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.9e-05/0.4962, allocations: 79.19 kB / 0.7604 GB, free: 2.434 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001823/0.4964, allocations: 238.3 kB / 0.7606 GB, free: 2.16 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.273e-05/0.4965, allocations: 162.6 kB / 0.7608 GB, free: 2 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.118e-05/0.4966, allocations: 150.6 kB / 0.7609 GB, free: 1.852 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.358e-05/0.4967, allocations: 101 kB / 0.761 GB, free: 1.746 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.902e-05/0.4967, allocations: 79.27 kB / 0.7611 GB, free: 1.668 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.809e-05/0.4968, allocations: 158.5 kB / 0.7612 GB, free: 1.512 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.649e-05/0.4969, allocations: 150.6 kB / 0.7614 GB, free: 1.363 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.169e-05/0.497, allocations: 158.6 kB / 0.7615 GB, free: 1.207 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000346/0.4973, allocations: 453.8 kB / 0.762 GB, free: 0.7148 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 8.825e-05/0.4974, allocations: 165.1 kB / 0.7621 GB, free: 0.543 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 5.344e-05/0.4975, allocations: 79.28 kB / 0.7622 GB, free: 476 kB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.037e-05/0.4975, allocations: 117.8 kB / 0.7623 GB, free: 348 kB / 0.5261 GB Notification: Performance of pre-optimization done (n=0): time 8.22e-07/0.4975, allocations: 0 / 0.7623 GB, free: 348 kB / 0.5261 GB Notification: Performance of matching and sorting (n=0): time 7.614e-05/0.4976, allocations: 29.7 kB / 0.7623 GB, free: 312 kB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.555e-05/0.4977, allocations: 126.7 kB / 0.7625 GB, free: 172 kB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001096/0.4978, allocations: 93 kB / 0.7626 GB, free: 72 kB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 1.746e-05/0.4978, allocations: 25.7 kB / 0.7626 GB, free: 40 kB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 7.338e-05/0.4979, allocations: 80.14 kB / 0.7627 GB, free: 15.96 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 1.824e-06/0.4979, allocations: 4 kB / 0.7627 GB, free: 15.95 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.21e-07/0.4979, allocations: 0 / 0.7627 GB, free: 15.95 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001449/0.4981, allocations: 318.8 kB / 0.763 GB, free: 15.63 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.577e-06/0.4981, allocations: 0 / 0.763 GB, free: 15.63 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.466e-05/0.4981, allocations: 4 kB / 0.763 GB, free: 15.63 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.321e-05/0.4981, allocations: 79.22 kB / 0.763 GB, free: 15.55 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.221e-05/0.4982, allocations: 75.28 kB / 0.7631 GB, free: 15.48 MB / 0.5417 GB Notification: Performance of matching and sorting (n=0) (initialization): time 5.404e-05/0.4982, allocations: 33.66 kB / 0.7631 GB, free: 15.44 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 4.183e-05/0.4983, allocations: 83.31 kB / 0.7632 GB, free: 15.36 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.775e-05/0.4983, allocations: 75.98 kB / 0.7633 GB, free: 15.28 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.117e-05/0.4984, allocations: 154.5 kB / 0.7634 GB, free: 15.13 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.564e-05/0.4985, allocations: 83.27 kB / 0.7635 GB, free: 15.05 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.87e-05/0.4985, allocations: 162.5 kB / 0.7637 GB, free: 14.89 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001026/0.4986, allocations: 75.28 kB / 0.7638 GB, free: 14.81 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.483e-05/0.4987, allocations: 83.28 kB / 0.7638 GB, free: 14.73 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.0001374/0.4988, allocations: 256.4 kB / 0.7641 GB, free: 14.47 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.249e-05/0.4989, allocations: 112.8 kB / 0.7642 GB, free: 14.35 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.516e-05/0.499, allocations: 112.1 kB / 0.7643 GB, free: 14.23 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.411e-05/0.4991, allocations: 184.2 kB / 0.7645 GB, free: 14.05 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.476e-05/0.4991, allocations: 180.3 kB / 0.7646 GB, free: 13.86 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.845e-05/0.4992, allocations: 178 kB / 0.7648 GB, free: 13.68 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002639/0.4995, allocations: 405.2 kB / 0.7652 GB, free: 13.23 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.899e-05/0.4996, allocations: 105 kB / 0.7653 GB, free: 13.12 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.959e-05/0.4996, allocations: 104.9 kB / 0.7654 GB, free: 13.01 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.184e-05/0.4997, allocations: 184.2 kB / 0.7656 GB, free: 12.82 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.601e-05/0.4998, allocations: 184.2 kB / 0.7657 GB, free: 12.64 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.589e-05/0.4998, allocations: 184.1 kB / 0.7659 GB, free: 12.45 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.834e-05/0.4999, allocations: 180.3 kB / 0.7661 GB, free: 12.27 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001574/0.5001, allocations: 307.8 kB / 0.7664 GB, free: 11.94 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 9.997e-05/0.5002, allocations: 190 kB / 0.7666 GB, free: 11.73 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.021e-05/0.5003, allocations: 180.2 kB / 0.7667 GB, free: 11.55 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.526e-05/0.5003, allocations: 105 kB / 0.7668 GB, free: 11.44 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.376e-05/0.5004, allocations: 188.6 kB / 0.767 GB, free: 11.25 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.934e-05/0.5005, allocations: 101 kB / 0.7671 GB, free: 11.14 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 4.185e-05/0.5005, allocations: 79.28 kB / 0.7672 GB, free: 11.06 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.6e-07/0.5005, allocations: 4 kB / 0.7672 GB, free: 11.06 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0002705/0.5008, allocations: 4 kB / 0.7672 GB, free: 11.05 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.001099/0.5019, allocations: 0.8201 MB / 0.768 GB, free: 10.21 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 8.658e-05/0.502, allocations: 4 kB / 0.768 GB, free: 10.2 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 3.006e-06/0.502, allocations: 0 / 0.768 GB, free: 10.2 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 1.343e-06/0.502, allocations: 0 / 0.768 GB, free: 10.2 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004949/0.5025, allocations: 0.5263 MB / 0.7685 GB, free: 9.672 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001056/0.5036, allocations: 0.5269 MB / 0.769 GB, free: 9.098 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004568/0.5041, allocations: 0.6732 MB / 0.7697 GB, free: 8.398 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 2.733e-05/0.5041, allocations: 11.89 kB / 0.7697 GB, free: 8.387 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.722e-05/0.5041, allocations: 7.438 kB / 0.7697 GB, free: 8.379 MB / 0.5417 GB Notification: Performance of SimCode: time 4.71e-07/0.5041, allocations: 3.938 kB / 0.7697 GB, free: 8.375 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05821/0.5624, allocations: 0.9481 MB / 0.7706 GB, free: 7.617 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003303/0.5628, allocations: 208 kB / 0.7708 GB, free: 7.383 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_IDEAS_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3LongHeader.o IDEAS_IDEAS_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3LongHeader.c In file included from IDEAS_IDEAS_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3LongHeader.c:7: In file included from ./IDEAS_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_IDEAS_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3LongHeader_functions.o IDEAS_IDEAS_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3LongHeader_functions.c In file included from IDEAS_IDEAS_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3LongHeader_functions.c:2: In file included from ./IDEAS_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_IDEAS_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3LongHeader_functions.c:7: In file included from ./IDEAS_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_IDEAS_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3LongHeader_functions.o] Error 1