Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearData.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearData,fileNamePrefix="Buildings_8_0_0_Buildings_BoundaryConditions_WeatherData_Validation_ThreeYears_usingTwoYearData",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearData,fileNamePrefix="Buildings_8_0_0_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.0.0/package.mo): time 2.482/2.482, allocations: 284.7 MB / 297.2 MB, free: 6.34 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.001576/0.001576, allocations: 184.8 kB / 365.6 MB, free: 2.629 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.065/2.065, allocations: 205.1 MB / 0.624 GB, free: 8.23 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.001085/0.001085, allocations: 94.95 kB / 0.7371 GB, free: 40.83 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 4.333e-05/4.336e-05, allocations: 4 kB / 0.8574 GB, free: 13.7 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.004/1.004, allocations: 115.2 MB / 0.9699 GB, free: 78.08 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.191/7.195, allocations: 2.071 GB / 3.041 GB, free: 26.18 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003477/7.196, allocations: 85.83 kB / 3.041 GB, free: 26.14 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 0.1146/7.31, allocations: 27.55 MB / 3.068 GB, free: 1.348 MB / 0.948 GB Notification: Performance of FrontEnd: time 2.444e-06/7.31, allocations: 0 / 3.068 GB, free: 1.348 MB / 0.948 GB Notification: Performance of Transformations before backend: time 8.694e-05/7.31, allocations: 23.94 kB / 3.068 GB, free: 1.324 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.001937/7.312, allocations: 0.9196 MB / 3.069 GB, free: 364 kB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 5.137e-05/7.312, allocations: 8.031 kB / 3.069 GB, free: 356 kB / 0.948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001863/7.313, allocations: 107.7 kB / 3.069 GB, free: 240 kB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004596/7.313, allocations: 101.1 kB / 3.069 GB, free: 140 kB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.6902/8.003, allocations: 0.5648 MB / 3.07 GB, free: 333.1 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.446e-05/8.003, allocations: 46.45 kB / 3.07 GB, free: 333.1 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001724/8.004, allocations: 58.5 kB / 3.07 GB, free: 333.1 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002086/8.006, allocations: 0.6734 MB / 3.071 GB, free: 333 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.321e-05/8.006, allocations: 4.562 kB / 3.071 GB, free: 333 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000126/8.006, allocations: 27.06 kB / 3.071 GB, free: 333 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.052e-05/8.006, allocations: 15.94 kB / 3.071 GB, free: 333 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002823/8.009, allocations: 0.9073 MB / 3.072 GB, free: 332.9 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006596/8.015, allocations: 2.348 MB / 3.074 GB, free: 331.9 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001883/8.017, allocations: 0.5938 MB / 3.074 GB, free: 331.9 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006423/8.018, allocations: 217.9 kB / 3.075 GB, free: 331.9 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001346/8.018, allocations: 29.92 kB / 3.075 GB, free: 331.9 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008969/8.019, allocations: 342.5 kB / 3.075 GB, free: 331.8 MB / 0.948 GB Notification: Performance of pre-optimization done (n=61): time 6.252e-06/8.019, allocations: 2.906 kB / 3.075 GB, free: 331.8 MB / 0.948 GB Notification: Performance of matching and sorting (n=61): time 0.001907/8.021, allocations: 0.5294 MB / 3.076 GB, free: 331.7 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000121/8.021, allocations: 295 kB / 3.076 GB, free: 331.4 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001524/8.023, allocations: 0.5674 MB / 3.076 GB, free: 331.2 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0002392/8.023, allocations: 40.61 kB / 3.076 GB, free: 331.2 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.000368/8.023, allocations: 330.7 kB / 3.077 GB, free: 331.1 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003105/8.024, allocations: 201.9 kB / 3.077 GB, free: 331 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.649e-05/8.024, allocations: 8 kB / 3.077 GB, free: 331 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0001687/8.024, allocations: 381.6 kB / 3.077 GB, free: 330.7 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005397/8.025, allocations: 163.1 kB / 3.077 GB, free: 330.7 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007063/8.025, allocations: 288.1 kB / 3.078 GB, free: 330.6 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006151/8.026, allocations: 211 kB / 3.078 GB, free: 330.6 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.861e-06/8.026, allocations: 0.75 kB / 3.078 GB, free: 330.6 MB / 0.948 GB Notification: Performance of matching and sorting (n=67) (initialization): time 0.001723/8.028, allocations: 0.5365 MB / 3.078 GB, free: 330.5 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 3.125e-05/8.028, allocations: 6.969 kB / 3.078 GB, free: 330.5 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.199e-05/8.028, allocations: 1.188 kB / 3.078 GB, free: 330.5 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.418e-05/8.028, allocations: 4.188 kB / 3.078 GB, free: 330.5 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000969/8.029, allocations: 116.4 kB / 3.079 GB, free: 330.5 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.752e-05/8.029, allocations: 7.375 kB / 3.079 GB, free: 330.5 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009718/8.03, allocations: 79.11 kB / 3.079 GB, free: 330.4 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001049/8.03, allocations: 23.91 kB / 3.079 GB, free: 330.4 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.0002644/8.03, allocations: 136.1 kB / 3.079 GB, free: 330.3 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002617/8.031, allocations: 74.11 kB / 3.079 GB, free: 330.3 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002466/8.033, allocations: 0.7534 MB / 3.08 GB, free: 330.2 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.284e-05/8.033, allocations: 7.625 kB / 3.08 GB, free: 330.2 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.326e-06/8.033, allocations: 2.375 kB / 3.08 GB, free: 330.2 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.443e-05/8.033, allocations: 7.969 kB / 3.08 GB, free: 330.2 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001865/8.035, allocations: 0.9385 MB / 3.081 GB, free: 329.9 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.382e-06/8.035, allocations: 0 / 3.081 GB, free: 329.9 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009356/8.036, allocations: 121.9 kB / 3.081 GB, free: 329.9 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.271e-05/8.036, allocations: 5.625 kB / 3.081 GB, free: 329.9 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.459e-05/8.036, allocations: 18.09 kB / 3.081 GB, free: 329.9 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.226e-06/8.036, allocations: 6.047 kB / 3.081 GB, free: 329.9 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.148e-06/8.036, allocations: 0 / 3.081 GB, free: 329.9 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00172/8.038, allocations: 0.6492 MB / 3.081 GB, free: 329.7 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005909/8.038, allocations: 262.8 kB / 3.082 GB, free: 329.6 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001713/8.039, allocations: 12.03 kB / 3.082 GB, free: 329.6 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007919/8.039, allocations: 61.66 kB / 3.082 GB, free: 329.6 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001726/8.04, allocations: 50.88 kB / 3.082 GB, free: 329.6 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.644e-05/8.04, allocations: 30.83 kB / 3.082 GB, free: 329.6 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.001002/8.041, allocations: 467.5 kB / 3.082 GB, free: 329.5 MB / 0.948 GB Notification: Performance of sort global known variables: time 6.52e-07/8.041, allocations: 0 / 3.082 GB, free: 329.5 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.001562/8.042, allocations: 240.6 kB / 3.082 GB, free: 329.5 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.003888/8.046, allocations: 1.696 MB / 3.084 GB, free: 328.7 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.001622/8.048, allocations: 462.5 kB / 3.085 GB, free: 328.7 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 9.388e-06/8.048, allocations: 1.281 kB / 3.085 GB, free: 328.7 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0007642/8.049, allocations: 273.7 kB / 3.085 GB, free: 328.7 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002098/8.051, allocations: 226.6 kB / 3.085 GB, free: 328.7 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004568/8.056, allocations: 1.182 MB / 3.086 GB, free: 328.4 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007168/8.056, allocations: 0.9674 MB / 3.087 GB, free: 327.6 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.00154/8.058, allocations: 241.5 kB / 3.087 GB, free: 327.6 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007934/8.059, allocations: 297.6 kB / 3.088 GB, free: 327.6 MB / 0.948 GB Notification: Performance of SimCode: time 1.904e-06/8.059, allocations: 0 / 3.088 GB, free: 327.6 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07047/8.129, allocations: 16.84 MB / 3.104 GB, free: 326.5 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003527/8.13, allocations: 225.8 kB / 3.104 GB, free: 326.3 MB / 0.948 GB Error: Error building simulator. Build log: clang -Os -fPIC -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.0.0/Resources/C-Sources" -c -o Buildings_8_0_0_Buildings_BoundaryConditions_WeatherData_Validation_ThreeYears_usingTwoYearData.o Buildings_8_0_0_Buildings_BoundaryConditions_WeatherData_Validation_ThreeYears_usingTwoYearData.c In file included from Buildings_8_0_0_Buildings_BoundaryConditions_WeatherData_Validation_ThreeYears_usingTwoYearData.c:7: In file included from ./Buildings_8_0_0_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 -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.0.0/Resources/C-Sources" -c -o Buildings_8_0_0_Buildings_BoundaryConditions_WeatherData_Validation_ThreeYears_usingTwoYearData_functions.o Buildings_8_0_0_Buildings_BoundaryConditions_WeatherData_Validation_ThreeYears_usingTwoYearData_functions.c In file included from Buildings_8_0_0_Buildings_BoundaryConditions_WeatherData_Validation_ThreeYears_usingTwoYearData_functions.c:2: In file included from ./Buildings_8_0_0_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_0_0_Buildings_BoundaryConditions_WeatherData_Validation_ThreeYears_usingTwoYearData_functions.c:7: In file included from ./Buildings_8_0_0_Buildings_BoundaryConditions_WeatherData_Validation_ThreeYears_usingTwoYearData_includes.h:4: /home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/Resources/C-Sources/getTimeSpan.c:6:10: fatal error: 'ModelicaUtilities.h' file not found #include ^~~~~~~~~~~~~~~~~~~~~ 2 warnings and 1 error generated. : recipe for target 'Buildings_8_0_0_Buildings_BoundaryConditions_WeatherData_Validation_ThreeYears_usingTwoYearData_functions.o' failed make: *** [Buildings_8_0_0_Buildings_BoundaryConditions_WeatherData_Validation_ThreeYears_usingTwoYearData_functions.o] Error 1