Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader.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.GetTimeSpanTMY3LongHeader,fileNamePrefix="IDEAS_IDEAS_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3LongHeader",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader,fileNamePrefix="IDEAS_IDEAS_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3LongHeader",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.001276/0.001276, allocations: 100.1 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.001714/0.001714, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.095/2.095, allocations: 223.2 MB / 239.9 MB, free: 5.449 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 1.109/1.109, allocations: 132.2 MB / 423.2 MB, free: 2.203 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004837/0.0004839, allocations: 8 kB / 0.5033 GB, free: 4.211 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6369/0.6374, allocations: 81.58 MB / 0.583 GB, free: 4.004 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader): time 0.00183/0.6393, allocations: 0.9682 MB / 0.5839 GB, free: 3.285 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.001403/0.6407, allocations: 0.6819 MB / 0.5846 GB, free: 2.793 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.457e-05/0.6408, allocations: 4 kB / 0.5846 GB, free: 2.789 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 3.807e-05/0.6408, allocations: 1.188 kB / 0.5846 GB, free: 2.789 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001967/0.641, allocations: 8.078 kB / 0.5846 GB, free: 2.785 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 9.692e-05/0.6411, allocations: 6.906 kB / 0.5846 GB, free: 2.781 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 6.566e-05/0.6412, allocations: 10.66 kB / 0.5846 GB, free: 2.773 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.525e-05/0.6413, allocations: 1.547 kB / 0.5846 GB, free: 2.773 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.452e-05/0.6413, allocations: 0.9688 kB / 0.5846 GB, free: 2.773 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001712/0.6415, allocations: 7.031 kB / 0.5846 GB, free: 2.77 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.256e-05/0.6415, allocations: 1.094 kB / 0.5846 GB, free: 2.77 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.328e-05/0.6416, allocations: 2.531 kB / 0.5846 GB, free: 2.77 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 5.289e-05/0.6416, allocations: 6.406 kB / 0.5846 GB, free: 2.766 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 2.762e-05/0.6417, allocations: 26.92 kB / 0.5847 GB, free: 2.734 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 8.324e-05/0.6418, allocations: 10.94 kB / 0.5847 GB, free: 2.73 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.838e-06/0.6418, allocations: 0 / 0.5847 GB, free: 2.73 MB / 430.1 MB Notification: Performance of FrontEnd: time 3.066e-06/0.6418, allocations: 0 / 0.5847 GB, free: 2.73 MB / 430.1 MB Notification: Performance of Transformations before backend: time 5.3e-06/0.6418, allocations: 0 / 0.5847 GB, free: 2.73 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.0003218/0.6421, allocations: 320.6 kB / 0.585 GB, free: 2.379 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.678e-05/0.6422, allocations: 13.12 kB / 0.585 GB, free: 2.375 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.292e-05/0.6423, allocations: 115.8 kB / 0.5851 GB, free: 2.254 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.817e-05/0.6423, allocations: 87.17 kB / 0.5852 GB, free: 2.168 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001409/0.6425, allocations: 239.7 kB / 0.5854 GB, free: 1.898 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.914e-05/0.6425, allocations: 150.6 kB / 0.5856 GB, free: 1.75 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.422e-05/0.6426, allocations: 152.1 kB / 0.5857 GB, free: 1.602 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 5.066e-05/0.6426, allocations: 101.7 kB / 0.5858 GB, free: 1.496 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.754e-05/0.6427, allocations: 80.27 kB / 0.5859 GB, free: 1.418 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.374e-05/0.6427, allocations: 163.4 kB / 0.586 GB, free: 1.258 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.945e-05/0.6428, allocations: 151.2 kB / 0.5862 GB, free: 1.109 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.458e-05/0.6428, allocations: 155.3 kB / 0.5863 GB, free: 0.957 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002683/0.6431, allocations: 451.1 kB / 0.5867 GB, free: 484 kB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.038e-05/0.6431, allocations: 170 kB / 0.5869 GB, free: 304 kB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.394e-05/0.6432, allocations: 76.03 kB / 0.587 GB, free: 228 kB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.47e-05/0.6432, allocations: 106.8 kB / 0.5871 GB, free: 112 kB / 430.1 MB Notification: Performance of pre-optimization done (n=0): time 1.182e-06/0.6432, allocations: 1.375 kB / 0.5871 GB, free: 112 kB / 430.1 MB Notification: Performance of matching and sorting (n=0): time 8.638e-05/0.6433, allocations: 31.31 kB / 0.5871 GB, free: 76 kB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.959e-05/0.6434, allocations: 127.3 kB / 0.5872 GB, free: 15.94 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000139/0.6435, allocations: 106 kB / 0.5873 GB, free: 15.83 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.917e-05/0.6436, allocations: 26.31 kB / 0.5874 GB, free: 15.8 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.299e-05/0.6437, allocations: 81.11 kB / 0.5874 GB, free: 15.72 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.385e-06/0.6437, allocations: 0 / 0.5874 GB, free: 15.72 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.21e-07/0.6437, allocations: 0.9062 kB / 0.5874 GB, free: 15.72 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001582/0.6438, allocations: 317.2 kB / 0.5877 GB, free: 15.4 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.559e-06/0.6439, allocations: 0 / 0.5877 GB, free: 15.4 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.725e-05/0.6439, allocations: 5.406 kB / 0.5877 GB, free: 15.4 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.273e-05/0.644, allocations: 81.42 kB / 0.5878 GB, free: 15.32 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.591e-05/0.644, allocations: 75.28 kB / 0.5879 GB, free: 15.25 MB / 446.1 MB Notification: Performance of matching and sorting (n=0) (initialization): time 9.166e-05/0.6441, allocations: 32.58 kB / 0.5879 GB, free: 15.21 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.07e-05/0.6442, allocations: 81.48 kB / 0.588 GB, free: 15.14 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.383e-05/0.6442, allocations: 75.94 kB / 0.5881 GB, free: 15.06 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.637e-05/0.6443, allocations: 155.9 kB / 0.5882 GB, free: 14.91 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.88e-05/0.6444, allocations: 77.53 kB / 0.5883 GB, free: 14.84 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.324e-05/0.6445, allocations: 160 kB / 0.5885 GB, free: 14.68 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000187/0.6447, allocations: 80.53 kB / 0.5885 GB, free: 14.6 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.793e-05/0.6447, allocations: 81.3 kB / 0.5886 GB, free: 14.52 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 (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.0001699/0.6449, allocations: 263.6 kB / 0.5889 GB, free: 14.26 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.064e-05/0.645, allocations: 110.7 kB / 0.589 GB, free: 14.14 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.442e-05/0.6451, allocations: 106.4 kB / 0.5891 GB, free: 14.04 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.917e-05/0.6452, allocations: 182.2 kB / 0.5892 GB, free: 13.85 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001005/0.6453, allocations: 190.2 kB / 0.5894 GB, free: 13.66 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.571e-05/0.6454, allocations: 178.2 kB / 0.5896 GB, free: 13.48 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000334/0.6457, allocations: 410.2 kB / 0.59 GB, free: 13.03 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.336e-05/0.6458, allocations: 102.8 kB / 0.5901 GB, free: 12.92 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.862e-05/0.6459, allocations: 110.1 kB / 0.5902 GB, free: 12.81 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.723e-05/0.646, allocations: 186.5 kB / 0.5904 GB, free: 12.62 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.812e-05/0.646, allocations: 178.4 kB / 0.5905 GB, free: 12.44 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.695e-05/0.6461, allocations: 181 kB / 0.5907 GB, free: 12.26 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.504e-05/0.6462, allocations: 178.4 kB / 0.5909 GB, free: 12.08 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001865/0.6464, allocations: 312.6 kB / 0.5912 GB, free: 11.75 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001056/0.6465, allocations: 182.4 kB / 0.5913 GB, free: 11.55 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001005/0.6467, allocations: 182.3 kB / 0.5915 GB, free: 11.37 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001247/0.6468, allocations: 106.6 kB / 0.5916 GB, free: 11.26 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.966e-05/0.6469, allocations: 182.9 kB / 0.5918 GB, free: 11.08 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.669e-05/0.647, allocations: 108.9 kB / 0.5919 GB, free: 10.96 MB / 446.1 MB Notification: Performance of sorting global known variables: time 7.816e-05/0.6471, allocations: 81.36 kB / 0.592 GB, free: 10.89 MB / 446.1 MB Notification: Performance of sort global known variables: time 2.3e-07/0.6471, allocations: 0 / 0.592 GB, free: 10.89 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0004469/0.6475, allocations: 2.828 kB / 0.592 GB, free: 10.89 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.0006677/0.6482, allocations: 0.8194 MB / 0.5928 GB, free: 10.07 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 5.741e-05/0.6483, allocations: 4.844 kB / 0.5928 GB, free: 10.07 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.825e-06/0.6483, allocations: 1 kB / 0.5928 GB, free: 10.07 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 3.657e-06/0.6483, allocations: 0.7031 kB / 0.5928 GB, free: 10.07 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004369/0.6487, allocations: 0.5204 MB / 0.5933 GB, free: 9.543 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009691/0.6497, allocations: 0.5312 MB / 0.5938 GB, free: 8.996 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003554/0.6501, allocations: 0.675 MB / 0.5945 GB, free: 8.301 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 2.465e-05/0.6501, allocations: 2.25 kB / 0.5945 GB, free: 8.301 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.637e-05/0.6502, allocations: 9.797 kB / 0.5945 GB, free: 8.293 MB / 446.1 MB Notification: Performance of SimCode: time 4.1e-07/0.6502, allocations: 0 / 0.5945 GB, free: 8.293 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01622/0.6664, allocations: 0.9513 MB / 0.5954 GB, free: 8.199 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003/0.6668, allocations: 211.8 kB / 0.5956 GB, free: 7.961 MB / 446.1 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/IDEAS 3.0.0/Resources/C-Sources" -c -o IDEAS_IDEAS_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3LongHeader.o IDEAS_IDEAS_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3LongHeader.c In file included from IDEAS_IDEAS_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3LongHeader.c:7: In file included from ./IDEAS_IDEAS_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: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/Resources/C-Sources" -c -o IDEAS_IDEAS_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3LongHeader_functions.o IDEAS_IDEAS_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3LongHeader_functions.c In file included from IDEAS_IDEAS_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3LongHeader_functions.c:2: In file included from ./IDEAS_IDEAS_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3LongHeader_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_IDEAS_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3LongHeader_functions.c:7: In file included from ./IDEAS_IDEAS_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3LongHeader_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_GetTimeSpanTMY3LongHeader_functions.o] Error 1