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.001228/0.001228, allocations: 99.23 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.001395/0.001395, 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.946/1.946, allocations: 223.2 MB / 239.9 MB, free: 5.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.9122/0.9122, allocations: 132.2 MB / 423.2 MB, free: 2.188 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003442/0.0003443, allocations: 16 kB / 0.5033 GB, free: 4.199 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6424/0.6428, allocations: 81.56 MB / 0.583 GB, free: 4.035 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3): time 0.001429/0.6443, allocations: 0.9883 MB / 0.5839 GB, free: 3.305 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.001025/0.6453, allocations: 0.6896 MB / 0.5846 GB, free: 2.809 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.643e-05/0.6453, allocations: 0 / 0.5846 GB, free: 2.809 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 3.561e-05/0.6454, allocations: 8.875 kB / 0.5846 GB, free: 2.801 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001476/0.6455, allocations: 2.609 kB / 0.5846 GB, free: 2.801 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001837/0.6457, allocations: 46.22 kB / 0.5847 GB, free: 2.781 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 4.842e-05/0.6458, allocations: 11.58 kB / 0.5847 GB, free: 2.777 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.637e-05/0.6458, allocations: 2.578 kB / 0.5847 GB, free: 2.777 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.15e-05/0.6459, allocations: 18.67 kB / 0.5847 GB, free: 2.766 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001242/0.646, allocations: 5.156 kB / 0.5847 GB, free: 2.766 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.359e-05/0.646, allocations: 1.438 kB / 0.5847 GB, free: 2.766 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.885e-05/0.6461, allocations: 3.312 kB / 0.5847 GB, free: 2.766 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 4.114e-05/0.6461, allocations: 4.031 kB / 0.5847 GB, free: 2.766 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 2.474e-05/0.6462, allocations: 36.23 kB / 0.5847 GB, free: 2.727 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 7.129e-05/0.6462, allocations: 16.34 kB / 0.5847 GB, free: 2.719 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.625e-06/0.6462, allocations: 0.9375 kB / 0.5848 GB, free: 2.719 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.272e-06/0.6463, allocations: 0 / 0.5848 GB, free: 2.719 MB / 430.1 MB Notification: Performance of Transformations before backend: time 8.095e-06/0.6463, allocations: 0 / 0.5848 GB, free: 2.719 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.0002524/0.6465, allocations: 332 kB / 0.5851 GB, free: 2.359 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.09e-05/0.6466, allocations: 8.75 kB / 0.5851 GB, free: 2.359 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.568e-05/0.6466, allocations: 105.8 kB / 0.5852 GB, free: 2.246 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.894e-05/0.6467, allocations: 81.22 kB / 0.5853 GB, free: 2.168 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.097e-05/0.6468, allocations: 249.8 kB / 0.5855 GB, free: 1.887 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.926e-05/0.6468, allocations: 151.8 kB / 0.5856 GB, free: 1.738 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.25e-05/0.6468, allocations: 151.5 kB / 0.5858 GB, free: 1.59 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 3.68e-05/0.6469, allocations: 102.7 kB / 0.5859 GB, free: 1.484 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.253e-05/0.6469, allocations: 79.28 kB / 0.586 GB, free: 1.406 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.815e-05/0.6469, allocations: 158.6 kB / 0.5861 GB, free: 1.25 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.26e-05/0.647, allocations: 156.1 kB / 0.5863 GB, free: 1.098 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.495e-05/0.647, allocations: 151.8 kB / 0.5864 GB, free: 0.9492 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001911/0.6472, allocations: 456.2 kB / 0.5868 GB, free: 472 kB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.182e-05/0.6472, allocations: 170.6 kB / 0.587 GB, free: 292 kB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.23e-05/0.6472, allocations: 76.22 kB / 0.5871 GB, free: 216 kB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.367e-05/0.6473, allocations: 111.6 kB / 0.5872 GB, free: 96 kB / 430.1 MB Notification: Performance of pre-optimization done (n=0): time 9.02e-07/0.6473, allocations: 0 / 0.5872 GB, free: 96 kB / 430.1 MB Notification: Performance of matching and sorting (n=0): time 6.212e-05/0.6474, allocations: 32.66 kB / 0.5872 GB, free: 60 kB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.265e-05/0.6474, allocations: 130.7 kB / 0.5873 GB, free: 15.92 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001153/0.6475, allocations: 106 kB / 0.5874 GB, free: 15.82 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.51e-05/0.6476, allocations: 29.7 kB / 0.5875 GB, free: 15.78 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.723e-05/0.6476, allocations: 82.25 kB / 0.5875 GB, free: 15.7 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.773e-06/0.6476, allocations: 0 / 0.5875 GB, free: 15.7 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.294e-06/0.6476, allocations: 0 / 0.5875 GB, free: 15.7 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001046/0.6477, allocations: 316.4 kB / 0.5878 GB, free: 15.38 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.66e-05/0.6478, allocations: 4.891 kB / 0.5878 GB, free: 15.38 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.296e-05/0.6478, allocations: 11.61 kB / 0.5879 GB, free: 15.38 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.024e-05/0.6478, allocations: 4.234 kB / 0.5879 GB, free: 15.38 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.048e-06/0.6478, allocations: 5.062 kB / 0.5879 GB, free: 15.38 MB / 446.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001239/0.648, allocations: 45.97 kB / 0.5879 GB, free: 15.34 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.473e-05/0.648, allocations: 5.156 kB / 0.5879 GB, free: 15.34 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.202e-06/0.648, allocations: 1.438 kB / 0.5879 GB, free: 15.34 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.385e-05/0.648, allocations: 0.6094 kB / 0.5879 GB, free: 15.34 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.92e-07/0.648, allocations: 0 / 0.5879 GB, free: 15.34 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.675e-06/0.648, allocations: 4.859 kB / 0.5879 GB, free: 15.33 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.445e-05/0.6481, allocations: 2.594 kB / 0.5879 GB, free: 15.33 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.094e-05/0.6482, allocations: 1.812 kB / 0.5879 GB, free: 15.33 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 0.0001199/0.6483, allocations: 192.4 kB / 0.5881 GB, free: 15.14 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.343e-05/0.6484, allocations: 111.9 kB / 0.5882 GB, free: 15.02 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.298e-05/0.6484, allocations: 106.7 kB / 0.5883 GB, free: 14.91 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.602e-05/0.6485, allocations: 178.3 kB / 0.5885 GB, free: 14.73 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.395e-05/0.6486, allocations: 182 kB / 0.5887 GB, free: 14.55 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.134e-05/0.6487, allocations: 180.9 kB / 0.5888 GB, free: 14.37 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000236/0.6489, allocations: 412.1 kB / 0.5892 GB, free: 13.91 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.111e-05/0.6489, allocations: 102.6 kB / 0.5893 GB, free: 13.81 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.602e-05/0.649, allocations: 106.7 kB / 0.5894 GB, free: 13.7 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.483e-05/0.6491, allocations: 181.8 kB / 0.5896 GB, free: 13.52 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.427e-05/0.6492, allocations: 182.2 kB / 0.5898 GB, free: 13.33 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.892e-05/0.6492, allocations: 186.4 kB / 0.59 GB, free: 13.14 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.742e-05/0.6493, allocations: 182 kB / 0.5901 GB, free: 12.96 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001556/0.6495, allocations: 313.2 kB / 0.5904 GB, free: 12.64 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001008/0.6496, allocations: 185.4 kB / 0.5906 GB, free: 12.43 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.727e-05/0.6497, allocations: 186.5 kB / 0.5908 GB, free: 12.25 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.887e-05/0.6498, allocations: 102.3 kB / 0.5909 GB, free: 12.14 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.869e-05/0.6499, allocations: 178.4 kB / 0.591 GB, free: 11.96 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.497e-05/0.6499, allocations: 110.6 kB / 0.5912 GB, free: 11.85 MB / 446.1 MB Notification: Performance of sorting global known variables: time 5.937e-05/0.65, allocations: 90.55 kB / 0.5912 GB, free: 11.77 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.65, allocations: 0 / 0.5912 GB, free: 11.77 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002312/0.6502, allocations: 3.406 kB / 0.5912 GB, free: 11.77 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.000529/0.6508, allocations: 0.82 MB / 0.592 GB, free: 10.95 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 7.946e-05/0.6509, allocations: 9.797 kB / 0.5921 GB, free: 10.94 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.6509, allocations: 0 / 0.5921 GB, free: 10.94 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 2.535e-06/0.6509, allocations: 0.875 kB / 0.5921 GB, free: 10.94 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003089/0.6512, allocations: 0.524 MB / 0.5926 GB, free: 10.41 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005107/0.6517, allocations: 369.1 kB / 0.5929 GB, free: 10.03 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002734/0.652, allocations: 0.6781 MB / 0.5936 GB, free: 9.332 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 1.996e-05/0.652, allocations: 1.891 kB / 0.5936 GB, free: 9.332 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.393e-05/0.6521, allocations: 8.953 kB / 0.5936 GB, free: 9.324 MB / 446.1 MB Notification: Performance of SimCode: time 2.164e-06/0.6521, allocations: 0 / 0.5936 GB, free: 9.324 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02294/0.675, allocations: 1.027 MB / 0.5946 GB, free: 9.211 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003747/0.6755, allocations: 199.4 kB / 0.5948 GB, free: 8.977 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_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: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_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: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_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