Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.BoundaryConditions.WeatherData.Validation.OverAYear_usingOneYearData.conf.json 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 7.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.Validation.OverAYear_usingOneYearData,fileNamePrefix="Buildings_7_0_0_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 7.0.1/package.mo): time 2.222/2.222, allocations: 248.5 MB / 261.1 MB, free: 6.094 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001886/0.001886, allocations: 182.4 kB / 320.4 MB, free: 15.31 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.988/1.988, allocations: 205.2 MB / 0.571 GB, free: 11.77 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001216/0.001216, allocations: 94.47 kB / 0.6754 GB, free: 0.8594 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.993e-05/4.042e-05, allocations: 0 / 0.7869 GB, free: 97.79 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2162/0.2163, allocations: 106.3 MB / 0.8907 GB, free: 7.438 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 7.226/7.443, allocations: 2.189 GB / 3.08 GB, free: 144.3 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003108/7.443, allocations: 90.95 kB / 3.08 GB, free: 144.3 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.1188/7.562, allocations: 27.56 MB / 3.107 GB, free: 121.1 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.984e-06/7.562, allocations: 0 / 3.107 GB, free: 121.1 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 8.179e-05/7.562, allocations: 23.94 kB / 3.107 GB, free: 121.1 MB / 0.8698 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.001818/7.564, allocations: 0.9131 MB / 3.108 GB, free: 120.2 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 5.217e-05/7.564, allocations: 12.03 kB / 3.108 GB, free: 120.1 MB / 0.8698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001677/7.564, allocations: 105.8 kB / 3.108 GB, free: 120.1 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004191/7.565, allocations: 102.8 kB / 3.108 GB, free: 120 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001234/7.566, allocations: 0.5571 MB / 3.109 GB, free: 119.5 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.991e-05/7.566, allocations: 47.38 kB / 3.109 GB, free: 119.4 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001099/7.566, allocations: 58.06 kB / 3.109 GB, free: 119.4 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001475/7.567, allocations: 0.6795 MB / 3.109 GB, free: 118.9 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.512e-05/7.568, allocations: 0 / 3.109 GB, free: 118.9 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001019/7.568, allocations: 34.19 kB / 3.11 GB, free: 118.8 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.763e-05/7.568, allocations: 16 kB / 3.11 GB, free: 118.8 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001918/7.57, allocations: 0.9049 MB / 3.11 GB, free: 118 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004868/7.574, allocations: 2.338 MB / 3.113 GB, free: 115.6 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001378/7.576, allocations: 0.5933 MB / 3.113 GB, free: 115 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005255/7.576, allocations: 223.3 kB / 3.113 GB, free: 114.8 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001101/7.577, allocations: 24.59 kB / 3.114 GB, free: 114.7 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007647/7.577, allocations: 343.2 kB / 3.114 GB, free: 114.4 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=61): time 3.657e-06/7.577, allocations: 4 kB / 3.114 GB, free: 114.4 MB / 0.8698 GB Notification: Performance of matching and sorting (n=61): time 0.001485/7.579, allocations: 0.5293 MB / 3.114 GB, free: 113.9 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.534e-05/7.579, allocations: 299.3 kB / 3.115 GB, free: 113.5 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001091/7.58, allocations: 0.5697 MB / 3.115 GB, free: 112.9 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 0.000151/7.58, allocations: 41.7 kB / 3.115 GB, free: 112.9 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003364/7.581, allocations: 320.7 kB / 3.116 GB, free: 112.6 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002251/7.581, allocations: 205 kB / 3.116 GB, free: 112.4 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.293e-05/7.581, allocations: 8 kB / 3.116 GB, free: 112.3 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001368/7.581, allocations: 378.8 kB / 3.116 GB, free: 112 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004723/7.582, allocations: 161.1 kB / 3.116 GB, free: 111.8 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005657/7.582, allocations: 281.3 kB / 3.117 GB, free: 111.5 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005221/7.583, allocations: 223.1 kB / 3.117 GB, free: 111.3 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.03e-06/7.583, allocations: 0 / 3.117 GB, free: 111.3 MB / 0.8698 GB Notification: Performance of matching and sorting (n=67) (initialization): time 0.001457/7.584, allocations: 0.5294 MB / 3.117 GB, free: 110.7 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 2.715e-05/7.584, allocations: 4 kB / 3.117 GB, free: 110.7 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.175e-05/7.584, allocations: 8.125 kB / 3.117 GB, free: 110.7 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.469e-05/7.584, allocations: 4 kB / 3.117 GB, free: 110.7 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009068/7.585, allocations: 119.8 kB / 3.117 GB, free: 110.6 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.703e-05/7.585, allocations: 7.938 kB / 3.117 GB, free: 110.6 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008434/7.586, allocations: 79.34 kB / 3.117 GB, free: 110.5 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.781e-05/7.586, allocations: 23.98 kB / 3.117 GB, free: 110.5 MB / 0.8698 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.000206/7.586, allocations: 136.9 kB / 3.118 GB, free: 110.4 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001752/7.587, allocations: 71.16 kB / 3.118 GB, free: 110.3 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002197/7.589, allocations: 0.7609 MB / 3.118 GB, free: 109.5 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.184e-05/7.589, allocations: 4 kB / 3.118 GB, free: 109.5 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.845e-06/7.589, allocations: 7.953 kB / 3.118 GB, free: 109.5 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.174e-05/7.589, allocations: 7.984 kB / 3.118 GB, free: 109.5 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001676/7.591, allocations: 0.9249 MB / 3.119 GB, free: 108.5 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.803e-06/7.591, allocations: 7.922 kB / 3.119 GB, free: 108.5 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008654/7.592, allocations: 111.9 kB / 3.119 GB, free: 108.4 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.29e-05/7.592, allocations: 4 kB / 3.119 GB, free: 108.4 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.062e-05/7.592, allocations: 23.97 kB / 3.119 GB, free: 108.4 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.314e-06/7.592, allocations: 4 kB / 3.119 GB, free: 108.4 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.435e-06/7.592, allocations: 0 / 3.119 GB, free: 108.4 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001469/7.593, allocations: 0.6469 MB / 3.12 GB, free: 107.7 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004791/7.594, allocations: 267.8 kB / 3.12 GB, free: 107.4 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001599/7.594, allocations: 19.95 kB / 3.12 GB, free: 107.4 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007636/7.595, allocations: 55.95 kB / 3.12 GB, free: 107.3 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001382/7.595, allocations: 48.7 kB / 3.121 GB, free: 107.3 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.719e-05/7.595, allocations: 27.94 kB / 3.121 GB, free: 107.3 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.0007998/7.596, allocations: 471.1 kB / 3.121 GB, free: 106.8 MB / 0.8698 GB Notification: Performance of sort global known variables: time 5.41e-07/7.596, allocations: 4 kB / 3.121 GB, free: 106.8 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.001021/7.597, allocations: 247.5 kB / 3.121 GB, free: 106.6 MB / 0.8698 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.002935/7.6, allocations: 1.687 MB / 3.123 GB, free: 105 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.001186/7.601, allocations: 466.8 kB / 3.123 GB, free: 104.5 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 4.408e-06/7.601, allocations: 0 / 3.123 GB, free: 104.5 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0005577/7.601, allocations: 272.7 kB / 3.124 GB, free: 104.3 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001631/7.603, allocations: 219.9 kB / 3.124 GB, free: 104.1 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0032/7.606, allocations: 1.192 MB / 3.125 GB, free: 102.8 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004586/7.607, allocations: 0.9686 MB / 3.126 GB, free: 101.8 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.001149/7.608, allocations: 241.5 kB / 3.126 GB, free: 101.6 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006332/7.609, allocations: 291.3 kB / 3.126 GB, free: 101.3 MB / 0.8698 GB Notification: Performance of SimCode: time 1.272e-06/7.609, allocations: 0 / 3.126 GB, free: 101.3 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06024/7.669, allocations: 16.83 MB / 3.143 GB, free: 84.7 MB / 0.8698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002056/7.669, allocations: 230.8 kB / 3.143 GB, free: 84.47 MB / 0.8698 GB Error: Error building simulator. Build log: clang -Os -fPIC -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 7.0.1/Resources/C-Sources" -c -o Buildings_7_0_0_Buildings_BoundaryConditions_WeatherData_Validation_OverAYear_usingOneYearData.o Buildings_7_0_0_Buildings_BoundaryConditions_WeatherData_Validation_OverAYear_usingOneYearData.c In file included from Buildings_7_0_0_Buildings_BoundaryConditions_WeatherData_Validation_OverAYear_usingOneYearData.c:7: In file included from ./Buildings_7_0_0_Buildings_BoundaryConditions_WeatherData_Validation_OverAYear_usingOneYearData_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 -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 7.0.1/Resources/C-Sources" -c -o Buildings_7_0_0_Buildings_BoundaryConditions_WeatherData_Validation_OverAYear_usingOneYearData_functions.o Buildings_7_0_0_Buildings_BoundaryConditions_WeatherData_Validation_OverAYear_usingOneYearData_functions.c In file included from Buildings_7_0_0_Buildings_BoundaryConditions_WeatherData_Validation_OverAYear_usingOneYearData_functions.c:2: In file included from ./Buildings_7_0_0_Buildings_BoundaryConditions_WeatherData_Validation_OverAYear_usingOneYearData_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_7_0_0_Buildings_BoundaryConditions_WeatherData_Validation_OverAYear_usingOneYearData_functions.c:7: In file included from ./Buildings_7_0_0_Buildings_BoundaryConditions_WeatherData_Validation_OverAYear_usingOneYearData_includes.h:4: /home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/Resources/C-Sources/getTimeSpan.c:6:10: fatal error: 'ModelicaUtilities.h' file not found #include ^~~~~~~~~~~~~~~~~~~~~ 2 warnings and 1 error generated. : recipe for target 'Buildings_7_0_0_Buildings_BoundaryConditions_WeatherData_Validation_OverAYear_usingOneYearData_functions.o' failed make: *** [Buildings_7_0_0_Buildings_BoundaryConditions_WeatherData_Validation_OverAYear_usingOneYearData_functions.o] Error 1