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.00205/0.002051, allocations: 175.2 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 1.226/1.226, 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 2.584/2.584, allocations: 221.3 MB / 400.4 MB, free: 5.852 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.001267/0.001267, allocations: 92.95 kB / 483.3 MB, free: 5.895 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 8.465e-05/8.503e-05, allocations: 4.031 kB / 0.5601 GB, free: 87.79 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3114/0.3116, allocations: 82.3 MB / 0.6405 GB, free: 7.746 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.125/1.437, allocations: 111.1 MB / 0.749 GB, free: 11.84 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003938/1.437, allocations: 82.75 kB / 0.7491 GB, free: 11.84 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 0.006107/1.443, allocations: 1.559 MB / 0.7506 GB, free: 27.49 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.966e-06/1.443, allocations: 1.156 kB / 0.7506 GB, free: 27.49 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 1.084e-05/1.443, allocations: 0 / 0.7506 GB, free: 27.49 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.0004301/1.444, allocations: 324.5 kB / 0.7509 GB, free: 27.14 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 8.948e-05/1.444, allocations: 11.53 kB / 0.751 GB, free: 27.14 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001112/1.444, allocations: 105.8 kB / 0.7511 GB, free: 27.03 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001289/1.444, allocations: 76.06 kB / 0.7511 GB, free: 26.96 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002739/1.444, allocations: 245.2 kB / 0.7514 GB, free: 26.68 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001028/1.445, allocations: 150.6 kB / 0.7515 GB, free: 26.54 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001049/1.445, allocations: 154.5 kB / 0.7517 GB, free: 26.38 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001204/1.445, allocations: 102.6 kB / 0.7518 GB, free: 26.28 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.472e-05/1.445, allocations: 83.06 kB / 0.7518 GB, free: 26.2 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001117/1.445, allocations: 154.6 kB / 0.752 GB, free: 26.05 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.781e-05/1.445, allocations: 150.6 kB / 0.7521 GB, free: 25.9 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001244/1.445, allocations: 150.6 kB / 0.7523 GB, free: 25.75 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005163/1.446, allocations: 460 kB / 0.7527 GB, free: 25.27 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001398/1.446, allocations: 173.1 kB / 0.7529 GB, free: 25.09 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.55e-05/1.446, allocations: 80.14 kB / 0.7529 GB, free: 25.01 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 5.763e-05/1.446, allocations: 79.22 kB / 0.753 GB, free: 24.93 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.386e-05/1.446, allocations: 108.6 kB / 0.7531 GB, free: 24.82 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=0): time 2.915e-06/1.446, allocations: 0 / 0.7531 GB, free: 24.82 MB / 0.5105 GB Notification: Performance of matching and sorting (n=0): time 0.0001223/1.446, allocations: 37.39 kB / 0.7532 GB, free: 24.78 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001104/1.446, allocations: 130.7 kB / 0.7533 GB, free: 24.64 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001484/1.447, allocations: 95.67 kB / 0.7534 GB, free: 24.55 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 2.219e-05/1.447, allocations: 25.7 kB / 0.7534 GB, free: 24.52 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 6.751e-05/1.447, allocations: 83.95 kB / 0.7535 GB, free: 24.43 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 3.296e-06/1.447, allocations: 0 / 0.7535 GB, free: 24.43 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.51e-07/1.447, allocations: 0 / 0.7535 GB, free: 24.43 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001964/1.447, allocations: 314.5 kB / 0.7538 GB, free: 24.12 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.681e-06/1.447, allocations: 0 / 0.7538 GB, free: 24.12 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.165e-05/1.447, allocations: 4 kB / 0.7538 GB, free: 24.12 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.092e-05/1.447, allocations: 79.12 kB / 0.7539 GB, free: 24.04 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.921e-05/1.447, allocations: 79.23 kB / 0.7539 GB, free: 23.96 MB / 0.5105 GB Notification: Performance of matching and sorting (n=0) (initialization): time 0.00015/1.447, allocations: 29.17 kB / 0.754 GB, free: 23.93 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 6.79e-05/1.447, allocations: 87.84 kB / 0.754 GB, free: 23.86 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.903e-05/1.447, allocations: 75.28 kB / 0.7541 GB, free: 23.78 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001059/1.447, allocations: 150.6 kB / 0.7543 GB, free: 23.63 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.651e-05/1.448, allocations: 91.09 kB / 0.7543 GB, free: 23.55 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001041/1.448, allocations: 150.6 kB / 0.7545 GB, free: 23.4 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002187/1.448, allocations: 86.92 kB / 0.7546 GB, free: 23.32 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.538e-05/1.448, allocations: 79.12 kB / 0.7546 GB, free: 23.25 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.0002265/1.448, allocations: 251.5 kB / 0.7549 GB, free: 22.99 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001129/1.448, allocations: 104.9 kB / 0.755 GB, free: 22.88 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001058/1.448, allocations: 118.5 kB / 0.7551 GB, free: 22.77 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.848e-05/1.449, allocations: 176.3 kB / 0.7553 GB, free: 22.59 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001166/1.449, allocations: 184 kB / 0.7554 GB, free: 22.4 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001044/1.449, allocations: 179.1 kB / 0.7556 GB, free: 22.22 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003277/1.449, allocations: 399.9 kB / 0.756 GB, free: 21.78 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.346e-05/1.449, allocations: 108.9 kB / 0.7561 GB, free: 21.67 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.438e-05/1.449, allocations: 112.8 kB / 0.7562 GB, free: 21.55 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001167/1.449, allocations: 184.7 kB / 0.7564 GB, free: 21.37 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001223/1.45, allocations: 179.6 kB / 0.7566 GB, free: 21.19 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001119/1.45, allocations: 176.3 kB / 0.7567 GB, free: 21.01 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0001098/1.45, allocations: 180.2 kB / 0.7569 GB, free: 20.83 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002123/1.45, allocations: 318.2 kB / 0.7572 GB, free: 20.5 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001501/1.45, allocations: 184.8 kB / 0.7574 GB, free: 20.3 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001402/1.45, allocations: 185 kB / 0.7576 GB, free: 20.12 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001569/1.451, allocations: 109.3 kB / 0.7577 GB, free: 20.01 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001269/1.451, allocations: 187 kB / 0.7578 GB, free: 19.82 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.789e-05/1.451, allocations: 104.9 kB / 0.7579 GB, free: 19.71 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 7.556e-05/1.451, allocations: 79.12 kB / 0.758 GB, free: 19.64 MB / 0.5105 GB Notification: Performance of sort global known variables: time 2.9e-07/1.451, allocations: 0 / 0.758 GB, free: 19.64 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0004828/1.451, allocations: 3.844 kB / 0.758 GB, free: 19.64 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.0008187/1.452, allocations: 0.8178 MB / 0.7588 GB, free: 18.83 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 6.638e-05/1.452, allocations: 3.938 kB / 0.7588 GB, free: 18.82 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 3.456e-06/1.452, allocations: 0 / 0.7588 GB, free: 18.82 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 3.366e-06/1.452, allocations: 3.844 kB / 0.7588 GB, free: 18.82 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005309/1.453, allocations: 0.5262 MB / 0.7593 GB, free: 18.3 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006039/1.453, allocations: 148.7 kB / 0.7595 GB, free: 18.12 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004613/1.454, allocations: 0.6781 MB / 0.7601 GB, free: 17.43 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 2.479e-05/1.454, allocations: 0 / 0.7601 GB, free: 17.43 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.799e-05/1.454, allocations: 7.438 kB / 0.7601 GB, free: 17.42 MB / 0.5105 GB Notification: Performance of SimCode: time 5.81e-07/1.454, allocations: 3.844 kB / 0.7602 GB, free: 17.42 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02247/1.477, allocations: 0.9557 MB / 0.7611 GB, free: 17.29 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002405/1.477, allocations: 192.5 kB / 0.7613 GB, free: 17.06 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_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: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_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: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_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