Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearDataPositiveStart.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_usingTwoYearDataPositiveStart,fileNamePrefix="Buildings_8_Buildings_BoundaryConditions_WeatherData_Validation_ThreeYears_usingTwoYearDataPositiveStart",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearDataPositiveStart,fileNamePrefix="Buildings_8_Buildings_BoundaryConditions_WeatherData_Validation_ThreeYears_usingTwoYearDataPositiveStart",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.715/1.715, allocations: 289.7 MB / 302.2 MB, free: 2.18 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.001044/0.001044, allocations: 183.5 kB / 371.6 MB, free: 3.395 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.642/1.642, allocations: 205.2 MB / 0.6309 GB, free: 11.8 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.0009687/0.000969, allocations: 88.31 kB / 0.745 GB, free: 54.54 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 4.478e-05/4.48e-05, allocations: 0 / 0.8663 GB, free: 14.98 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3049/0.305, allocations: 116.3 MB / 0.9799 GB, free: 10.51 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.778/7.083, allocations: 2.072 GB / 3.052 GB, free: 124 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003444/7.083, allocations: 84.42 kB / 3.052 GB, free: 124 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 0.07434/7.158, allocations: 27.57 MB / 3.079 GB, free: 101 MB / 0.948 GB Notification: Performance of FrontEnd: time 2.675e-06/7.158, allocations: 0.5625 kB / 3.079 GB, free: 101 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0001467/7.158, allocations: 20 kB / 3.079 GB, free: 100.9 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.002544/7.161, allocations: 0.9166 MB / 3.08 GB, free: 100 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 6.421e-05/7.161, allocations: 8.031 kB / 3.08 GB, free: 100 MB / 0.948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003075/7.161, allocations: 111.4 kB / 3.08 GB, free: 99.94 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00055/7.161, allocations: 104.3 kB / 3.08 GB, free: 99.84 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00143/7.163, allocations: 0.5622 MB / 3.081 GB, free: 99.33 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.5e-05/7.163, allocations: 47.33 kB / 3.081 GB, free: 99.31 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001236/7.163, allocations: 61.56 kB / 3.081 GB, free: 99.27 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001319/7.164, allocations: 0.6749 MB / 3.082 GB, free: 98.73 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.767e-05/7.164, allocations: 3.938 kB / 3.082 GB, free: 98.73 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.166e-05/7.165, allocations: 25.97 kB / 3.082 GB, free: 98.73 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.647e-05/7.165, allocations: 16 kB / 3.082 GB, free: 98.71 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001368/7.166, allocations: 0.9084 MB / 3.083 GB, free: 97.98 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003775/7.17, allocations: 2.336 MB / 3.085 GB, free: 96 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008684/7.171, allocations: 0.5905 MB / 3.086 GB, free: 95.58 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002893/7.171, allocations: 222.6 kB / 3.086 GB, free: 95.43 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 7.999e-05/7.171, allocations: 28.47 kB / 3.086 GB, free: 95.41 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005768/7.172, allocations: 347.3 kB / 3.086 GB, free: 95.14 MB / 0.948 GB Notification: Performance of pre-optimization done (n=61): time 5.26e-06/7.172, allocations: 0 / 3.086 GB, free: 95.14 MB / 0.948 GB Notification: Performance of matching and sorting (n=61): time 0.001001/7.173, allocations: 0.5264 MB / 3.087 GB, free: 94.74 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001312/7.173, allocations: 302.7 kB / 3.087 GB, free: 94.38 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008224/7.174, allocations: 0.5697 MB / 3.087 GB, free: 93.95 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 6.102e-05/7.174, allocations: 36.89 kB / 3.088 GB, free: 93.91 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002267/7.174, allocations: 325 kB / 3.088 GB, free: 93.7 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001544/7.174, allocations: 202.3 kB / 3.088 GB, free: 93.52 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.33e-05/7.174, allocations: 11.19 kB / 3.088 GB, free: 93.52 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0001236/7.174, allocations: 376 kB / 3.088 GB, free: 93.17 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000233/7.175, allocations: 160.5 kB / 3.089 GB, free: 93.07 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003328/7.175, allocations: 285.1 kB / 3.089 GB, free: 92.83 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002992/7.175, allocations: 218.9 kB / 3.089 GB, free: 92.68 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.266e-06/7.175, allocations: 0 / 3.089 GB, free: 92.68 MB / 0.948 GB Notification: Performance of matching and sorting (n=67) (initialization): time 0.0007821/7.176, allocations: 0.5299 MB / 3.09 GB, free: 92.28 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 2.277e-05/7.176, allocations: 4 kB / 3.09 GB, free: 92.27 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.668e-06/7.176, allocations: 2.562 kB / 3.09 GB, free: 92.27 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.26e-05/7.176, allocations: 4 kB / 3.09 GB, free: 92.27 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000442/7.177, allocations: 127.2 kB / 3.09 GB, free: 92.15 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.293e-05/7.177, allocations: 4 kB / 3.09 GB, free: 92.15 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004653/7.177, allocations: 82.36 kB / 3.09 GB, free: 92.07 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.117e-05/7.177, allocations: 23.92 kB / 3.09 GB, free: 92.05 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.0001668/7.177, allocations: 139.1 kB / 3.09 GB, free: 91.93 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001134/7.177, allocations: 71.16 kB / 3.09 GB, free: 91.86 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001361/7.179, allocations: 0.757 MB / 3.091 GB, free: 91.3 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.365e-05/7.179, allocations: 8 kB / 3.091 GB, free: 91.3 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.096e-06/7.179, allocations: 4 kB / 3.091 GB, free: 91.29 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.028e-05/7.179, allocations: 3.984 kB / 3.091 GB, free: 91.29 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001251/7.18, allocations: 0.9314 MB / 3.092 GB, free: 90.52 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.886e-06/7.18, allocations: 0 / 3.092 GB, free: 90.52 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004001/7.18, allocations: 116.7 kB / 3.092 GB, free: 90.41 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.243e-05/7.181, allocations: 4 kB / 3.092 GB, free: 90.4 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.317e-05/7.181, allocations: 26.36 kB / 3.092 GB, free: 90.39 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.931e-06/7.181, allocations: 11.94 kB / 3.092 GB, free: 90.38 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.807e-06/7.181, allocations: 3.953 kB / 3.092 GB, free: 90.37 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000901/7.182, allocations: 0.6373 MB / 3.092 GB, free: 89.86 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003742/7.182, allocations: 265.6 kB / 3.093 GB, free: 89.63 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001151/7.182, allocations: 18.69 kB / 3.093 GB, free: 89.62 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004333/7.182, allocations: 62.84 kB / 3.093 GB, free: 89.57 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001111/7.183, allocations: 44.59 kB / 3.093 GB, free: 89.53 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.481e-05/7.183, allocations: 23.36 kB / 3.093 GB, free: 89.51 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.0005607/7.183, allocations: 470.8 kB / 3.093 GB, free: 89.18 MB / 0.948 GB Notification: Performance of sort global known variables: time 1.4e-07/7.183, allocations: 3.938 kB / 3.093 GB, free: 89.18 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0008607/7.184, allocations: 250.1 kB / 3.094 GB, free: 88.96 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.002594/7.187, allocations: 1.702 MB / 3.095 GB, free: 87.53 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0007793/7.187, allocations: 463.1 kB / 3.096 GB, free: 87.13 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 5.01e-06/7.187, allocations: 4 kB / 3.096 GB, free: 87.13 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.000369/7.188, allocations: 276.4 kB / 3.096 GB, free: 86.86 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00109/7.189, allocations: 217.3 kB / 3.096 GB, free: 86.65 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002751/7.192, allocations: 1.171 MB / 3.097 GB, free: 85.43 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005563/7.192, allocations: 0.9757 MB / 3.098 GB, free: 84.43 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.0007675/7.193, allocations: 246.6 kB / 3.098 GB, free: 84.19 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004367/7.194, allocations: 291.3 kB / 3.099 GB, free: 83.91 MB / 0.948 GB Notification: Performance of SimCode: time 1.503e-06/7.194, allocations: 4 kB / 3.099 GB, free: 83.9 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04264/7.236, allocations: 16.85 MB / 3.115 GB, free: 67.29 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002067/7.236, allocations: 236.6 kB / 3.115 GB, free: 66.99 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_usingTwoYearDataPositiveStart.o Buildings_8_Buildings_BoundaryConditions_WeatherData_Validation_ThreeYears_usingTwoYearDataPositiveStart.c In file included from Buildings_8_Buildings_BoundaryConditions_WeatherData_Validation_ThreeYears_usingTwoYearDataPositiveStart.c:7: In file included from ./Buildings_8_Buildings_BoundaryConditions_WeatherData_Validation_ThreeYears_usingTwoYearDataPositiveStart_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_usingTwoYearDataPositiveStart_functions.o Buildings_8_Buildings_BoundaryConditions_WeatherData_Validation_ThreeYears_usingTwoYearDataPositiveStart_functions.c In file included from Buildings_8_Buildings_BoundaryConditions_WeatherData_Validation_ThreeYears_usingTwoYearDataPositiveStart_functions.c:2: In file included from ./Buildings_8_Buildings_BoundaryConditions_WeatherData_Validation_ThreeYears_usingTwoYearDataPositiveStart_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_usingTwoYearDataPositiveStart_functions.c:7: In file included from ./Buildings_8_Buildings_BoundaryConditions_WeatherData_Validation_ThreeYears_usingTwoYearDataPositiveStart_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_usingTwoYearDataPositiveStart_functions.o] Error 1