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.149/2.149, allocations: 251 MB / 265.9 MB, free: 11.68 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001596/0.001595, allocations: 176 kB / 325.5 MB, free: 2.895 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.468/2.468, allocations: 205.4 MB / 0.5764 GB, free: 20.82 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.001246/0.001245, allocations: 103.9 kB / 0.6809 GB, free: 13.64 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004922/0.0004921, allocations: 9 kB / 0.795 GB, free: 135.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2678/0.2683, allocations: 106.3 MB / 0.8988 GB, free: 65.48 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 7.653/7.921, allocations: 2.189 GB / 3.088 GB, free: 247.9 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004402/7.922, allocations: 89.77 kB / 3.088 GB, free: 247.9 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 0.1716/8.093, allocations: 27.81 MB / 3.115 GB, free: 246.2 MB / 0.8855 GB Notification: Performance of FrontEnd: time 3.657e-06/8.093, allocations: 0 / 3.115 GB, free: 246.2 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 0.0001509/8.093, allocations: 23.47 kB / 3.116 GB, free: 246.2 MB / 0.8855 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.004149/8.098, allocations: 1.028 MB / 3.117 GB, free: 245.5 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 6.823e-05/8.098, allocations: 11.23 kB / 3.117 GB, free: 245.5 MB / 0.8855 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006214/8.098, allocations: 105.6 kB / 3.117 GB, free: 245.4 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000818/8.099, allocations: 101.2 kB / 3.117 GB, free: 245.4 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001846/8.101, allocations: 0.5573 MB / 3.117 GB, free: 245.1 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.493e-05/8.101, allocations: 46.72 kB / 3.117 GB, free: 245.1 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001272/8.101, allocations: 64.16 kB / 3.117 GB, free: 245.1 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001785/8.103, allocations: 0.6853 MB / 3.118 GB, free: 244.9 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.182e-05/8.103, allocations: 0 / 3.118 GB, free: 244.9 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001115/8.103, allocations: 30.48 kB / 3.118 GB, free: 244.9 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.826e-05/8.103, allocations: 19.62 kB / 3.118 GB, free: 244.9 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002041/8.105, allocations: 0.9145 MB / 3.119 GB, free: 244.9 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005289/8.111, allocations: 2.357 MB / 3.121 GB, free: 243.8 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001429/8.112, allocations: 0.6023 MB / 3.122 GB, free: 243.7 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001169/8.112, allocations: 29.56 kB / 3.122 GB, free: 243.7 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007613/8.113, allocations: 347 kB / 3.122 GB, free: 243.7 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=61): time 4.068e-06/8.113, allocations: 0 / 3.122 GB, free: 243.7 MB / 0.8855 GB Notification: Performance of matching and sorting (n=61): time 0.002025/8.115, allocations: 0.705 MB / 3.123 GB, free: 243.6 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001125/8.115, allocations: 302.9 kB / 3.123 GB, free: 243.2 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001219/8.117, allocations: 0.5708 MB / 3.124 GB, free: 243.1 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 0.0001897/8.117, allocations: 40.61 kB / 3.124 GB, free: 243.1 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.000312/8.117, allocations: 324.1 kB / 3.124 GB, free: 242.9 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002291/8.117, allocations: 201.7 kB / 3.124 GB, free: 242.8 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.998e-05/8.117, allocations: 6.812 kB / 3.124 GB, free: 242.8 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001368/8.118, allocations: 376.2 kB / 3.125 GB, free: 242.5 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004659/8.118, allocations: 168.6 kB / 3.125 GB, free: 242.5 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006274/8.119, allocations: 294.9 kB / 3.125 GB, free: 242.4 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005314/8.119, allocations: 217.2 kB / 3.125 GB, free: 242.4 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.51e-06/8.119, allocations: 0 / 3.125 GB, free: 242.4 MB / 0.8855 GB Notification: Performance of matching and sorting (n=67) (initialization): time 0.001521/8.121, allocations: 0.545 MB / 3.126 GB, free: 242.3 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 3.062e-05/8.121, allocations: 7.844 kB / 3.126 GB, free: 242.3 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.116e-05/8.121, allocations: 0 / 3.126 GB, free: 242.3 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.14e-05/8.121, allocations: 3.969 kB / 3.126 GB, free: 242.3 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009183/8.122, allocations: 113 kB / 3.126 GB, free: 242.3 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.835e-05/8.122, allocations: 23.19 kB / 3.126 GB, free: 242.2 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009474/8.123, allocations: 68.38 kB / 3.126 GB, free: 242.2 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.957e-05/8.123, allocations: 26.39 kB / 3.126 GB, free: 242.2 MB / 0.8855 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.00063/8.124, allocations: 232.6 kB / 3.126 GB, free: 242.1 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000252/8.124, allocations: 70.31 kB / 3.126 GB, free: 242.1 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002208/8.126, allocations: 0.7688 MB / 3.127 GB, free: 242 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.152e-05/8.126, allocations: 7.844 kB / 3.127 GB, free: 242 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.865e-06/8.126, allocations: 0 / 3.127 GB, free: 242 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.211e-05/8.126, allocations: 15.11 kB / 3.127 GB, free: 241.9 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001793/8.128, allocations: 0.9299 MB / 3.128 GB, free: 241.6 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.704e-06/8.128, allocations: 3.938 kB / 3.128 GB, free: 241.6 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008686/8.129, allocations: 117.4 kB / 3.128 GB, free: 241.6 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.199e-05/8.129, allocations: 2.875 kB / 3.128 GB, free: 241.6 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.489e-05/8.129, allocations: 20.97 kB / 3.128 GB, free: 241.6 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.528e-06/8.129, allocations: 6.734 kB / 3.128 GB, free: 241.6 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.246e-06/8.129, allocations: 1.406 kB / 3.128 GB, free: 241.6 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001717/8.131, allocations: 0.6482 MB / 3.129 GB, free: 241.4 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005807/8.131, allocations: 260.7 kB / 3.129 GB, free: 241.3 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001757/8.132, allocations: 19.98 kB / 3.129 GB, free: 241.3 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007873/8.132, allocations: 59.55 kB / 3.129 GB, free: 241.3 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001448/8.133, allocations: 45.5 kB / 3.129 GB, free: 241.3 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.829e-05/8.133, allocations: 26.48 kB / 3.129 GB, free: 241.3 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.000975/8.134, allocations: 474.8 kB / 3.13 GB, free: 241.2 MB / 0.8855 GB Notification: Performance of sort global known variables: time 5.31e-07/8.134, allocations: 0 / 3.13 GB, free: 241.2 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.00137/8.135, allocations: 251.6 kB / 3.13 GB, free: 241.2 MB / 0.8855 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.003422/8.139, allocations: 1.746 MB / 3.132 GB, free: 240.3 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.001399/8.14, allocations: 469.1 kB / 3.132 GB, free: 240.2 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 6.412e-06/8.14, allocations: 0 / 3.132 GB, free: 240.2 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0006287/8.141, allocations: 284.2 kB / 3.132 GB, free: 240.2 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001831/8.143, allocations: 217 kB / 3.133 GB, free: 240.2 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009613/8.152, allocations: 4.522 MB / 3.137 GB, free: 238.3 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005274/8.153, allocations: 0.9693 MB / 3.138 GB, free: 237.6 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.001359/8.154, allocations: 242.1 kB / 3.138 GB, free: 237.5 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006901/8.155, allocations: 296.3 kB / 3.138 GB, free: 237.5 MB / 0.8855 GB Notification: Performance of SimCode: time 1.112e-06/8.155, allocations: 0 / 3.138 GB, free: 237.5 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06233/8.217, allocations: 16.92 MB / 3.155 GB, free: 236.1 MB / 0.8855 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002947/8.218, allocations: 251.8 kB / 3.155 GB, free: 235.8 MB / 0.8855 GB Error: Error building simulator. Build log: clang -Os -fPIC -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 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: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 -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 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: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_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