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.002589/0.002589, allocations: 173.9 kB / 12.73 MB, free: 2.59 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7852/0.7852, allocations: 133.4 MB / 146.7 MB, free: 10.79 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.651/1.651, allocations: 221.3 MB / 400.4 MB, free: 5.859 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008815/0.0008815, allocations: 87.16 kB / 483.3 MB, free: 5.906 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 2.849e-05/2.851e-05, allocations: 4.406 kB / 0.5601 GB, free: 87.91 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1668/0.1668, allocations: 82.3 MB / 0.6405 GB, free: 7.754 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6334/0.8003, allocations: 111.1 MB / 0.749 GB, free: 11.64 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003175/0.8006, allocations: 84.69 kB / 0.7491 GB, free: 11.64 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 0.004942/0.8056, allocations: 1.558 MB / 0.7506 GB, free: 27.29 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.743e-06/0.8056, allocations: 0 / 0.7506 GB, free: 27.29 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 7.214e-06/0.8056, allocations: 0 / 0.7506 GB, free: 27.29 MB / 0.5105 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.0002889/0.8059, allocations: 326.3 kB / 0.7509 GB, free: 26.94 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 5.323e-05/0.806, allocations: 11.53 kB / 0.751 GB, free: 26.94 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.344e-05/0.8061, allocations: 105.8 kB / 0.7511 GB, free: 26.82 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.95e-05/0.8062, allocations: 76.06 kB / 0.7511 GB, free: 26.75 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002081/0.8064, allocations: 245.1 kB / 0.7514 GB, free: 26.48 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.979e-05/0.8065, allocations: 154.6 kB / 0.7515 GB, free: 26.32 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.555e-05/0.8066, allocations: 154.1 kB / 0.7517 GB, free: 26.18 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.603e-05/0.8066, allocations: 104.9 kB / 0.7518 GB, free: 26.07 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.468e-05/0.8067, allocations: 79.25 kB / 0.7518 GB, free: 25.99 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.152e-05/0.8068, allocations: 150.6 kB / 0.752 GB, free: 25.84 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.207e-05/0.8068, allocations: 150.6 kB / 0.7521 GB, free: 25.7 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.7e-05/0.8069, allocations: 154.6 kB / 0.7523 GB, free: 25.54 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003301/0.8072, allocations: 452.3 kB / 0.7527 GB, free: 25.06 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 8.798e-05/0.8073, allocations: 169.1 kB / 0.7529 GB, free: 24.89 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.18e-05/0.8074, allocations: 80.14 kB / 0.7529 GB, free: 24.8 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 3.724e-05/0.8074, allocations: 83.22 kB / 0.753 GB, free: 24.72 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.205e-05/0.8075, allocations: 112.2 kB / 0.7531 GB, free: 24.61 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=0): time 1.372e-06/0.8075, allocations: 0 / 0.7531 GB, free: 24.61 MB / 0.5105 GB Notification: Performance of matching and sorting (n=0): time 8.692e-05/0.8076, allocations: 36.31 kB / 0.7532 GB, free: 24.57 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.601e-05/0.8077, allocations: 130.6 kB / 0.7533 GB, free: 24.43 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.952e-05/0.8078, allocations: 92.83 kB / 0.7534 GB, free: 24.34 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 1.692e-05/0.8078, allocations: 29.64 kB / 0.7534 GB, free: 24.3 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 5.396e-05/0.8079, allocations: 94.16 kB / 0.7535 GB, free: 24.22 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 2.595e-06/0.8079, allocations: 0 / 0.7535 GB, free: 24.22 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.11e-07/0.8079, allocations: 0 / 0.7535 GB, free: 24.22 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001299/0.808, allocations: 310.8 kB / 0.7538 GB, free: 23.91 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.028e-06/0.808, allocations: 0 / 0.7538 GB, free: 23.91 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.407e-05/0.8081, allocations: 0 / 0.7538 GB, free: 23.91 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.264e-05/0.8081, allocations: 79.12 kB / 0.7539 GB, free: 23.83 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.675e-05/0.8082, allocations: 79.23 kB / 0.7539 GB, free: 23.75 MB / 0.5105 GB Notification: Performance of matching and sorting (n=0) (initialization): time 7.032e-05/0.8082, allocations: 33.39 kB / 0.754 GB, free: 23.72 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 4.584e-05/0.8083, allocations: 83.09 kB / 0.754 GB, free: 23.64 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.569e-05/0.8083, allocations: 79.22 kB / 0.7541 GB, free: 23.57 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.755e-05/0.8084, allocations: 153.9 kB / 0.7543 GB, free: 23.42 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.903e-05/0.8085, allocations: 83.22 kB / 0.7543 GB, free: 23.34 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.552e-05/0.8086, allocations: 154.4 kB / 0.7545 GB, free: 23.19 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001268/0.8087, allocations: 82.52 kB / 0.7546 GB, free: 23.11 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.318e-05/0.8087, allocations: 79.22 kB / 0.7546 GB, free: 23.03 MB / 0.5105 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 0.0001285/0.8089, allocations: 255.4 kB / 0.7549 GB, free: 22.78 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.57e-05/0.809, allocations: 107.9 kB / 0.755 GB, free: 22.67 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.891e-05/0.809, allocations: 114.7 kB / 0.7551 GB, free: 22.55 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.538e-05/0.8091, allocations: 176.3 kB / 0.7553 GB, free: 22.38 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.01e-05/0.8092, allocations: 180.3 kB / 0.7554 GB, free: 22.19 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.579e-05/0.8093, allocations: 183.7 kB / 0.7556 GB, free: 22.01 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002741/0.8096, allocations: 399.7 kB / 0.756 GB, free: 21.57 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.761e-05/0.8096, allocations: 107.3 kB / 0.7561 GB, free: 21.46 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.182e-05/0.8097, allocations: 104.9 kB / 0.7562 GB, free: 21.35 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.56e-05/0.8098, allocations: 187.5 kB / 0.7564 GB, free: 21.16 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.847e-05/0.8099, allocations: 181.2 kB / 0.7566 GB, free: 20.98 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.555e-05/0.81, allocations: 179.4 kB / 0.7567 GB, free: 20.8 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.146e-05/0.8101, allocations: 180.2 kB / 0.7569 GB, free: 20.62 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001926/0.8103, allocations: 318 kB / 0.7572 GB, free: 20.29 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001022/0.8104, allocations: 181.9 kB / 0.7574 GB, free: 20.09 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.465e-05/0.8105, allocations: 183.5 kB / 0.7575 GB, free: 19.91 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000116/0.8106, allocations: 109 kB / 0.7577 GB, free: 19.8 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.535e-05/0.8107, allocations: 180.2 kB / 0.7578 GB, free: 19.62 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.843e-05/0.8108, allocations: 104.9 kB / 0.7579 GB, free: 19.51 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 5.504e-05/0.8108, allocations: 86.78 kB / 0.758 GB, free: 19.43 MB / 0.5105 GB Notification: Performance of sort global known variables: time 2.41e-07/0.8108, allocations: 0 / 0.758 GB, free: 19.43 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0003715/0.8112, allocations: 6.984 kB / 0.758 GB, free: 19.43 MB / 0.5105 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.0006705/0.8119, allocations: 0.8148 MB / 0.7588 GB, free: 18.62 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 5.331e-05/0.812, allocations: 4 kB / 0.7588 GB, free: 18.62 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 3.787e-06/0.812, allocations: 0 / 0.7588 GB, free: 18.62 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 2.515e-06/0.812, allocations: 3.938 kB / 0.7588 GB, free: 18.62 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004316/0.8124, allocations: 0.5237 MB / 0.7593 GB, free: 18.09 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004781/0.8129, allocations: 156.9 kB / 0.7595 GB, free: 17.92 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004603/0.8134, allocations: 0.6766 MB / 0.7601 GB, free: 17.22 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 2.37e-05/0.8134, allocations: 0 / 0.7601 GB, free: 17.22 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.012e-05/0.8135, allocations: 10.95 kB / 0.7601 GB, free: 17.21 MB / 0.5105 GB Notification: Performance of SimCode: time 3.51e-07/0.8135, allocations: 0 / 0.7601 GB, free: 17.21 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0146/0.8281, allocations: 0.9596 MB / 0.7611 GB, free: 17.07 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001775/0.8283, allocations: 183.6 kB / 0.7613 GB, free: 16.85 MB / 0.5105 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/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: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/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: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 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