Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.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/IDEAS 3.0.0-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.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(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3,fileNamePrefix="IDEAS_dev_IDEAS_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3,fileNamePrefix="IDEAS_dev_IDEAS_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.001169/0.001169, allocations: 99 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.001288/0.001288, 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.742/1.742, allocations: 223.2 MB / 239.9 MB, free: 5.355 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.022/1.022, allocations: 135.2 MB / 426.2 MB, free: 14.32 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003103/0.0003103, allocations: 12 kB / 0.5069 GB, free: 5.137 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1614/0.1618, allocations: 82.31 MB / 0.5873 GB, free: 3.004 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3): time 0.001283/0.1631, allocations: 0.9784 MB / 0.5882 GB, free: 2.012 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009651/0.1641, allocations: 0.6916 MB / 0.5889 GB, free: 1.32 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.179e-05/0.1641, allocations: 3.938 kB / 0.5889 GB, free: 1.316 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 2.938e-05/0.1641, allocations: 3.938 kB / 0.5889 GB, free: 1.312 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001307/0.1643, allocations: 3.984 kB / 0.5889 GB, free: 1.309 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001592/0.1644, allocations: 51.91 kB / 0.589 GB, free: 1.258 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 4.459e-05/0.1645, allocations: 4 kB / 0.589 GB, free: 1.254 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.831e-05/0.1645, allocations: 4 kB / 0.589 GB, free: 1.25 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.918e-05/0.1646, allocations: 19.91 kB / 0.589 GB, free: 1.23 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001008/0.1647, allocations: 8 kB / 0.589 GB, free: 1.223 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.074e-05/0.1647, allocations: 0 / 0.589 GB, free: 1.223 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.168e-05/0.1647, allocations: 4 kB / 0.589 GB, free: 1.219 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 3.082e-05/0.1648, allocations: 11.92 kB / 0.589 GB, free: 1.207 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.793e-05/0.1648, allocations: 25.7 kB / 0.589 GB, free: 1.176 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 6.46e-05/0.1649, allocations: 11.98 kB / 0.5891 GB, free: 1.164 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.498e-06/0.1649, allocations: 4 kB / 0.5891 GB, free: 1.16 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.312e-06/0.1649, allocations: 0 / 0.5891 GB, free: 1.16 MB / 494.1 MB Notification: Performance of Transformations before backend: time 7.193e-06/0.1649, allocations: 0 / 0.5891 GB, free: 1.16 MB / 494.1 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.0002637/0.1652, allocations: 331.4 kB / 0.5894 GB, free: 0.7891 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.332e-05/0.1652, allocations: 12.03 kB / 0.5894 GB, free: 0.7773 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.231e-05/0.1653, allocations: 109.8 kB / 0.5895 GB, free: 0.6602 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.132e-05/0.1654, allocations: 75.28 kB / 0.5896 GB, free: 0.5859 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001406/0.1655, allocations: 242.3 kB / 0.5898 GB, free: 316 kB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.53e-05/0.1656, allocations: 150.6 kB / 0.5899 GB, free: 164 kB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.074e-05/0.1657, allocations: 158.6 kB / 0.5901 GB, free: 4 kB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.728e-05/0.1657, allocations: 105 kB / 0.5902 GB, free: 15.89 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.598e-05/0.1658, allocations: 75.28 kB / 0.5903 GB, free: 15.82 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.008e-05/0.1658, allocations: 154.5 kB / 0.5904 GB, free: 15.67 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.044e-05/0.1659, allocations: 154.5 kB / 0.5906 GB, free: 15.52 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.822e-05/0.1659, allocations: 150.6 kB / 0.5907 GB, free: 15.37 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002482/0.1662, allocations: 457.9 kB / 0.5911 GB, free: 14.87 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 6.592e-05/0.1663, allocations: 169.1 kB / 0.5913 GB, free: 14.7 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.999e-05/0.1663, allocations: 75.28 kB / 0.5914 GB, free: 14.62 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.799e-05/0.1663, allocations: 113.8 kB / 0.5915 GB, free: 14.5 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=0): time 7.91e-07/0.1663, allocations: 0 / 0.5915 GB, free: 14.5 MB / 0.4981 GB Notification: Performance of matching and sorting (n=0): time 6.157e-05/0.1664, allocations: 33.61 kB / 0.5915 GB, free: 14.46 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.811e-05/0.1664, allocations: 130.7 kB / 0.5916 GB, free: 14.32 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.015e-05/0.1665, allocations: 105.8 kB / 0.5917 GB, free: 14.21 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.274e-05/0.1666, allocations: 25.7 kB / 0.5918 GB, free: 14.18 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 3.176e-05/0.1666, allocations: 80.14 kB / 0.5918 GB, free: 14.09 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.482e-06/0.1666, allocations: 0 / 0.5918 GB, free: 14.09 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.063e-06/0.1666, allocations: 0 / 0.5918 GB, free: 14.09 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.000109/0.1667, allocations: 310.8 kB / 0.5921 GB, free: 13.78 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.619e-05/0.1668, allocations: 15.98 kB / 0.5921 GB, free: 13.77 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.45e-05/0.1668, allocations: 8 kB / 0.5922 GB, free: 13.76 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.934e-05/0.1668, allocations: 4 kB / 0.5922 GB, free: 13.75 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.875e-06/0.1668, allocations: 7.891 kB / 0.5922 GB, free: 13.75 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 9.641e-05/0.1669, allocations: 45.61 kB / 0.5922 GB, free: 13.7 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.584e-05/0.1669, allocations: 8 kB / 0.5922 GB, free: 13.69 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.41e-06/0.1669, allocations: 0 / 0.5922 GB, free: 13.69 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.187e-06/0.167, allocations: 0 / 0.5922 GB, free: 13.69 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.82e-07/0.167, allocations: 0 / 0.5922 GB, free: 13.69 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.177e-06/0.167, allocations: 4.125 kB / 0.5922 GB, free: 13.68 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.853e-05/0.1671, allocations: 0 / 0.5922 GB, free: 13.68 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.232e-05/0.1671, allocations: 7.984 kB / 0.5922 GB, free: 13.68 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 9.605e-05/0.1672, allocations: 185.1 kB / 0.5924 GB, free: 13.48 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.569e-05/0.1673, allocations: 112.9 kB / 0.5925 GB, free: 13.37 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.691e-05/0.1673, allocations: 104.5 kB / 0.5926 GB, free: 13.25 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.683e-05/0.1674, allocations: 184.2 kB / 0.5928 GB, free: 13.07 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.742e-05/0.1675, allocations: 184.2 kB / 0.593 GB, free: 12.88 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.415e-05/0.1675, allocations: 184.2 kB / 0.5931 GB, free: 12.69 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002354/0.1678, allocations: 409.2 kB / 0.5935 GB, free: 12.23 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.062e-05/0.1678, allocations: 101 kB / 0.5936 GB, free: 12.13 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.863e-05/0.1679, allocations: 104.9 kB / 0.5937 GB, free: 12.02 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.463e-05/0.1679, allocations: 188.2 kB / 0.5939 GB, free: 11.83 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.422e-05/0.168, allocations: 180.3 kB / 0.5941 GB, free: 11.64 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.701e-05/0.1681, allocations: 184.4 kB / 0.5943 GB, free: 11.46 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.329e-05/0.1681, allocations: 176.3 kB / 0.5944 GB, free: 11.28 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000118/0.1682, allocations: 311.7 kB / 0.5947 GB, free: 10.95 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 7.217e-05/0.1683, allocations: 186.1 kB / 0.5949 GB, free: 10.74 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.83e-05/0.1684, allocations: 188.2 kB / 0.5951 GB, free: 10.55 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.472e-05/0.1685, allocations: 101 kB / 0.5952 GB, free: 10.45 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.453e-05/0.1685, allocations: 176.3 kB / 0.5953 GB, free: 10.27 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.577e-05/0.1686, allocations: 108.9 kB / 0.5954 GB, free: 10.15 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.675e-05/0.1686, allocations: 91.27 kB / 0.5955 GB, free: 10.06 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.1686, allocations: 0 / 0.5955 GB, free: 10.06 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002144/0.1688, allocations: 4 kB / 0.5955 GB, free: 10.06 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.0004021/0.1692, allocations: 0.8186 MB / 0.5963 GB, free: 9.215 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 7.029e-05/0.1693, allocations: 7.938 kB / 0.5963 GB, free: 9.207 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.1693, allocations: 0 / 0.5963 GB, free: 9.207 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 3.256e-06/0.1693, allocations: 0 / 0.5963 GB, free: 9.207 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002661/0.1696, allocations: 0.5262 MB / 0.5969 GB, free: 8.676 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004607/0.1701, allocations: 370 kB / 0.5972 GB, free: 8.262 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002891/0.1704, allocations: 0.6809 MB / 0.5979 GB, free: 7.555 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 1.964e-05/0.1704, allocations: 4 kB / 0.5979 GB, free: 7.551 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.086e-05/0.1704, allocations: 11.42 kB / 0.5979 GB, free: 7.539 MB / 0.4981 GB Notification: Performance of SimCode: time 1.743e-06/0.1704, allocations: 0 / 0.5979 GB, free: 7.539 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01336/0.1838, allocations: 1.049 MB / 0.5989 GB, free: 6.703 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002946/0.1841, allocations: 207.3 kB / 0.5991 GB, free: 6.465 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 "-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_GetTimeSpanTMY3.o IDEAS_dev_IDEAS_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3.c In file included from IDEAS_dev_IDEAS_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3.c:7: In file included from ./IDEAS_dev_IDEAS_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 "-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_GetTimeSpanTMY3_functions.o IDEAS_dev_IDEAS_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3_functions.c In file included from IDEAS_dev_IDEAS_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3_functions.c:2: In file included from ./IDEAS_dev_IDEAS_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 IDEAS_dev_IDEAS_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3_functions.c:7: In file included from ./IDEAS_dev_IDEAS_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3_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_GetTimeSpanTMY3_functions.o] Error 1