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.985/1.985, allocations: 292.6 MB / 307.5 MB, free: 5.156 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.001382/0.001383, allocations: 185 kB / 377.1 MB, free: 1.496 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.4 MB / 0.6366 GB, free: 8.52 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.0009217/0.0009216, allocations: 90.47 kB / 0.7509 GB, free: 63.14 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003569/0.0003569, allocations: 12 kB / 0.8749 GB, free: 11.06 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3038/0.3042, allocations: 116.3 MB / 0.9884 GB, free: 6.613 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.128/6.432, allocations: 2.073 GB / 3.061 GB, free: 108.7 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002596/6.432, allocations: 90.41 kB / 3.061 GB, free: 108.7 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 0.06708/6.499, allocations: 27.83 MB / 3.088 GB, free: 82.37 MB / 0.948 GB Notification: Performance of FrontEnd: time 3.767e-06/6.499, allocations: 0.9375 kB / 3.088 GB, free: 82.37 MB / 0.948 GB Notification: Performance of Transformations before backend: time 8.762e-05/6.499, allocations: 27.94 kB / 3.088 GB, free: 82.34 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.001919/6.501, allocations: 1.022 MB / 3.089 GB, free: 81.27 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.767e-05/6.501, allocations: 12.02 kB / 3.089 GB, free: 81.25 MB / 0.948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001258/6.501, allocations: 106.5 kB / 3.089 GB, free: 81.14 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002672/6.502, allocations: 104.9 kB / 3.089 GB, free: 81.04 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008225/6.503, allocations: 0.557 MB / 3.09 GB, free: 80.44 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.183e-05/6.503, allocations: 49.3 kB / 3.09 GB, free: 80.39 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.001e-05/6.503, allocations: 67.44 kB / 3.09 GB, free: 80.33 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009119/6.504, allocations: 0.686 MB / 3.091 GB, free: 79.59 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.709e-05/6.504, allocations: 3.938 kB / 3.091 GB, free: 79.59 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.652e-05/6.504, allocations: 28 kB / 3.091 GB, free: 79.56 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.473e-05/6.504, allocations: 17.56 kB / 3.091 GB, free: 79.54 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001046/6.505, allocations: 0.9181 MB / 3.092 GB, free: 78.62 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002761/6.508, allocations: 2.345 MB / 3.094 GB, free: 76.2 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007403/6.508, allocations: 0.6009 MB / 3.095 GB, free: 75.59 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 6.158e-05/6.508, allocations: 28.59 kB / 3.095 GB, free: 75.56 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004533/6.509, allocations: 347.5 kB / 3.095 GB, free: 75.2 MB / 0.948 GB Notification: Performance of pre-optimization done (n=61): time 2.344e-06/6.509, allocations: 0 / 3.095 GB, free: 75.2 MB / 0.948 GB Notification: Performance of matching and sorting (n=61): time 0.001042/6.51, allocations: 0.7058 MB / 3.096 GB, free: 74.49 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.759e-05/6.51, allocations: 299.2 kB / 3.096 GB, free: 74.13 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005925/6.511, allocations: 0.5774 MB / 3.096 GB, free: 73.55 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 7.441e-05/6.511, allocations: 41.7 kB / 3.097 GB, free: 73.5 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001737/6.511, allocations: 320.7 kB / 3.097 GB, free: 73.18 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001013/6.511, allocations: 201.2 kB / 3.097 GB, free: 72.98 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.302e-05/6.511, allocations: 16 kB / 3.097 GB, free: 72.97 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 8.588e-05/6.511, allocations: 378.8 kB / 3.097 GB, free: 72.59 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002266/6.511, allocations: 165 kB / 3.098 GB, free: 72.43 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002958/6.512, allocations: 294.2 kB / 3.098 GB, free: 72.11 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002818/6.512, allocations: 214.1 kB / 3.098 GB, free: 71.89 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.347e-06/6.512, allocations: 4 kB / 3.098 GB, free: 71.89 MB / 0.948 GB Notification: Performance of matching and sorting (n=67) (initialization): time 0.0007118/6.513, allocations: 0.5412 MB / 3.099 GB, free: 71.34 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 2.193e-05/6.513, allocations: 14.38 kB / 3.099 GB, free: 71.33 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.875e-06/6.513, allocations: 0 / 3.099 GB, free: 71.33 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.879e-05/6.513, allocations: 7.984 kB / 3.099 GB, free: 71.32 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004347/6.513, allocations: 112 kB / 3.099 GB, free: 71.21 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.128e-05/6.513, allocations: 8.484 kB / 3.099 GB, free: 71.2 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004107/6.514, allocations: 72.28 kB / 3.099 GB, free: 71.13 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.974e-05/6.514, allocations: 41.09 kB / 3.099 GB, free: 71.09 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.0002698/6.514, allocations: 229.8 kB / 3.099 GB, free: 70.86 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.819e-05/6.514, allocations: 75.14 kB / 3.099 GB, free: 70.79 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001187/6.515, allocations: 0.7633 MB / 3.1 GB, free: 70.03 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.565e-06/6.515, allocations: 8 kB / 3.1 GB, free: 70.02 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.36e-06/6.515, allocations: 0 / 3.1 GB, free: 70.02 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.354e-06/6.515, allocations: 3.984 kB / 3.1 GB, free: 70.02 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008568/6.516, allocations: 0.9325 MB / 3.101 GB, free: 69.02 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.536e-06/6.516, allocations: 4 kB / 3.101 GB, free: 69.02 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000389/6.517, allocations: 115.8 kB / 3.101 GB, free: 68.91 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.835e-06/6.517, allocations: 12.02 kB / 3.101 GB, free: 68.89 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.335e-05/6.517, allocations: 16 kB / 3.101 GB, free: 68.88 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.557e-06/6.517, allocations: 0 / 3.101 GB, free: 68.88 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.515e-06/6.517, allocations: 4.922 kB / 3.101 GB, free: 68.88 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007389/6.517, allocations: 0.6473 MB / 3.102 GB, free: 68.2 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002882/6.518, allocations: 267.9 kB / 3.102 GB, free: 67.92 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.942e-05/6.518, allocations: 16 kB / 3.102 GB, free: 67.91 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004094/6.518, allocations: 55.95 kB / 3.102 GB, free: 67.85 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.234e-05/6.518, allocations: 52.53 kB / 3.102 GB, free: 67.8 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.887e-05/6.518, allocations: 23.98 kB / 3.102 GB, free: 67.77 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.0004757/6.519, allocations: 483 kB / 3.102 GB, free: 67.31 MB / 0.948 GB Notification: Performance of sort global known variables: time 1.21e-07/6.519, allocations: 0 / 3.102 GB, free: 67.31 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0006459/6.52, allocations: 251.4 kB / 3.103 GB, free: 67.06 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.002001/6.522, allocations: 1.739 MB / 3.104 GB, free: 65.45 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0006786/6.522, allocations: 472.9 kB / 3.105 GB, free: 65 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 3.296e-06/6.522, allocations: 256 / 3.105 GB, free: 65 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0003174/6.523, allocations: 283.6 kB / 3.105 GB, free: 64.71 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000918/6.523, allocations: 217.9 kB / 3.105 GB, free: 64.5 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005006/6.528, allocations: 4.527 MB / 3.11 GB, free: 59.91 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000313/6.529, allocations: 0.964 MB / 3.111 GB, free: 58.92 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.0006933/6.53, allocations: 241.5 kB / 3.111 GB, free: 58.68 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003396/6.53, allocations: 291.3 kB / 3.111 GB, free: 58.4 MB / 0.948 GB Notification: Performance of SimCode: time 7.52e-07/6.53, allocations: 0 / 3.111 GB, free: 58.4 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0339/6.564, allocations: 16.93 MB / 3.128 GB, free: 41.73 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000249/6.564, allocations: 275.1 kB / 3.128 GB, free: 41.36 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_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: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_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: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_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