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.759/1.759, allocations: 292.6 MB / 307.5 MB, free: 5.215 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.001266/0.001267, allocations: 172.4 kB / 377.1 MB, free: 1.523 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.854/1.854, allocations: 205.4 MB / 0.6366 GB, free: 8.637 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.0009526/0.0009525, allocations: 93.56 kB / 0.7509 GB, free: 62.99 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003445/0.0003446, allocations: 8 kB / 0.8748 GB, free: 11.11 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2779/0.2782, allocations: 116.3 MB / 0.9884 GB, free: 6.656 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.412/6.69, allocations: 2.072 GB / 3.061 GB, free: 147.3 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003114/6.69, allocations: 93.34 kB / 3.061 GB, free: 147.2 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 0.06476/6.755, allocations: 27.8 MB / 3.088 GB, free: 119.6 MB / 0.948 GB Notification: Performance of FrontEnd: time 2.194e-06/6.755, allocations: 4 kB / 3.088 GB, free: 119.6 MB / 0.948 GB Notification: Performance of Transformations before backend: time 6.803e-05/6.755, allocations: 20 kB / 3.088 GB, free: 119.6 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.001719/6.757, allocations: 1.025 MB / 3.089 GB, free: 118.5 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.294e-05/6.757, allocations: 8.969 kB / 3.089 GB, free: 118.5 MB / 0.948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000117/6.757, allocations: 110.5 kB / 3.089 GB, free: 118.4 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000253/6.758, allocations: 96.94 kB / 3.089 GB, free: 118.3 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007636/6.758, allocations: 0.5686 MB / 3.09 GB, free: 117.7 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.423e-05/6.758, allocations: 45.31 kB / 3.09 GB, free: 117.7 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.188e-05/6.758, allocations: 59.44 kB / 3.09 GB, free: 117.6 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008836/6.759, allocations: 0.6897 MB / 3.091 GB, free: 116.9 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.6e-05/6.759, allocations: 0 / 3.091 GB, free: 116.9 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.695e-05/6.759, allocations: 35.92 kB / 3.091 GB, free: 116.8 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.354e-05/6.759, allocations: 17.91 kB / 3.091 GB, free: 116.8 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000981/6.76, allocations: 0.9181 MB / 3.092 GB, free: 115.9 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002452/6.763, allocations: 2.345 MB / 3.094 GB, free: 113.5 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000727/6.764, allocations: 0.6009 MB / 3.095 GB, free: 112.9 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 5.438e-05/6.764, allocations: 24.61 kB / 3.095 GB, free: 112.8 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004334/6.764, allocations: 352.6 kB / 3.095 GB, free: 112.5 MB / 0.948 GB Notification: Performance of pre-optimization done (n=61): time 2.214e-06/6.764, allocations: 0 / 3.095 GB, free: 112.5 MB / 0.948 GB Notification: Performance of matching and sorting (n=61): time 0.001007/6.765, allocations: 0.7097 MB / 3.096 GB, free: 111.8 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.554e-05/6.765, allocations: 295.3 kB / 3.096 GB, free: 111.4 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005744/6.766, allocations: 0.5853 MB / 3.096 GB, free: 110.8 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 4.263e-05/6.766, allocations: 37.7 kB / 3.096 GB, free: 110.8 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001759/6.766, allocations: 321.6 kB / 3.097 GB, free: 110.4 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 9.915e-05/6.766, allocations: 197.1 kB / 3.097 GB, free: 110.2 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.202e-05/6.766, allocations: 12 kB / 3.097 GB, free: 110.2 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 9.425e-05/6.766, allocations: 374.8 kB / 3.097 GB, free: 109.9 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000241/6.767, allocations: 165 kB / 3.097 GB, free: 109.7 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003062/6.767, allocations: 301.2 kB / 3.098 GB, free: 109.4 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002757/6.767, allocations: 210.1 kB / 3.098 GB, free: 109.2 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.735e-06/6.767, allocations: 0 / 3.098 GB, free: 109.2 MB / 0.948 GB Notification: Performance of matching and sorting (n=67) (initialization): time 0.000692/6.768, allocations: 0.5489 MB / 3.098 GB, free: 108.6 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 2.101e-05/6.768, allocations: 5.031 kB / 3.098 GB, free: 108.6 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.552e-06/6.768, allocations: 0 / 3.098 GB, free: 108.6 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.898e-05/6.768, allocations: 4 kB / 3.099 GB, free: 108.6 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004302/6.768, allocations: 119.8 kB / 3.099 GB, free: 108.5 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.128e-05/6.768, allocations: 5.047 kB / 3.099 GB, free: 108.5 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004045/6.769, allocations: 87.47 kB / 3.099 GB, free: 108.4 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.06e-05/6.769, allocations: 27.94 kB / 3.099 GB, free: 108.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 () * Number of clocked 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.0002651/6.769, allocations: 237.7 kB / 3.099 GB, free: 108.1 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.133e-05/6.769, allocations: 71.16 kB / 3.099 GB, free: 108.1 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001171/6.77, allocations: 0.7572 MB / 3.1 GB, free: 107.3 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.452e-06/6.77, allocations: 8 kB / 3.1 GB, free: 107.3 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.741e-06/6.77, allocations: 0.8438 kB / 3.1 GB, free: 107.3 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.574e-06/6.77, allocations: 3.984 kB / 3.1 GB, free: 107.3 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008807/6.771, allocations: 0.9441 MB / 3.101 GB, free: 106.3 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.685e-06/6.771, allocations: 0 / 3.101 GB, free: 106.3 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003767/6.772, allocations: 115.8 kB / 3.101 GB, free: 106.2 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.272e-06/6.772, allocations: 4 kB / 3.101 GB, free: 106.2 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.589e-05/6.772, allocations: 19.98 kB / 3.101 GB, free: 106.1 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.506e-06/6.772, allocations: 4 kB / 3.101 GB, free: 106.1 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.353e-06/6.772, allocations: 0 / 3.101 GB, free: 106.1 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007764/6.773, allocations: 0.6562 MB / 3.101 GB, free: 105.5 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003038/6.773, allocations: 259.9 kB / 3.102 GB, free: 105.2 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.122e-05/6.773, allocations: 16 kB / 3.102 GB, free: 105.2 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003922/6.773, allocations: 59.89 kB / 3.102 GB, free: 105.1 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.809e-05/6.773, allocations: 52.53 kB / 3.102 GB, free: 105.1 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.777e-05/6.773, allocations: 27.98 kB / 3.102 GB, free: 105 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.0004315/6.774, allocations: 471 kB / 3.102 GB, free: 104.6 MB / 0.948 GB Notification: Performance of sort global known variables: time 1.41e-07/6.774, allocations: 0 / 3.102 GB, free: 104.6 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0007329/6.775, allocations: 259.4 kB / 3.103 GB, free: 104.3 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) * Number of clocked states: 0 () * 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.002064/6.777, allocations: 1.737 MB / 3.104 GB, free: 102.7 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0006526/6.777, allocations: 476.8 kB / 3.105 GB, free: 102.3 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 2.825e-06/6.777, allocations: 0 / 3.105 GB, free: 102.3 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0003107/6.778, allocations: 275.6 kB / 3.105 GB, free: 102 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000852/6.779, allocations: 226.6 kB / 3.105 GB, free: 101.8 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005439/6.784, allocations: 4.523 MB / 3.11 GB, free: 97.18 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003536/6.784, allocations: 0.964 MB / 3.111 GB, free: 96.18 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.0007224/6.785, allocations: 241.5 kB / 3.111 GB, free: 95.95 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003458/6.786, allocations: 291.3 kB / 3.111 GB, free: 95.66 MB / 0.948 GB Notification: Performance of SimCode: time 1.382e-06/6.786, allocations: 0 / 3.111 GB, free: 95.66 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03328/6.819, allocations: 16.92 MB / 3.128 GB, free: 78.96 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001999/6.819, allocations: 254.7 kB / 3.128 GB, free: 78.63 MB / 0.948 GB 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/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:149: ./gc/omc_gc.h:222:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:226: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/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:222:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:226: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