Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.BoundaryConditions.WeatherData.Validation.OverAYear_usingOneYearData.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.OverAYear_usingOneYearData,fileNamePrefix="Buildings_8_Buildings_BoundaryConditions_WeatherData_Validation_OverAYear_usingOneYearData",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.Validation.OverAYear_usingOneYearData,fileNamePrefix="Buildings_8_Buildings_BoundaryConditions_WeatherData_Validation_OverAYear_usingOneYearData",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.792/1.792, allocations: 292.6 MB / 307.5 MB, free: 5.238 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.001758/0.001758, allocations: 177 kB / 377.1 MB, free: 1.547 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.115/2.115, allocations: 205.4 MB / 0.6366 GB, free: 8.527 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.0008991/0.0008992, allocations: 88.91 kB / 0.7509 GB, free: 63.08 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003819/0.0003819, allocations: 8 kB / 0.8748 GB, free: 11.11 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2895/0.2899, allocations: 116.3 MB / 0.9884 GB, free: 6.648 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.465/6.755, allocations: 2.072 GB / 3.061 GB, free: 147.3 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002801/6.756, allocations: 88.94 kB / 3.061 GB, free: 147.2 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 0.06471/6.82, allocations: 27.81 MB / 3.088 GB, free: 119.6 MB / 0.948 GB Notification: Performance of FrontEnd: time 2.484e-06/6.821, allocations: 4 kB / 3.088 GB, free: 119.6 MB / 0.948 GB Notification: Performance of Transformations before backend: time 9.017e-05/6.821, 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.002169/6.823, allocations: 1.025 MB / 3.089 GB, free: 118.5 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.815e-05/6.823, allocations: 15.97 kB / 3.089 GB, free: 118.5 MB / 0.948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002455/6.823, allocations: 110.5 kB / 3.089 GB, free: 118.3 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000322/6.823, allocations: 96.94 kB / 3.089 GB, free: 118.3 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000882/6.824, allocations: 0.5686 MB / 3.09 GB, free: 117.6 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.486e-05/6.824, allocations: 42.34 kB / 3.09 GB, free: 117.6 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.607e-05/6.824, allocations: 63.44 kB / 3.09 GB, free: 117.5 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009032/6.825, allocations: 0.6853 MB / 3.091 GB, free: 116.8 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.854e-05/6.825, allocations: 3.938 kB / 3.091 GB, free: 116.8 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.513e-05/6.825, allocations: 28 kB / 3.091 GB, free: 116.8 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.59e-05/6.825, allocations: 19.98 kB / 3.091 GB, free: 116.8 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009977/6.826, allocations: 0.9181 MB / 3.092 GB, free: 115.8 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002639/6.829, allocations: 2.337 MB / 3.094 GB, free: 113.4 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007445/6.83, allocations: 0.6009 MB / 3.095 GB, free: 112.8 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 6.065e-05/6.83, allocations: 32.58 kB / 3.095 GB, free: 112.8 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004314/6.83, allocations: 347.1 kB / 3.095 GB, free: 112.4 MB / 0.948 GB Notification: Performance of pre-optimization done (n=61): time 3.176e-06/6.83, allocations: 0 / 3.095 GB, free: 112.4 MB / 0.948 GB Notification: Performance of matching and sorting (n=61): time 0.001039/6.831, allocations: 0.7058 MB / 3.096 GB, free: 111.7 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.618e-05/6.832, allocations: 291.3 kB / 3.096 GB, free: 111.4 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006119/6.832, allocations: 0.5853 MB / 3.096 GB, free: 110.8 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 4.662e-05/6.832, allocations: 37.7 kB / 3.096 GB, free: 110.7 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001943/6.832, allocations: 328.7 kB / 3.097 GB, free: 110.4 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001081/6.833, allocations: 197.1 kB / 3.097 GB, free: 110.2 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.231e-05/6.833, allocations: 13.03 kB / 3.097 GB, free: 110.2 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 8.959e-05/6.833, allocations: 374.8 kB / 3.097 GB, free: 109.8 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002372/6.833, allocations: 165 kB / 3.097 GB, free: 109.6 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003079/6.833, allocations: 301.2 kB / 3.098 GB, free: 109.3 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002761/6.834, allocations: 206.2 kB / 3.098 GB, free: 109.1 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.484e-06/6.834, allocations: 3.938 kB / 3.098 GB, free: 109.1 MB / 0.948 GB Notification: Performance of matching and sorting (n=67) (initialization): time 0.0007232/6.834, allocations: 0.5489 MB / 3.098 GB, free: 108.6 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 2.74e-05/6.834, allocations: 6.5 kB / 3.098 GB, free: 108.6 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.065e-05/6.834, allocations: 7.438 kB / 3.099 GB, free: 108.5 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.427e-05/6.834, allocations: 7.984 kB / 3.099 GB, free: 108.5 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004498/6.835, allocations: 119.8 kB / 3.099 GB, free: 108.4 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.13e-05/6.835, allocations: 5.312 kB / 3.099 GB, free: 108.4 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004221/6.835, allocations: 75.53 kB / 3.099 GB, free: 108.3 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.501e-05/6.835, allocations: 27.94 kB / 3.099 GB, free: 108.3 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.00028/6.836, allocations: 242.3 kB / 3.099 GB, free: 108.1 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.695e-05/6.836, allocations: 71.16 kB / 3.099 GB, free: 108 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001217/6.837, allocations: 0.7599 MB / 3.1 GB, free: 107.2 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.687e-06/6.837, allocations: 4 kB / 3.1 GB, free: 107.2 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.856e-06/6.837, allocations: 4 kB / 3.1 GB, free: 107.2 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.826e-06/6.837, allocations: 0 / 3.1 GB, free: 107.2 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009852/6.838, allocations: 0.9402 MB / 3.101 GB, free: 106.2 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.374e-06/6.838, allocations: 0 / 3.101 GB, free: 106.2 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003946/6.838, allocations: 119.8 kB / 3.101 GB, free: 106.1 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.953e-06/6.838, allocations: 4 kB / 3.101 GB, free: 106.1 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.014e-05/6.838, allocations: 19.98 kB / 3.101 GB, free: 106.1 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.998e-06/6.838, allocations: 4.844 kB / 3.101 GB, free: 106.1 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.814e-06/6.838, allocations: 0 / 3.101 GB, free: 106.1 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008222/6.839, allocations: 0.6513 MB / 3.101 GB, free: 105.4 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003094/6.84, allocations: 263.9 kB / 3.102 GB, free: 105.1 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.003e-05/6.84, allocations: 16 kB / 3.102 GB, free: 105.1 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003969/6.84, allocations: 55.95 kB / 3.102 GB, free: 105.1 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001066/6.84, allocations: 56.48 kB / 3.102 GB, free: 105 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.778e-05/6.84, allocations: 23.98 kB / 3.102 GB, free: 105 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.0004251/6.841, allocations: 475 kB / 3.102 GB, free: 104.5 MB / 0.948 GB Notification: Performance of sort global known variables: time 1.4e-07/6.841, allocations: 1.406 kB / 3.102 GB, free: 104.5 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0006819/6.841, 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.002117/6.844, allocations: 1.739 MB / 3.104 GB, free: 102.7 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0006604/6.844, allocations: 476.8 kB / 3.105 GB, free: 102.2 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 3.196e-06/6.844, allocations: 0 / 3.105 GB, free: 102.2 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0003135/6.845, allocations: 279.6 kB / 3.105 GB, free: 101.9 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008229/6.845, allocations: 217.1 kB / 3.105 GB, free: 101.7 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005184/6.851, allocations: 4.527 MB / 3.11 GB, free: 97.14 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003735/6.851, allocations: 0.9679 MB / 3.111 GB, free: 96.14 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.0006988/6.852, allocations: 241.5 kB / 3.111 GB, free: 95.91 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000366/6.852, allocations: 295.3 kB / 3.111 GB, free: 95.62 MB / 0.948 GB Notification: Performance of SimCode: time 6.662e-06/6.852, allocations: 0 / 3.111 GB, free: 95.62 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03253/6.885, allocations: 16.89 MB / 3.128 GB, free: 78.94 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001847/6.885, allocations: 258.7 kB / 3.128 GB, free: 78.59 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_OverAYear_usingOneYearData.o Buildings_8_Buildings_BoundaryConditions_WeatherData_Validation_OverAYear_usingOneYearData.c In file included from Buildings_8_Buildings_BoundaryConditions_WeatherData_Validation_OverAYear_usingOneYearData.c:7: In file included from ./Buildings_8_Buildings_BoundaryConditions_WeatherData_Validation_OverAYear_usingOneYearData_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_OverAYear_usingOneYearData_functions.o Buildings_8_Buildings_BoundaryConditions_WeatherData_Validation_OverAYear_usingOneYearData_functions.c In file included from Buildings_8_Buildings_BoundaryConditions_WeatherData_Validation_OverAYear_usingOneYearData_functions.c:2: In file included from ./Buildings_8_Buildings_BoundaryConditions_WeatherData_Validation_OverAYear_usingOneYearData_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_OverAYear_usingOneYearData_functions.c:7: In file included from ./Buildings_8_Buildings_BoundaryConditions_WeatherData_Validation_OverAYear_usingOneYearData_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_OverAYear_usingOneYearData_functions.o] Error 1