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.001305/0.001305, allocations: 184 kB / 15.76 MB, free: 6.363 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.4426/0.4426, allocations: 91.98 MB / 108.5 MB, free: 13.07 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.212/1.212, allocations: 223.2 MB / 354.3 MB, free: 12.13 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.0008814/0.000881, allocations: 100.2 kB / 427.4 MB, free: 3.82 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002964/0.0002965, allocations: 8 kB / 0.4983 GB, free: 42.19 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1034/0.1037, allocations: 72.3 MB / 0.5689 GB, free: 1.824 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3627/0.4664, allocations: 101.4 MB / 0.6679 GB, free: 2.934 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002246/0.4666, allocations: 91.92 kB / 0.668 GB, free: 2.844 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.003543/0.4702, allocations: 1.737 MB / 0.6697 GB, free: 1.125 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.325e-06/0.4702, allocations: 0 / 0.6697 GB, free: 1.125 MB / 458.7 MB Notification: Performance of Transformations before backend: time 1.343e-05/0.4703, allocations: 0 / 0.6697 GB, free: 1.125 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.000291/0.4705, allocations: 339.8 kB / 0.6701 GB, free: 0.7461 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.843e-05/0.4706, allocations: 8.031 kB / 0.6701 GB, free: 0.7383 MB / 458.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.3e-05/0.4706, allocations: 105.8 kB / 0.6702 GB, free: 0.625 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.84e-05/0.4707, allocations: 79.23 kB / 0.6702 GB, free: 0.5469 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001465/0.4709, allocations: 246.4 kB / 0.6705 GB, free: 272 kB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.626e-05/0.4709, allocations: 154.5 kB / 0.6706 GB, free: 116 kB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.959e-05/0.471, allocations: 154.5 kB / 0.6708 GB, free: 15.96 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 5.731e-05/0.471, allocations: 101 kB / 0.6709 GB, free: 15.86 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.693e-05/0.4711, allocations: 75.28 kB / 0.6709 GB, free: 15.78 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.641e-05/0.4711, allocations: 158.5 kB / 0.6711 GB, free: 15.62 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.666e-05/0.4712, allocations: 154.6 kB / 0.6712 GB, free: 15.47 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.89e-05/0.4713, allocations: 154.5 kB / 0.6714 GB, free: 15.32 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000278/0.4715, allocations: 442 kB / 0.6718 GB, free: 14.84 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.289e-05/0.4716, allocations: 177.1 kB / 0.672 GB, free: 14.66 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.959e-05/0.4717, allocations: 75.28 kB / 0.672 GB, free: 14.58 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.949e-05/0.4717, allocations: 113.8 kB / 0.6722 GB, free: 14.46 MB / 474.7 MB Notification: Performance of pre-optimization done (n=0): time 1.182e-06/0.4717, allocations: 0 / 0.6722 GB, free: 14.46 MB / 474.7 MB Notification: Performance of matching and sorting (n=0): time 6.679e-05/0.4718, allocations: 25.7 kB / 0.6722 GB, free: 14.43 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.085e-05/0.4718, allocations: 130.7 kB / 0.6723 GB, free: 14.29 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.615e-05/0.4719, allocations: 92.98 kB / 0.6724 GB, free: 14.19 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 1.164e-05/0.472, allocations: 29.7 kB / 0.6724 GB, free: 14.16 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.846e-05/0.472, allocations: 84.14 kB / 0.6725 GB, free: 14.07 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.854e-06/0.472, allocations: 0 / 0.6725 GB, free: 14.07 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.5e-07/0.472, allocations: 0 / 0.6725 GB, free: 14.07 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 9.421e-05/0.4721, allocations: 314.8 kB / 0.6728 GB, free: 13.75 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.627e-06/0.4721, allocations: 4 kB / 0.6728 GB, free: 13.75 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.374e-05/0.4721, allocations: 0 / 0.6728 GB, free: 13.75 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.025e-05/0.4722, allocations: 79.22 kB / 0.6729 GB, free: 13.67 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.577e-05/0.4722, allocations: 79.31 kB / 0.673 GB, free: 13.59 MB / 474.7 MB Notification: Performance of matching and sorting (n=0) (initialization): time 5.267e-05/0.4723, allocations: 36.66 kB / 0.673 GB, free: 13.55 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.367e-05/0.4723, allocations: 79.28 kB / 0.6731 GB, free: 13.48 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.975e-05/0.4724, allocations: 79.97 kB / 0.6731 GB, free: 13.4 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.258e-05/0.4724, allocations: 158.5 kB / 0.6733 GB, free: 13.24 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.458e-05/0.4724, allocations: 79.28 kB / 0.6734 GB, free: 13.16 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.644e-05/0.4725, allocations: 158.5 kB / 0.6735 GB, free: 13.01 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.24e-05/0.4726, allocations: 83.28 kB / 0.6736 GB, free: 12.93 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.567e-05/0.4726, allocations: 75.28 kB / 0.6737 GB, free: 12.85 MB / 474.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 () * 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.0001012/0.4727, allocations: 264.3 kB / 0.6739 GB, free: 12.58 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.292e-05/0.4728, allocations: 108.9 kB / 0.674 GB, free: 12.47 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.943e-05/0.4728, allocations: 108.1 kB / 0.6741 GB, free: 12.36 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.384e-05/0.4729, allocations: 184.2 kB / 0.6743 GB, free: 12.17 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.081e-05/0.473, allocations: 176.3 kB / 0.6745 GB, free: 11.99 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.415e-05/0.473, allocations: 184.2 kB / 0.6747 GB, free: 11.8 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001992/0.4732, allocations: 409.1 kB / 0.675 GB, free: 11.35 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.146e-05/0.4733, allocations: 101 kB / 0.6751 GB, free: 11.24 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.038e-05/0.4733, allocations: 112.9 kB / 0.6752 GB, free: 11.12 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.964e-05/0.4734, allocations: 180.3 kB / 0.6754 GB, free: 10.94 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.07e-05/0.4734, allocations: 176.3 kB / 0.6756 GB, free: 10.76 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.738e-05/0.4735, allocations: 184.1 kB / 0.6758 GB, free: 10.57 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.218e-05/0.4736, allocations: 184.3 kB / 0.6759 GB, free: 10.39 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001196/0.4737, allocations: 315.9 kB / 0.6762 GB, free: 10.05 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.817e-05/0.4738, allocations: 186 kB / 0.6764 GB, free: 9.848 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.527e-05/0.4738, allocations: 180.2 kB / 0.6766 GB, free: 9.664 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.065e-05/0.4739, allocations: 109 kB / 0.6767 GB, free: 9.551 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.997e-05/0.474, allocations: 180.6 kB / 0.6769 GB, free: 9.367 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.397e-05/0.474, allocations: 105 kB / 0.677 GB, free: 9.258 MB / 474.7 MB Notification: Performance of sorting global known variables: time 3.969e-05/0.4741, allocations: 83.28 kB / 0.677 GB, free: 9.176 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4741, allocations: 0 / 0.677 GB, free: 9.176 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.0002413/0.4743, allocations: 4 kB / 0.677 GB, free: 9.172 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 () * 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.0004468/0.4748, allocations: 0.8269 MB / 0.6779 GB, free: 8.32 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 4.261e-05/0.4748, allocations: 4 kB / 0.6779 GB, free: 8.316 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.4748, allocations: 0 / 0.6779 GB, free: 8.316 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 1.373e-06/0.4748, allocations: 0 / 0.6779 GB, free: 8.316 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002674/0.4751, allocations: 0.5224 MB / 0.6784 GB, free: 7.789 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006149/0.4757, allocations: 0.5235 MB / 0.6789 GB, free: 7.215 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002159/0.476, allocations: 0.6731 MB / 0.6795 GB, free: 6.516 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 1.925e-05/0.476, allocations: 4 kB / 0.6795 GB, free: 6.512 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.324e-05/0.476, allocations: 7.438 kB / 0.6795 GB, free: 6.504 MB / 474.7 MB Notification: Performance of SimCode: time 2.3e-07/0.476, allocations: 0 / 0.6795 GB, free: 6.504 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01213/0.4882, allocations: 0.9727 MB / 0.6805 GB, free: 5.746 MB / 474.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002455/0.4885, allocations: 217.5 kB / 0.6807 GB, free: 5.508 MB / 474.7 MB 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/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: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/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: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 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