Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_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/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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_IDEAS_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3,fileNamePrefix="IDEAS_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.001045/0.001045, allocations: 86.41 kB / 15.06 MB, free: 1.09 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.001248/0.001248, allocations: 168.7 kB / 15.95 MB, free: 204 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.355/1.355, allocations: 223.2 MB / 240 MB, free: 5.457 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7157/0.7157, allocations: 132.3 MB / 423.4 MB, free: 2.105 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003336/0.0003336, allocations: 11.98 kB / 0.5035 GB, free: 4.16 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4384/0.4387, allocations: 81.57 MB / 0.5832 GB, free: 3.988 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3): time 0.001231/0.44, allocations: 0.9906 MB / 0.5841 GB, free: 3.254 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008936/0.4409, allocations: 0.7029 MB / 0.5848 GB, free: 2.746 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.309e-05/0.4409, allocations: 0 / 0.5848 GB, free: 2.746 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 2.546e-05/0.441, allocations: 4.609 kB / 0.5848 GB, free: 2.742 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001706/0.4412, allocations: 8.188 kB / 0.5848 GB, free: 2.738 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001692/0.4413, allocations: 52.56 kB / 0.5849 GB, free: 2.715 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 6.462e-05/0.4414, allocations: 27.7 kB / 0.5849 GB, free: 2.703 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.723e-05/0.4415, allocations: 1.875 kB / 0.5849 GB, free: 2.703 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.891e-05/0.4415, allocations: 12.75 kB / 0.5849 GB, free: 2.699 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000128/0.4416, allocations: 11.89 kB / 0.5849 GB, free: 2.695 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.319e-05/0.4417, allocations: 0.9062 kB / 0.5849 GB, free: 2.695 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.252e-05/0.4417, allocations: 6.688 kB / 0.5849 GB, free: 2.691 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 3.36e-05/0.4417, allocations: 4.016 kB / 0.5849 GB, free: 2.691 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 2.272e-05/0.4418, allocations: 35.67 kB / 0.585 GB, free: 2.652 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 6.345e-05/0.4418, allocations: 10.41 kB / 0.585 GB, free: 2.652 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.127e-06/0.4419, allocations: 0 / 0.585 GB, free: 2.652 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.763e-06/0.4419, allocations: 0 / 0.585 GB, free: 2.652 MB / 430.1 MB Notification: Performance of Transformations before backend: time 3.557e-06/0.4419, allocations: 0 / 0.585 GB, free: 2.652 MB / 430.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.0002436/0.4421, allocations: 323.1 kB / 0.5853 GB, free: 2.301 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.855e-05/0.4422, allocations: 9.219 kB / 0.5853 GB, free: 2.301 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.906e-05/0.4422, allocations: 105.8 kB / 0.5854 GB, free: 2.188 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.962e-05/0.4422, allocations: 85.17 kB / 0.5855 GB, free: 2.105 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.256e-05/0.4423, allocations: 249.2 kB / 0.5857 GB, free: 1.824 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.546e-05/0.4424, allocations: 151.4 kB / 0.5859 GB, free: 1.676 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.823e-05/0.4424, allocations: 155.9 kB / 0.586 GB, free: 1.523 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 3.872e-05/0.4425, allocations: 102.2 kB / 0.5861 GB, free: 1.418 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.479e-05/0.4425, allocations: 79.28 kB / 0.5862 GB, free: 1.34 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.841e-05/0.4425, allocations: 159.7 kB / 0.5863 GB, free: 1.184 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.763e-05/0.4425, allocations: 151.4 kB / 0.5865 GB, free: 1.035 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.065e-05/0.4426, allocations: 151.4 kB / 0.5866 GB, free: 0.8867 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000182/0.4427, allocations: 452.3 kB / 0.5871 GB, free: 412 kB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.258e-05/0.4428, allocations: 175 kB / 0.5872 GB, free: 228 kB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.474e-05/0.4428, allocations: 84.98 kB / 0.5873 GB, free: 140 kB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.353e-05/0.4428, allocations: 75.98 kB / 0.5874 GB, free: 64 kB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.455e-05/0.4429, allocations: 106.9 kB / 0.5875 GB, free: 15.95 MB / 446.1 MB Notification: Performance of pre-optimization done (n=0): time 8.91e-07/0.4429, allocations: 0 / 0.5875 GB, free: 15.95 MB / 446.1 MB Notification: Performance of matching and sorting (n=0): time 6.163e-05/0.443, allocations: 32.34 kB / 0.5875 GB, free: 15.91 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.121e-05/0.443, allocations: 131.3 kB / 0.5876 GB, free: 15.77 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001035/0.4431, allocations: 110.4 kB / 0.5877 GB, free: 15.67 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.255e-05/0.4432, allocations: 25.7 kB / 0.5878 GB, free: 15.64 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.591e-05/0.4432, allocations: 85.89 kB / 0.5879 GB, free: 15.55 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.633e-06/0.4432, allocations: 0 / 0.5879 GB, free: 15.55 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.074e-06/0.4432, allocations: 1.344 kB / 0.5879 GB, free: 15.55 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 9.367e-05/0.4433, allocations: 315.4 kB / 0.5882 GB, free: 15.23 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.301e-05/0.4433, allocations: 8.219 kB / 0.5882 GB, free: 15.23 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.867e-05/0.4434, allocations: 12.09 kB / 0.5882 GB, free: 15.23 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.908e-05/0.4434, allocations: 4.562 kB / 0.5882 GB, free: 15.23 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.302e-06/0.4434, allocations: 1.094 kB / 0.5882 GB, free: 15.23 MB / 446.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001037/0.4435, allocations: 42.66 kB / 0.5882 GB, free: 15.19 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.22e-05/0.4435, allocations: 4.969 kB / 0.5882 GB, free: 15.19 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.009e-06/0.4435, allocations: 0 / 0.5882 GB, free: 15.19 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.082e-05/0.4436, allocations: 2.047 kB / 0.5882 GB, free: 15.19 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.71e-07/0.4436, allocations: 0 / 0.5882 GB, free: 15.19 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.458e-06/0.4436, allocations: 128 / 0.5882 GB, free: 15.19 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.704e-05/0.4437, allocations: 7.219 kB / 0.5882 GB, free: 15.19 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.867e-06/0.4437, allocations: 1.828 kB / 0.5882 GB, free: 15.19 MB / 446.1 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 (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 8.929e-05/0.4438, allocations: 190.4 kB / 0.5884 GB, free: 15 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.828e-05/0.4438, allocations: 110.5 kB / 0.5885 GB, free: 14.88 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.279e-05/0.4439, allocations: 106.9 kB / 0.5886 GB, free: 14.77 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.714e-05/0.4439, allocations: 181.9 kB / 0.5888 GB, free: 14.59 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.9e-05/0.444, allocations: 187.1 kB / 0.589 GB, free: 14.4 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.919e-05/0.4441, allocations: 177 kB / 0.5891 GB, free: 14.22 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001999/0.4443, allocations: 411 kB / 0.5895 GB, free: 13.77 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.196e-05/0.4443, allocations: 106.7 kB / 0.5896 GB, free: 13.66 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.459e-05/0.4444, allocations: 110.8 kB / 0.5897 GB, free: 13.55 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.277e-05/0.4444, allocations: 182.3 kB / 0.5899 GB, free: 13.36 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.69e-05/0.4445, allocations: 182.4 kB / 0.5901 GB, free: 13.18 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.346e-05/0.4445, allocations: 180.9 kB / 0.5903 GB, free: 13 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.187e-05/0.4446, allocations: 178.9 kB / 0.5904 GB, free: 12.82 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000129/0.4447, allocations: 321 kB / 0.5907 GB, free: 12.48 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.302e-05/0.4448, allocations: 181.2 kB / 0.5909 GB, free: 12.29 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.255e-05/0.4449, allocations: 182.3 kB / 0.5911 GB, free: 12.1 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.601e-05/0.445, allocations: 106.9 kB / 0.5912 GB, free: 11.99 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.653e-05/0.445, allocations: 182.3 kB / 0.5914 GB, free: 11.81 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.474e-05/0.4451, allocations: 102.8 kB / 0.5915 GB, free: 11.7 MB / 446.1 MB Notification: Performance of sorting global known variables: time 4.469e-05/0.4451, allocations: 85.8 kB / 0.5915 GB, free: 11.62 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4451, allocations: 0 / 0.5915 GB, free: 11.62 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.000222/0.4454, allocations: 3.781 kB / 0.5915 GB, free: 11.62 MB / 446.1 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.0004417/0.4458, allocations: 0.8122 MB / 0.5923 GB, free: 10.81 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 6.619e-05/0.4459, allocations: 13.28 kB / 0.5924 GB, free: 10.8 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.4459, allocations: 0 / 0.5924 GB, free: 10.8 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 2.325e-06/0.4459, allocations: 0.7188 kB / 0.5924 GB, free: 10.8 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003434/0.4463, allocations: 0.5175 MB / 0.5929 GB, free: 10.28 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005403/0.4468, allocations: 403.1 kB / 0.5932 GB, free: 9.887 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002068/0.447, allocations: 0.6801 MB / 0.5939 GB, free: 9.188 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 1.774e-05/0.447, allocations: 1.344 kB / 0.5939 GB, free: 9.188 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.849e-05/0.4471, allocations: 12.72 kB / 0.5939 GB, free: 9.176 MB / 446.1 MB Notification: Performance of SimCode: time 2.21e-07/0.4471, allocations: 0 / 0.5939 GB, free: 9.176 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01155/0.4586, allocations: 1.053 MB / 0.5949 GB, free: 9.055 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001797/0.4589, allocations: 207 kB / 0.5951 GB, free: 8.816 MB / 446.1 MB Error: Error building simulator. Build log: clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Wno-parentheses-equality -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/Resources/C-Sources" -c -o IDEAS_IDEAS_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3.o IDEAS_IDEAS_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3.c In file included from IDEAS_IDEAS_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3.c:7: In file included from ./IDEAS_IDEAS_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3_model.h:5: In file included from ./openmodelica.h:71: In file included from ./gc/../openmodelica_types.h:144: ./gc/omc_gc.h:219:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:223: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 -Wno-parentheses-equality -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/Resources/C-Sources" -c -o IDEAS_IDEAS_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3_functions.o IDEAS_IDEAS_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3_functions.c In file included from IDEAS_IDEAS_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3_functions.c:2: In file included from ./IDEAS_IDEAS_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3_functions.h:3: In file included from ./meta/meta_modelica.h:49: ./gc/omc_gc.h:219:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:223:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ In file included from IDEAS_IDEAS_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3_functions.c:7: In file included from ./IDEAS_IDEAS_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3_includes.h:4: /home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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_IDEAS_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3_functions.o] Error 1