Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearData.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearData,fileNamePrefix="Buildings_8_Buildings_BoundaryConditions_WeatherData_Validation_ThreeYears_usingTwoYearData",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearData,fileNamePrefix="Buildings_8_Buildings_BoundaryConditions_WeatherData_Validation_ThreeYears_usingTwoYearData",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.704/1.704, allocations: 289.7 MB / 302.2 MB, free: 2.16 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001161/0.001161, allocations: 180 kB / 371.6 MB, free: 3.355 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.735/1.735, allocations: 205.1 MB / 0.6309 GB, free: 11.77 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001062/0.001062, allocations: 95.22 kB / 0.745 GB, free: 54.52 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 3.848e-05/3.85e-05, allocations: 4 kB / 0.8663 GB, free: 14.98 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3274/0.3275, allocations: 116.3 MB / 0.9799 GB, free: 10.53 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.867/7.195, allocations: 2.072 GB / 3.052 GB, free: 123.7 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003516/7.196, allocations: 89.14 kB / 3.052 GB, free: 123.7 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 0.06808/7.264, allocations: 27.55 MB / 3.079 GB, free: 100.7 MB / 0.948 GB Notification: Performance of FrontEnd: time 2.024e-06/7.264, allocations: 0 / 3.079 GB, free: 100.7 MB / 0.948 GB Notification: Performance of Transformations before backend: time 7.474e-05/7.264, allocations: 20.84 kB / 3.079 GB, free: 100.7 MB / 0.948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 154 * Number of variables: 154 Notification: Performance of Generate backend data structure: time 0.001754/7.265, allocations: 0.9234 MB / 3.08 GB, free: 99.77 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 5.127e-05/7.266, allocations: 8.031 kB / 3.08 GB, free: 99.77 MB / 0.948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001273/7.266, allocations: 107.2 kB / 3.08 GB, free: 99.69 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003222/7.266, allocations: 96.59 kB / 3.08 GB, free: 99.6 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009208/7.267, allocations: 0.5636 MB / 3.081 GB, free: 99.09 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.91e-05/7.267, allocations: 50.39 kB / 3.081 GB, free: 99.06 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.099e-05/7.267, allocations: 61.75 kB / 3.081 GB, free: 99.02 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001011/7.268, allocations: 0.6783 MB / 3.082 GB, free: 98.49 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.536e-05/7.268, allocations: 3.938 kB / 3.082 GB, free: 98.48 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.828e-05/7.268, allocations: 26.31 kB / 3.082 GB, free: 98.48 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.442e-05/7.268, allocations: 16 kB / 3.082 GB, free: 98.46 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001059/7.269, allocations: 0.9032 MB / 3.083 GB, free: 97.73 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002746/7.272, allocations: 2.346 MB / 3.085 GB, free: 95.74 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008235/7.273, allocations: 0.5922 MB / 3.085 GB, free: 95.32 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002902/7.273, allocations: 218.6 kB / 3.086 GB, free: 95.18 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 6.975e-05/7.273, allocations: 28.42 kB / 3.086 GB, free: 95.16 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004928/7.274, allocations: 344.8 kB / 3.086 GB, free: 94.89 MB / 0.948 GB Notification: Performance of pre-optimization done (n=61): time 3.647e-06/7.274, allocations: 0.5625 kB / 3.086 GB, free: 94.89 MB / 0.948 GB Notification: Performance of matching and sorting (n=61): time 0.0009149/7.275, allocations: 0.5281 MB / 3.087 GB, free: 94.49 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001091/7.275, allocations: 295.2 kB / 3.087 GB, free: 94.13 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006519/7.275, allocations: 0.5688 MB / 3.087 GB, free: 93.7 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 4.966e-05/7.276, allocations: 40.8 kB / 3.087 GB, free: 93.66 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002459/7.276, allocations: 326.4 kB / 3.088 GB, free: 93.45 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001238/7.276, allocations: 207.5 kB / 3.088 GB, free: 93.27 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.702e-05/7.276, allocations: 7.062 kB / 3.088 GB, free: 93.27 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0001147/7.276, allocations: 374.6 kB / 3.088 GB, free: 92.92 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002328/7.276, allocations: 163.5 kB / 3.088 GB, free: 92.82 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003533/7.277, allocations: 287.3 kB / 3.089 GB, free: 92.57 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002973/7.277, allocations: 207.2 kB / 3.089 GB, free: 92.44 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.836e-06/7.277, allocations: 4 kB / 3.089 GB, free: 92.44 MB / 0.948 GB Notification: Performance of matching and sorting (n=67) (initialization): time 0.0007472/7.278, allocations: 0.5349 MB / 3.089 GB, free: 92.03 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 2.078e-05/7.278, allocations: 8 kB / 3.089 GB, free: 92.02 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.564e-06/7.278, allocations: 0 / 3.089 GB, free: 92.02 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.339e-05/7.278, allocations: 5.312 kB / 3.089 GB, free: 92.02 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004571/7.278, allocations: 115.7 kB / 3.09 GB, free: 91.91 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.397e-05/7.278, allocations: 7.984 kB / 3.09 GB, free: 91.9 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004217/7.279, allocations: 82.38 kB / 3.09 GB, free: 91.83 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.661e-05/7.279, allocations: 24.98 kB / 3.09 GB, free: 91.81 MB / 0.948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition2,$whenCondition1,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (67): * Single equations (assignments): 67 * 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.0001432/7.279, allocations: 143.2 kB / 3.09 GB, free: 91.68 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.512e-05/7.279, allocations: 71.16 kB / 3.09 GB, free: 91.61 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001285/7.28, allocations: 0.7538 MB / 3.091 GB, free: 91.05 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.708e-06/7.28, allocations: 11.98 kB / 3.091 GB, free: 91.04 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.073e-06/7.28, allocations: 4 kB / 3.091 GB, free: 91.04 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.774e-06/7.28, allocations: 0 / 3.091 GB, free: 91.04 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009834/7.281, allocations: 0.9369 MB / 3.092 GB, free: 90.26 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.866e-06/7.281, allocations: 0 / 3.092 GB, free: 90.26 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003803/7.282, allocations: 119.5 kB / 3.092 GB, free: 90.14 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.474e-06/7.282, allocations: 4.562 kB / 3.092 GB, free: 90.14 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.024e-05/7.282, allocations: 18.42 kB / 3.092 GB, free: 90.13 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.547e-06/7.282, allocations: 7.938 kB / 3.092 GB, free: 90.12 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.605e-06/7.282, allocations: 3.953 kB / 3.092 GB, free: 90.12 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007882/7.283, allocations: 0.6408 MB / 3.092 GB, free: 89.61 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003088/7.283, allocations: 267.4 kB / 3.093 GB, free: 89.38 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.231e-05/7.283, allocations: 15.78 kB / 3.093 GB, free: 89.37 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003955/7.283, allocations: 59.34 kB / 3.093 GB, free: 89.32 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001029/7.284, allocations: 51.53 kB / 3.093 GB, free: 89.28 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.919e-05/7.284, allocations: 23.42 kB / 3.093 GB, free: 89.26 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.0004918/7.284, allocations: 474.7 kB / 3.093 GB, free: 88.93 MB / 0.948 GB Notification: Performance of sort global known variables: time 4.11e-07/7.284, allocations: 0 / 3.093 GB, free: 88.93 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0007604/7.285, allocations: 248.9 kB / 3.093 GB, free: 88.71 MB / 0.948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition2,$whenCondition1,weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Number of discrete states: 2 (weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Top-level inputs: 0 Notification: Strong component statistics for simulation (72): * Single equations (assignments): 70 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.002215/7.287, allocations: 1.697 MB / 3.095 GB, free: 87.28 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0007144/7.288, allocations: 470 kB / 3.096 GB, free: 86.88 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 3.226e-06/7.288, allocations: 0 / 3.096 GB, free: 86.88 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0003248/7.288, allocations: 276.4 kB / 3.096 GB, free: 86.61 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009831/7.289, allocations: 216.4 kB / 3.096 GB, free: 86.4 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002174/7.291, allocations: 1.176 MB / 3.097 GB, free: 85.18 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004137/7.292, allocations: 0.9718 MB / 3.098 GB, free: 84.18 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.0006936/7.293, allocations: 238.6 kB / 3.098 GB, free: 83.95 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003862/7.293, allocations: 299.3 kB / 3.099 GB, free: 83.66 MB / 0.948 GB Notification: Performance of SimCode: time 7.72e-07/7.293, allocations: 0 / 3.099 GB, free: 83.66 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03806/7.331, allocations: 16.83 MB / 3.115 GB, free: 67.02 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002368/7.331, allocations: 233 kB / 3.115 GB, free: 66.79 MB / 0.948 GB Error: Error building simulator. Build log: clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/Resources/C-Sources" -c -o Buildings_8_Buildings_BoundaryConditions_WeatherData_Validation_ThreeYears_usingTwoYearData.o Buildings_8_Buildings_BoundaryConditions_WeatherData_Validation_ThreeYears_usingTwoYearData.c In file included from Buildings_8_Buildings_BoundaryConditions_WeatherData_Validation_ThreeYears_usingTwoYearData.c:7: In file included from ./Buildings_8_Buildings_BoundaryConditions_WeatherData_Validation_ThreeYears_usingTwoYearData_model.h:5: In file included from ./openmodelica.h:71: In file included from ./gc/../openmodelica_types.h:111: ./gc/omc_gc.h:217:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:221: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 -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/Resources/C-Sources" -c -o Buildings_8_Buildings_BoundaryConditions_WeatherData_Validation_ThreeYears_usingTwoYearData_functions.o Buildings_8_Buildings_BoundaryConditions_WeatherData_Validation_ThreeYears_usingTwoYearData_functions.c In file included from Buildings_8_Buildings_BoundaryConditions_WeatherData_Validation_ThreeYears_usingTwoYearData_functions.c:2: In file included from ./Buildings_8_Buildings_BoundaryConditions_WeatherData_Validation_ThreeYears_usingTwoYearData_functions.h:3: In file included from ./meta/meta_modelica.h:49: ./gc/omc_gc.h:217:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:221:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ In file included from Buildings_8_Buildings_BoundaryConditions_WeatherData_Validation_ThreeYears_usingTwoYearData_functions.c:7: In file included from ./Buildings_8_Buildings_BoundaryConditions_WeatherData_Validation_ThreeYears_usingTwoYearData_includes.h:4: /home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/Resources/C-Sources/getTimeSpan.c:9:10: fatal error: 'ModelicaUtilities.h' file not found #include "ModelicaUtilities.h" ^~~~~~~~~~~~~~~~~~~~~ 2 warnings and 1 error generated. make: *** [: Buildings_8_Buildings_BoundaryConditions_WeatherData_Validation_ThreeYears_usingTwoYearData_functions.o] Error 1