Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearData.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.ThreeYears_usingTwoYearData,fileNamePrefix="Buildings_7_0_0_Buildings_BoundaryConditions_WeatherData_Validation_ThreeYears_usingTwoYearData",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.276/2.276, allocations: 248.5 MB / 261.1 MB, free: 6.023 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.001471/0.001471, allocations: 178.6 kB / 320.4 MB, free: 15.33 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.984/1.984, allocations: 205.2 MB / 0.571 GB, free: 11.83 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.00116/0.001159, allocations: 95.55 kB / 0.6754 GB, free: 0.9102 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 4.107e-05/4.11e-05, allocations: 4 kB / 0.7869 GB, free: 97.81 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2332/0.2333, allocations: 106.3 MB / 0.8907 GB, free: 7.469 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 7.198/7.432, allocations: 2.189 GB / 3.08 GB, free: 144.5 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.00031/7.432, allocations: 82.89 kB / 3.08 GB, free: 144.4 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.1127/7.545, allocations: 27.57 MB / 3.107 GB, free: 121.2 MB / 0.8698 GB Notification: Performance of FrontEnd: time 2.345e-06/7.545, allocations: 0 / 3.107 GB, free: 121.2 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 8.448e-05/7.545, allocations: 20 kB / 3.107 GB, free: 121.2 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.001792/7.547, allocations: 0.9204 MB / 3.108 GB, free: 120.3 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 5.139e-05/7.547, allocations: 8.031 kB / 3.108 GB, free: 120.3 MB / 0.8698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000158/7.547, allocations: 101.6 kB / 3.108 GB, free: 120.2 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003628/7.547, allocations: 102.8 kB / 3.108 GB, free: 120.1 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001181/7.548, allocations: 0.5614 MB / 3.109 GB, free: 119.6 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.071e-05/7.548, allocations: 50.42 kB / 3.109 GB, free: 119.6 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001091/7.549, allocations: 57.44 kB / 3.109 GB, free: 119.5 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001431/7.55, allocations: 0.6762 MB / 3.109 GB, free: 119 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.738e-05/7.55, allocations: 3.938 kB / 3.109 GB, free: 119 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.817e-05/7.55, allocations: 26 kB / 3.109 GB, free: 119 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.853e-05/7.55, allocations: 19.94 kB / 3.11 GB, free: 119 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00185/7.552, allocations: 0.907 MB / 3.11 GB, free: 118.2 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004515/7.557, allocations: 2.338 MB / 3.113 GB, free: 115.8 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001339/7.558, allocations: 0.5933 MB / 3.113 GB, free: 115.2 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004706/7.558, allocations: 219.4 kB / 3.113 GB, free: 115 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001001/7.559, allocations: 28.53 kB / 3.114 GB, free: 115 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007312/7.559, allocations: 344.4 kB / 3.114 GB, free: 114.6 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=61): time 3.196e-06/7.559, allocations: 0 / 3.114 GB, free: 114.6 MB / 0.8698 GB Notification: Performance of matching and sorting (n=61): time 0.001452/7.561, allocations: 0.5332 MB / 3.114 GB, free: 114.1 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.469e-05/7.561, allocations: 299.4 kB / 3.115 GB, free: 113.7 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001021/7.562, allocations: 0.5659 MB / 3.115 GB, free: 113.1 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 8.015e-05/7.562, allocations: 41.7 kB / 3.115 GB, free: 113.1 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002871/7.562, allocations: 320.7 kB / 3.116 GB, free: 112.8 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.000173/7.562, allocations: 209 kB / 3.116 GB, free: 112.6 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.214e-05/7.563, allocations: 12.03 kB / 3.116 GB, free: 112.6 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001195/7.563, allocations: 374.8 kB / 3.116 GB, free: 112.2 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004157/7.563, allocations: 161.1 kB / 3.116 GB, free: 112 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005554/7.564, allocations: 293.2 kB / 3.117 GB, free: 111.7 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005086/7.564, allocations: 207.2 kB / 3.117 GB, free: 111.5 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.208e-06/7.564, allocations: 0 / 3.117 GB, free: 111.5 MB / 0.8698 GB Notification: Performance of matching and sorting (n=67) (initialization): time 0.001307/7.566, allocations: 0.5296 MB / 3.117 GB, free: 111 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 2.376e-05/7.566, allocations: 15.98 kB / 3.117 GB, free: 110.9 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.057e-06/7.566, allocations: 0 / 3.117 GB, free: 110.9 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.422e-05/7.566, allocations: 4 kB / 3.117 GB, free: 110.9 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008453/7.566, allocations: 119.8 kB / 3.117 GB, free: 110.8 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.556e-05/7.567, allocations: 4 kB / 3.117 GB, free: 110.8 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007409/7.567, allocations: 83.34 kB / 3.117 GB, free: 110.7 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.589e-05/7.567, allocations: 27.98 kB / 3.117 GB, free: 110.7 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.0002049/7.568, allocations: 140.1 kB / 3.118 GB, free: 110.6 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001545/7.568, allocations: 71.16 kB / 3.118 GB, free: 110.5 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002146/7.57, allocations: 0.7571 MB / 3.118 GB, free: 109.7 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.033e-05/7.57, allocations: 8 kB / 3.118 GB, free: 109.7 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.755e-06/7.57, allocations: 3.953 kB / 3.118 GB, free: 109.7 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.148e-05/7.57, allocations: 3.984 kB / 3.118 GB, free: 109.7 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001548/7.572, allocations: 0.9287 MB / 3.119 GB, free: 108.7 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.173e-06/7.572, allocations: 0 / 3.119 GB, free: 108.7 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008486/7.572, allocations: 115.8 kB / 3.119 GB, free: 108.6 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.414e-05/7.572, allocations: 8.031 kB / 3.119 GB, free: 108.6 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.223e-05/7.573, allocations: 27.88 kB / 3.12 GB, free: 108.6 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.753e-06/7.573, allocations: 0 / 3.12 GB, free: 108.6 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.277e-06/7.573, allocations: 4 kB / 3.12 GB, free: 108.6 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001474/7.574, allocations: 0.6391 MB / 3.12 GB, free: 107.9 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005092/7.575, allocations: 263.8 kB / 3.12 GB, free: 107.6 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001666/7.575, allocations: 23.95 kB / 3.12 GB, free: 107.6 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007731/7.576, allocations: 51.95 kB / 3.12 GB, free: 107.6 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001515/7.576, allocations: 52.64 kB / 3.121 GB, free: 107.5 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.062e-05/7.576, allocations: 35.92 kB / 3.121 GB, free: 107.5 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.0008375/7.577, allocations: 467.2 kB / 3.121 GB, free: 107 MB / 0.8698 GB Notification: Performance of sort global known variables: time 5.41e-07/7.577, allocations: 0 / 3.121 GB, free: 107 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.001018/7.578, allocations: 251.5 kB / 3.121 GB, free: 106.8 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.003052/7.581, allocations: 1.691 MB / 3.123 GB, free: 105.2 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.001267/7.582, allocations: 462.9 kB / 3.123 GB, free: 104.7 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 6.502e-06/7.582, allocations: 4.25 kB / 3.123 GB, free: 104.7 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0005974/7.583, allocations: 280.4 kB / 3.124 GB, free: 104.5 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001746/7.584, allocations: 204.7 kB / 3.124 GB, free: 104.3 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003603/7.588, allocations: 1.192 MB / 3.125 GB, free: 103 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005189/7.589, allocations: 0.9686 MB / 3.126 GB, free: 102 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.001326/7.59, allocations: 237.5 kB / 3.126 GB, free: 101.8 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006496/7.591, allocations: 291.3 kB / 3.126 GB, free: 101.5 MB / 0.8698 GB Notification: Performance of SimCode: time 1.623e-06/7.591, allocations: 0 / 3.126 GB, free: 101.5 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07201/7.663, allocations: 16.83 MB / 3.143 GB, free: 84.91 MB / 0.8698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002373/7.663, allocations: 254 kB / 3.143 GB, free: 84.65 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_ThreeYears_usingTwoYearData.o Buildings_7_0_0_Buildings_BoundaryConditions_WeatherData_Validation_ThreeYears_usingTwoYearData.c In file included from Buildings_7_0_0_Buildings_BoundaryConditions_WeatherData_Validation_ThreeYears_usingTwoYearData.c:7: In file included from ./Buildings_7_0_0_Buildings_BoundaryConditions_WeatherData_Validation_ThreeYears_usingTwoYearData_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_ThreeYears_usingTwoYearData_functions.o Buildings_7_0_0_Buildings_BoundaryConditions_WeatherData_Validation_ThreeYears_usingTwoYearData_functions.c In file included from Buildings_7_0_0_Buildings_BoundaryConditions_WeatherData_Validation_ThreeYears_usingTwoYearData_functions.c:2: In file included from ./Buildings_7_0_0_Buildings_BoundaryConditions_WeatherData_Validation_ThreeYears_usingTwoYearData_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_ThreeYears_usingTwoYearData_functions.c:7: In file included from ./Buildings_7_0_0_Buildings_BoundaryConditions_WeatherData_Validation_ThreeYears_usingTwoYearData_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_ThreeYears_usingTwoYearData_functions.o' failed make: *** [Buildings_7_0_0_Buildings_BoundaryConditions_WeatherData_Validation_ThreeYears_usingTwoYearData_functions.o] Error 1