Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.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/IBPSA 4.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 IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.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(IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader,fileNamePrefix="IBPSA_latest_IBPSA_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3LongHeader",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader,fileNamePrefix="IBPSA_latest_IBPSA_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.0009666/0.0009666, allocations: 179.4 kB / 13.19 MB, free: 2.133 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.5005/0.5005, allocations: 90.8 MB / 104.5 MB, free: 13.93 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.432/1.432, allocations: 221.3 MB / 348.3 MB, free: 12.61 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009438/0.0009439, allocations: 88.02 kB / 421.2 MB, free: 5.746 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 3.611e-05/3.631e-05, allocations: 4 kB / 0.4897 GB, free: 46.55 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1329/0.133, allocations: 72.31 MB / 0.5603 GB, free: 6.332 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4977/0.6308, allocations: 101.3 MB / 0.6593 GB, free: 6.52 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002638/0.6311, allocations: 79.27 kB / 0.6594 GB, free: 6.477 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.003679/0.6348, allocations: 1.557 MB / 0.6609 GB, free: 5.387 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.543e-06/0.6348, allocations: 0 / 0.6609 GB, free: 5.387 MB / 458.7 MB Notification: Performance of Transformations before backend: time 5.41e-06/0.6348, allocations: 0 / 0.6609 GB, free: 5.387 MB / 458.7 MB 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.0002948/0.6351, allocations: 333.5 kB / 0.6612 GB, free: 5.02 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.082e-05/0.6352, allocations: 15.98 kB / 0.6612 GB, free: 5.004 MB / 458.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.027e-05/0.6352, allocations: 105.8 kB / 0.6613 GB, free: 4.891 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.168e-05/0.6353, allocations: 79.23 kB / 0.6614 GB, free: 4.812 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001765/0.6355, allocations: 237.7 kB / 0.6616 GB, free: 4.543 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.443e-05/0.6356, allocations: 154.6 kB / 0.6618 GB, free: 4.391 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.807e-05/0.6356, allocations: 154.6 kB / 0.6619 GB, free: 4.238 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.357e-05/0.6357, allocations: 101 kB / 0.662 GB, free: 4.133 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.718e-05/0.6357, allocations: 79.27 kB / 0.6621 GB, free: 4.055 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.121e-05/0.6358, allocations: 154.5 kB / 0.6622 GB, free: 3.902 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.859e-05/0.6358, allocations: 150.6 kB / 0.6624 GB, free: 3.754 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.028e-05/0.6359, allocations: 154.5 kB / 0.6625 GB, free: 3.602 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002825/0.6362, allocations: 453.4 kB / 0.663 GB, free: 3.117 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.032e-05/0.6363, allocations: 168.3 kB / 0.6631 GB, free: 2.945 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.395e-05/0.6363, allocations: 80.14 kB / 0.6632 GB, free: 2.863 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.703e-05/0.6363, allocations: 83.22 kB / 0.6633 GB, free: 2.781 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.88e-05/0.6364, allocations: 113.8 kB / 0.6634 GB, free: 2.66 MB / 458.7 MB Notification: Performance of pre-optimization done (n=0): time 1.262e-06/0.6364, allocations: 0 / 0.6634 GB, free: 2.66 MB / 458.7 MB Notification: Performance of matching and sorting (n=0): time 7.126e-05/0.6365, allocations: 25.7 kB / 0.6634 GB, free: 2.629 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.132e-05/0.6366, allocations: 126.7 kB / 0.6635 GB, free: 2.492 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.677e-05/0.6367, allocations: 96 kB / 0.6636 GB, free: 2.395 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 1.503e-05/0.6367, allocations: 25.7 kB / 0.6636 GB, free: 2.363 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.84e-05/0.6367, allocations: 80.14 kB / 0.6637 GB, free: 2.281 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.805e-06/0.6367, allocations: 4 kB / 0.6637 GB, free: 2.277 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.21e-07/0.6367, allocations: 0 / 0.6637 GB, free: 2.277 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001072/0.6369, allocations: 321.8 kB / 0.664 GB, free: 1.957 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.636e-06/0.6369, allocations: 0 / 0.664 GB, free: 1.957 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.256e-05/0.6369, allocations: 7.938 kB / 0.664 GB, free: 1.949 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.201e-05/0.6369, allocations: 75.28 kB / 0.6641 GB, free: 1.875 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.696e-05/0.637, allocations: 79.22 kB / 0.6642 GB, free: 1.797 MB / 458.7 MB Notification: Performance of matching and sorting (n=0) (initialization): time 5.534e-05/0.637, allocations: 30.41 kB / 0.6642 GB, free: 1.762 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.692e-05/0.6371, allocations: 84.09 kB / 0.6643 GB, free: 1.68 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.725e-05/0.6371, allocations: 75.28 kB / 0.6644 GB, free: 1.605 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.498e-05/0.6372, allocations: 162.6 kB / 0.6645 GB, free: 1.445 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.678e-05/0.6372, allocations: 86.27 kB / 0.6646 GB, free: 1.363 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.189e-05/0.6373, allocations: 154.5 kB / 0.6648 GB, free: 1.211 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.521e-05/0.6374, allocations: 75.28 kB / 0.6648 GB, free: 1.137 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.457e-05/0.6374, allocations: 87.27 kB / 0.6649 GB, free: 1.051 MB / 458.7 MB 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 9.922e-05/0.6375, allocations: 259.4 kB / 0.6652 GB, free: 0.7891 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.729e-05/0.6376, allocations: 104.3 kB / 0.6653 GB, free: 0.6836 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.592e-05/0.6376, allocations: 112.1 kB / 0.6654 GB, free: 0.5664 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.229e-05/0.6377, allocations: 180.2 kB / 0.6655 GB, free: 392 kB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.392e-05/0.6378, allocations: 180.3 kB / 0.6657 GB, free: 204 kB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.14e-05/0.6378, allocations: 180.2 kB / 0.6659 GB, free: 16 kB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000247/0.6381, allocations: 408.5 kB / 0.6663 GB, free: 15.56 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.354e-05/0.6381, allocations: 101 kB / 0.6664 GB, free: 15.46 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.386e-05/0.6382, allocations: 108.9 kB / 0.6665 GB, free: 15.34 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.451e-05/0.6382, allocations: 179.3 kB / 0.6666 GB, free: 15.16 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.203e-05/0.6383, allocations: 185.2 kB / 0.6668 GB, free: 14.98 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.83e-05/0.6384, allocations: 180.2 kB / 0.667 GB, free: 14.79 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.759e-05/0.6385, allocations: 180.3 kB / 0.6672 GB, free: 14.61 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001403/0.6386, allocations: 307.1 kB / 0.6675 GB, free: 14.29 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.954e-05/0.6387, allocations: 194 kB / 0.6676 GB, free: 14.07 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.896e-05/0.6388, allocations: 179 kB / 0.6678 GB, free: 13.89 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.697e-05/0.6389, allocations: 101.4 kB / 0.6679 GB, free: 13.79 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.699e-05/0.6389, allocations: 184.2 kB / 0.6681 GB, free: 13.6 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.351e-05/0.639, allocations: 105 kB / 0.6682 GB, free: 13.49 MB / 474.7 MB Notification: Performance of sorting global known variables: time 4.881e-05/0.639, allocations: 82.28 kB / 0.6683 GB, free: 13.41 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.6391, allocations: 0 / 0.6683 GB, free: 13.41 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.0002623/0.6393, allocations: 12 kB / 0.6683 GB, free: 13.4 MB / 474.7 MB 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.0004862/0.6398, allocations: 0.8199 MB / 0.6691 GB, free: 12.56 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 3.857e-05/0.6399, allocations: 0 / 0.6691 GB, free: 12.56 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.6399, allocations: 4 kB / 0.6691 GB, free: 12.55 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 1.703e-06/0.6399, allocations: 0 / 0.6691 GB, free: 12.55 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002731/0.6402, allocations: 0.5268 MB / 0.6696 GB, free: 12.03 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003589/0.6405, allocations: 155.4 kB / 0.6697 GB, free: 11.84 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002524/0.6408, allocations: 0.677 MB / 0.6704 GB, free: 11.14 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 1.867e-05/0.6408, allocations: 7.938 kB / 0.6704 GB, free: 11.13 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.725e-05/0.6409, allocations: 11.44 kB / 0.6704 GB, free: 11.12 MB / 474.7 MB Notification: Performance of SimCode: time 6.91e-07/0.6409, allocations: 0 / 0.6704 GB, free: 11.12 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01395/0.6548, allocations: 0.97 MB / 0.6714 GB, free: 10.36 MB / 474.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002539/0.6551, allocations: 191.7 kB / 0.6715 GB, free: 10.14 MB / 474.7 MB 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/IBPSA 4.0.0-master/Resources/C-Sources" -c -o IBPSA_latest_IBPSA_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3LongHeader.o IBPSA_latest_IBPSA_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3LongHeader.c In file included from IBPSA_latest_IBPSA_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3LongHeader.c:7: In file included from ./IBPSA_latest_IBPSA_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/IBPSA 4.0.0-master/Resources/C-Sources" -c -o IBPSA_latest_IBPSA_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3LongHeader_functions.o IBPSA_latest_IBPSA_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3LongHeader_functions.c In file included from IBPSA_latest_IBPSA_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3LongHeader_functions.c:2: In file included from ./IBPSA_latest_IBPSA_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 IBPSA_latest_IBPSA_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3LongHeader_functions.c:7: In file included from ./IBPSA_latest_IBPSA_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3LongHeader_includes.h:4: /home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.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: *** [: IBPSA_latest_IBPSA_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3LongHeader_functions.o] Error 1