Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.BoundaryConditions.WeatherData.Validation.DecemberToJanuary.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.DecemberToJanuary,fileNamePrefix="Buildings_8_Buildings_BoundaryConditions_WeatherData_Validation_DecemberToJanuary",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.Validation.DecemberToJanuary,fileNamePrefix="Buildings_8_Buildings_BoundaryConditions_WeatherData_Validation_DecemberToJanuary",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.725/1.725, allocations: 292.6 MB / 307.5 MB, free: 5.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.001531/0.001531, allocations: 185 kB / 377.1 MB, free: 1.531 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.986/1.986, allocations: 205.4 MB / 0.6366 GB, free: 8.547 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.000973/0.0009727, allocations: 89.86 kB / 0.7509 GB, free: 63.07 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003772/0.0003772, allocations: 8 kB / 0.8749 GB, free: 11.09 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3125/0.3129, allocations: 116.3 MB / 0.9884 GB, free: 6.645 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.156/6.469, allocations: 2.072 GB / 3.061 GB, free: 147.3 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004543/6.469, allocations: 87.95 kB / 3.061 GB, free: 147.2 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 0.07112/6.54, allocations: 27.81 MB / 3.088 GB, free: 119.6 MB / 0.948 GB Notification: Performance of FrontEnd: time 3.666e-06/6.54, allocations: 0 / 3.088 GB, free: 119.6 MB / 0.948 GB Notification: Performance of Transformations before backend: time 7.558e-05/6.541, 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.001957/6.543, allocations: 1.022 MB / 3.089 GB, free: 118.6 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 7.92e-05/6.543, allocations: 16.02 kB / 3.089 GB, free: 118.5 MB / 0.948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000146/6.543, allocations: 110.4 kB / 3.089 GB, free: 118.4 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003116/6.543, allocations: 100.9 kB / 3.089 GB, free: 118.3 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008932/6.544, allocations: 0.5616 MB / 3.09 GB, free: 117.7 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.728e-05/6.544, allocations: 45.31 kB / 3.09 GB, free: 117.7 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.818e-05/6.544, allocations: 67.42 kB / 3.09 GB, free: 117.6 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001004/6.545, allocations: 0.6853 MB / 3.091 GB, free: 116.9 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.198e-05/6.545, allocations: 4 kB / 3.091 GB, free: 116.9 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.861e-05/6.545, allocations: 31.94 kB / 3.091 GB, free: 116.8 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.733e-05/6.545, allocations: 16 kB / 3.091 GB, free: 116.8 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001133/6.546, allocations: 0.919 MB / 3.092 GB, free: 115.9 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003062/6.55, allocations: 2.345 MB / 3.094 GB, free: 113.5 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008414/6.55, allocations: 0.6068 MB / 3.095 GB, free: 112.9 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 7.239e-05/6.55, allocations: 24.61 kB / 3.095 GB, free: 112.8 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005139/6.551, allocations: 345.6 kB / 3.095 GB, free: 112.5 MB / 0.948 GB Notification: Performance of pre-optimization done (n=61): time 3.928e-06/6.551, allocations: 0 / 3.095 GB, free: 112.5 MB / 0.948 GB Notification: Performance of matching and sorting (n=61): time 0.001186/6.552, allocations: 0.7097 MB / 3.096 GB, free: 111.8 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001447/6.552, allocations: 295.3 kB / 3.096 GB, free: 111.4 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007035/6.553, allocations: 0.5813 MB / 3.096 GB, free: 110.8 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 5.497e-05/6.553, allocations: 37.7 kB / 3.096 GB, free: 110.8 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.00025/6.553, allocations: 321.8 kB / 3.097 GB, free: 110.5 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001242/6.554, allocations: 201.1 kB / 3.097 GB, free: 110.3 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.536e-05/6.554, allocations: 12 kB / 3.097 GB, free: 110.3 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0001481/6.554, allocations: 378.8 kB / 3.097 GB, free: 109.9 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002431/6.554, allocations: 165.2 kB / 3.097 GB, free: 109.7 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003279/6.554, allocations: 297.2 kB / 3.098 GB, free: 109.4 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003094/6.555, allocations: 218.1 kB / 3.098 GB, free: 109.2 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.945e-06/6.555, allocations: 0 / 3.098 GB, free: 109.2 MB / 0.948 GB Notification: Performance of matching and sorting (n=67) (initialization): time 0.0007647/6.555, allocations: 0.5411 MB / 3.098 GB, free: 108.6 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 2.344e-05/6.555, allocations: 4 kB / 3.099 GB, free: 108.6 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.215e-06/6.555, allocations: 4 kB / 3.099 GB, free: 108.6 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.639e-05/6.555, allocations: 9.234 kB / 3.099 GB, free: 108.6 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004422/6.556, allocations: 119.8 kB / 3.099 GB, free: 108.5 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.404e-05/6.556, allocations: 4.109 kB / 3.099 GB, free: 108.5 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004353/6.556, allocations: 75.34 kB / 3.099 GB, free: 108.4 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.643e-05/6.556, 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.0003563/6.557, allocations: 241.7 kB / 3.099 GB, free: 108.1 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001076/6.557, allocations: 71.16 kB / 3.099 GB, free: 108.1 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001355/6.558, allocations: 0.7596 MB / 3.1 GB, free: 107.3 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.165e-05/6.558, allocations: 8 kB / 3.1 GB, free: 107.3 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.046e-05/6.558, allocations: 7.938 kB / 3.1 GB, free: 107.3 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.177e-06/6.558, allocations: 3.984 kB / 3.1 GB, free: 107.3 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001159/6.56, allocations: 0.9325 MB / 3.101 GB, free: 106.3 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.106e-06/6.56, allocations: 0.75 kB / 3.101 GB, free: 106.3 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003819/6.56, allocations: 115.8 kB / 3.101 GB, free: 106.2 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.645e-06/6.56, allocations: 7.984 kB / 3.101 GB, free: 106.2 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.481e-05/6.56, allocations: 12 kB / 3.101 GB, free: 106.2 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.13e-06/6.56, allocations: 4 kB / 3.101 GB, free: 106.2 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.595e-06/6.56, allocations: 8.016 kB / 3.101 GB, free: 106.2 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008955/6.561, allocations: 0.6473 MB / 3.101 GB, free: 105.5 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004028/6.561, allocations: 264.8 kB / 3.102 GB, free: 105.2 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.289e-05/6.561, allocations: 17.03 kB / 3.102 GB, free: 105.2 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004042/6.562, allocations: 59.95 kB / 3.102 GB, free: 105.1 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001236/6.562, allocations: 52.53 kB / 3.102 GB, free: 105.1 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.427e-05/6.562, allocations: 23.98 kB / 3.102 GB, free: 105.1 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.0005291/6.563, allocations: 475 kB / 3.102 GB, free: 104.6 MB / 0.948 GB Notification: Performance of sort global known variables: time 1.3e-07/6.563, allocations: 0 / 3.102 GB, free: 104.6 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0008239/6.563, allocations: 255.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.002758/6.566, allocations: 1.735 MB / 3.104 GB, free: 102.7 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0007513/6.567, allocations: 476.8 kB / 3.105 GB, free: 102.3 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 4.88e-06/6.567, allocations: 4 kB / 3.105 GB, free: 102.3 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0003451/6.567, 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.0009395/6.568, allocations: 216.3 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.005857/6.574, allocations: 4.523 MB / 3.11 GB, free: 97.21 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006438/6.575, allocations: 0.964 MB / 3.111 GB, free: 96.21 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.0008007/6.576, allocations: 253.5 kB / 3.111 GB, free: 95.96 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004218/6.576, allocations: 291.3 kB / 3.111 GB, free: 95.68 MB / 0.948 GB Notification: Performance of SimCode: time 1.082e-06/6.576, allocations: 4 kB / 3.111 GB, free: 95.68 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03754/6.614, allocations: 16.89 MB / 3.128 GB, free: 78.97 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002047/6.614, allocations: 238.6 kB / 3.128 GB, free: 78.73 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_DecemberToJanuary.o Buildings_8_Buildings_BoundaryConditions_WeatherData_Validation_DecemberToJanuary.c In file included from Buildings_8_Buildings_BoundaryConditions_WeatherData_Validation_DecemberToJanuary.c:7: In file included from ./Buildings_8_Buildings_BoundaryConditions_WeatherData_Validation_DecemberToJanuary_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_DecemberToJanuary_functions.o Buildings_8_Buildings_BoundaryConditions_WeatherData_Validation_DecemberToJanuary_functions.c In file included from Buildings_8_Buildings_BoundaryConditions_WeatherData_Validation_DecemberToJanuary_functions.c:2: In file included from ./Buildings_8_Buildings_BoundaryConditions_WeatherData_Validation_DecemberToJanuary_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_DecemberToJanuary_functions.c:7: In file included from ./Buildings_8_Buildings_BoundaryConditions_WeatherData_Validation_DecemberToJanuary_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_DecemberToJanuary_functions.o] Error 1