Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-master/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-master/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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(BuildSysPro.IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00109/0.00109, allocations: 98.77 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001236/0.001236, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.334/1.334, allocations: 223.2 MB / 239.9 MB, free: 5.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-master/package.mo): time 0.9487/0.9487, allocations: 143.3 MB / 434.2 MB, free: 13.72 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002824/0.0002825, allocations: 12 kB / 0.5159 GB, free: 11.25 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1747/0.175, allocations: 83.41 MB / 0.5974 GB, free: 7.777 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3): time 0.001537/0.1766, allocations: 0.979 MB / 0.5983 GB, free: 6.785 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001155/0.1778, allocations: 0.6915 MB / 0.599 GB, free: 6.09 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.39e-05/0.1778, allocations: 0 / 0.599 GB, free: 6.09 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 2.915e-05/0.1778, allocations: 3.984 kB / 0.599 GB, free: 6.086 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0001393/0.178, allocations: 3.984 kB / 0.599 GB, free: 6.082 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.000213/0.1782, allocations: 51.88 kB / 0.599 GB, free: 6.031 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 5.345e-05/0.1783, allocations: 7.984 kB / 0.5991 GB, free: 6.023 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 3.8e-05/0.1783, allocations: 0 / 0.5991 GB, free: 6.023 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 5.55e-05/0.1784, allocations: 19.92 kB / 0.5991 GB, free: 6.004 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001288/0.1785, allocations: 11.92 kB / 0.5991 GB, free: 5.992 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.201e-05/0.1785, allocations: 0 / 0.5991 GB, free: 5.992 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 3.477e-05/0.1786, allocations: 4 kB / 0.5991 GB, free: 5.988 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 3.21e-05/0.1786, allocations: 0 / 0.5991 GB, free: 5.988 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 3.184e-05/0.1787, allocations: 33.64 kB / 0.5991 GB, free: 5.949 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 6.648e-05/0.1788, allocations: 15.98 kB / 0.5991 GB, free: 5.934 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 2.214e-06/0.1788, allocations: 0 / 0.5991 GB, free: 5.934 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.352e-06/0.1788, allocations: 0 / 0.5991 GB, free: 5.934 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 3.396e-06/0.1788, allocations: 0 / 0.5991 GB, free: 5.934 MB / 0.4981 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.0003248/0.1791, allocations: 327.5 kB / 0.5994 GB, free: 5.566 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.237e-05/0.1792, allocations: 8.031 kB / 0.5995 GB, free: 5.559 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.868e-05/0.1792, allocations: 105.8 kB / 0.5996 GB, free: 5.445 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.114e-05/0.1793, allocations: 79.28 kB / 0.5996 GB, free: 5.367 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000155/0.1795, allocations: 246.3 kB / 0.5999 GB, free: 5.086 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.559e-05/0.1796, allocations: 150.6 kB / 0.6 GB, free: 4.938 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.239e-05/0.1796, allocations: 158.5 kB / 0.6002 GB, free: 4.781 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.942e-05/0.1797, allocations: 108.9 kB / 0.6003 GB, free: 4.672 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.91e-05/0.1797, allocations: 75.28 kB / 0.6003 GB, free: 4.598 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.689e-05/0.1798, allocations: 154.6 kB / 0.6005 GB, free: 4.445 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.276e-05/0.1799, allocations: 158.6 kB / 0.6006 GB, free: 4.289 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.884e-05/0.1799, allocations: 150.6 kB / 0.6008 GB, free: 4.141 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003593/0.1803, allocations: 453.9 kB / 0.6012 GB, free: 3.648 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 9.464e-05/0.1804, allocations: 173.1 kB / 0.6014 GB, free: 3.469 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.982e-05/0.1805, allocations: 79.28 kB / 0.6015 GB, free: 3.391 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.57e-05/0.1805, allocations: 105.8 kB / 0.6016 GB, free: 3.277 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=0): time 1.062e-06/0.1805, allocations: 0 / 0.6016 GB, free: 3.277 MB / 0.4981 GB Notification: Performance of matching and sorting (n=0): time 8.754e-05/0.1806, allocations: 25.7 kB / 0.6016 GB, free: 3.246 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.002e-05/0.1807, allocations: 130.7 kB / 0.6017 GB, free: 3.105 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001207/0.1808, allocations: 109.8 kB / 0.6018 GB, free: 2.988 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.674e-05/0.1809, allocations: 33.7 kB / 0.6018 GB, free: 2.949 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 4.405e-05/0.1809, allocations: 84.05 kB / 0.6019 GB, free: 2.863 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.707e-06/0.1809, allocations: 0 / 0.6019 GB, free: 2.863 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.254e-06/0.1809, allocations: 3.938 kB / 0.6019 GB, free: 2.859 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001355/0.1811, allocations: 318.8 kB / 0.6022 GB, free: 2.539 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.071e-05/0.1811, allocations: 7.938 kB / 0.6022 GB, free: 2.531 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.655e-05/0.1812, allocations: 12 kB / 0.6022 GB, free: 2.52 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.531e-05/0.1812, allocations: 7.984 kB / 0.6023 GB, free: 2.512 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.1812, allocations: 96 / 0.6023 GB, free: 2.512 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000126/0.1813, allocations: 37.7 kB / 0.6023 GB, free: 2.469 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.487e-05/0.1814, allocations: 4 kB / 0.6023 GB, free: 2.465 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.61e-06/0.1814, allocations: 4 kB / 0.6023 GB, free: 2.461 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.048e-05/0.1814, allocations: 0 / 0.6023 GB, free: 2.461 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.262e-06/0.1814, allocations: 0 / 0.6023 GB, free: 2.461 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.3e-06/0.1814, allocations: 0 / 0.6023 GB, free: 2.461 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001032/0.1815, allocations: 3.984 kB / 0.6023 GB, free: 2.457 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.368e-05/0.1815, allocations: 4 kB / 0.6023 GB, free: 2.453 MB / 0.4981 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 (1): * Single equations (assignments): 0 * Array equations: 1 * 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.0001128/0.1817, allocations: 191.3 kB / 0.6025 GB, free: 2.258 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.945e-05/0.1818, allocations: 108.9 kB / 0.6026 GB, free: 2.145 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.17e-05/0.1818, allocations: 112.5 kB / 0.6027 GB, free: 2.023 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.267e-05/0.1819, allocations: 180.2 kB / 0.6029 GB, free: 1.84 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.653e-05/0.182, allocations: 180.3 kB / 0.603 GB, free: 1.656 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.135e-05/0.1821, allocations: 180.3 kB / 0.6032 GB, free: 1.473 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002963/0.1824, allocations: 413.1 kB / 0.6036 GB, free: 1.012 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.24e-05/0.1824, allocations: 105 kB / 0.6037 GB, free: 0.9023 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.467e-05/0.1825, allocations: 104.9 kB / 0.6038 GB, free: 0.793 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.645e-05/0.1826, allocations: 176.3 kB / 0.604 GB, free: 0.6133 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.372e-05/0.1826, allocations: 180.2 kB / 0.6041 GB, free: 440 kB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.822e-05/0.1827, allocations: 192.2 kB / 0.6043 GB, free: 240 kB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.372e-05/0.1828, allocations: 176.3 kB / 0.6045 GB, free: 56 kB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2833/0.4661, allocations: 297.8 kB / 0.6048 GB, free: 41.38 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 5.905e-05/0.4662, allocations: 186.8 kB / 0.605 GB, free: 41.18 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.307e-05/0.4662, allocations: 183.9 kB / 0.6051 GB, free: 41 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.097e-05/0.4663, allocations: 103.2 kB / 0.6052 GB, free: 40.89 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.166e-05/0.4664, allocations: 185.4 kB / 0.6054 GB, free: 40.71 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.512e-05/0.4664, allocations: 108.5 kB / 0.6055 GB, free: 40.61 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 5.276e-05/0.4664, allocations: 85.12 kB / 0.6056 GB, free: 40.53 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.4664, allocations: 0 / 0.6056 GB, free: 40.53 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0003017/0.4667, allocations: 3.25 kB / 0.6056 GB, free: 40.53 MB / 0.4981 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.0003169/0.4671, allocations: 0.8236 MB / 0.6064 GB, free: 39.73 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 6.488e-05/0.4671, allocations: 4.672 kB / 0.6064 GB, free: 39.73 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.4671, allocations: 0 / 0.6064 GB, free: 39.73 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 2.725e-06/0.4672, allocations: 2.5 kB / 0.6064 GB, free: 39.73 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002031/0.4674, allocations: 0.5259 MB / 0.6069 GB, free: 39.21 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003863/0.4678, allocations: 366.4 kB / 0.6073 GB, free: 38.84 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001057/0.4679, allocations: 0.6784 MB / 0.6079 GB, free: 38.14 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 1.965e-05/0.4679, allocations: 3.906 kB / 0.6079 GB, free: 38.14 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.213e-05/0.4679, allocations: 11.94 kB / 0.608 GB, free: 38.13 MB / 0.4981 GB Notification: Performance of SimCode: time 5.31e-07/0.4679, allocations: 1.25 kB / 0.608 GB, free: 38.13 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01138/0.4793, allocations: 1.066 MB / 0.609 GB, free: 38.09 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001696/0.4795, allocations: 226.3 kB / 0.6092 GB, free: 37.86 MB / 0.4981 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 -c -o BuildSysPro_BuildSysPro_IBPSA_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3.o BuildSysPro_BuildSysPro_IBPSA_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3.c In file included from BuildSysPro_BuildSysPro_IBPSA_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3.c:7: In file included from ./BuildSysPro_BuildSysPro_IBPSA_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3_model.h:5: In file included from ./openmodelica.h:71: In file included from ./gc/../openmodelica_types.h:149: ./gc/omc_gc.h:218:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:222: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 -c -o BuildSysPro_BuildSysPro_IBPSA_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3_functions.o BuildSysPro_BuildSysPro_IBPSA_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3_functions.c In file included from BuildSysPro_BuildSysPro_IBPSA_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3_functions.c:2: In file included from ./BuildSysPro_BuildSysPro_IBPSA_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3_functions.h:3: In file included from ./meta/meta_modelica.h:49: ./gc/omc_gc.h:218:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:222:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ In file included from BuildSysPro_BuildSysPro_IBPSA_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3_functions.c:7: ./BuildSysPro_BuildSysPro_IBPSA_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3_includes.h:4:10: fatal error: 'getTimeSpan.c' file not found #include ^~~~~~~~~~~~~~~ 2 warnings and 1 error generated. make: *** [: BuildSysPro_BuildSysPro_IBPSA_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3_functions.o] Error 1