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.244/2.244, 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.001706/0.001706, allocations: 179.8 kB / 325.5 MB, free: 2.871 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.516/2.516, allocations: 205.4 MB / 0.5764 GB, free: 20.78 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.001119/0.001119, allocations: 86.09 kB / 0.6809 GB, free: 13.63 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004816/0.0004817, allocations: 12.66 kB / 0.795 GB, free: 135.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2369/0.2375, allocations: 106.3 MB / 0.8988 GB, free: 65.45 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 7.408/7.645, allocations: 2.189 GB / 3.088 GB, free: 247.6 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003358/7.645, allocations: 92.56 kB / 3.088 GB, free: 247.6 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 0.122/7.767, allocations: 27.82 MB / 3.115 GB, free: 245.9 MB / 0.8855 GB Notification: Performance of FrontEnd: time 2.986e-06/7.768, allocations: 0 / 3.115 GB, free: 245.9 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 0.0001062/7.768, allocations: 23.56 kB / 3.116 GB, free: 245.9 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.002629/7.77, allocations: 1.03 MB / 3.117 GB, free: 245.2 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 4.902e-05/7.77, allocations: 7.812 kB / 3.117 GB, free: 245.2 MB / 0.8855 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002947/7.771, allocations: 111.3 kB / 3.117 GB, free: 245.2 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00043/7.771, allocations: 101.3 kB / 3.117 GB, free: 245.2 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001363/7.772, allocations: 0.556 MB / 3.117 GB, free: 244.9 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.879e-05/7.773, allocations: 46.62 kB / 3.117 GB, free: 244.9 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001197/7.773, allocations: 61.03 kB / 3.117 GB, free: 244.9 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00163/7.774, allocations: 0.6944 MB / 3.118 GB, free: 244.7 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.864e-05/7.774, allocations: 0 / 3.118 GB, free: 244.7 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001072/7.774, allocations: 26.03 kB / 3.118 GB, free: 244.7 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.816e-05/7.775, allocations: 15.66 kB / 3.118 GB, free: 244.7 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001918/7.776, allocations: 0.9167 MB / 3.119 GB, free: 244.7 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0051/7.782, allocations: 2.348 MB / 3.121 GB, free: 243.6 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001437/7.783, allocations: 0.6014 MB / 3.122 GB, free: 243.5 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001173/7.783, allocations: 34.44 kB / 3.122 GB, free: 243.5 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007537/7.784, allocations: 345.1 kB / 3.122 GB, free: 243.4 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=61): time 3.377e-06/7.784, allocations: 0 / 3.122 GB, free: 243.4 MB / 0.8855 GB Notification: Performance of matching and sorting (n=61): time 0.002893/7.787, allocations: 0.7098 MB / 3.123 GB, free: 243.4 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001659/7.787, allocations: 294.2 kB / 3.123 GB, free: 243 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002067/7.789, allocations: 0.5751 MB / 3.124 GB, free: 242.9 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 0.0003162/7.79, allocations: 37.17 kB / 3.124 GB, free: 242.9 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005805/7.79, allocations: 326.7 kB / 3.124 GB, free: 242.7 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003929/7.791, allocations: 202.1 kB / 3.124 GB, free: 242.6 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.06e-05/7.791, allocations: 11.53 kB / 3.124 GB, free: 242.6 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0002193/7.791, allocations: 381.6 kB / 3.125 GB, free: 242.3 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007818/7.792, allocations: 164.6 kB / 3.125 GB, free: 242.3 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001097/7.793, allocations: 294.2 kB / 3.125 GB, free: 242.1 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001063/7.794, allocations: 211.8 kB / 3.125 GB, free: 242.1 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.276e-06/7.794, allocations: 0 / 3.125 GB, free: 242.1 MB / 0.8855 GB Notification: Performance of matching and sorting (n=67) (initialization): time 0.002482/7.797, allocations: 0.5533 MB / 3.126 GB, free: 242.1 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 3.827e-05/7.797, allocations: 5.781 kB / 3.126 GB, free: 242.1 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.423e-05/7.797, allocations: 4 kB / 3.126 GB, free: 242.1 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.474e-05/7.797, allocations: 3.906 kB / 3.126 GB, free: 242.1 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001278/7.798, allocations: 117.9 kB / 3.126 GB, free: 242 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.277e-05/7.798, allocations: 7.922 kB / 3.126 GB, free: 242 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001194/7.799, allocations: 65.31 kB / 3.126 GB, free: 242 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000104/7.799, allocations: 26.56 kB / 3.126 GB, free: 242 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.0006617/7.8, allocations: 241.5 kB / 3.126 GB, free: 241.9 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003157/7.8, allocations: 70.41 kB / 3.126 GB, free: 241.9 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00245/7.803, allocations: 0.7638 MB / 3.127 GB, free: 241.7 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.271e-05/7.803, allocations: 11.72 kB / 3.127 GB, free: 241.7 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.577e-06/7.803, allocations: 0 / 3.127 GB, free: 241.7 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.394e-05/7.803, allocations: 7.422 kB / 3.127 GB, free: 241.7 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001677/7.805, allocations: 0.9352 MB / 3.128 GB, free: 241.4 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.34e-06/7.805, allocations: 7.844 kB / 3.128 GB, free: 241.4 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008287/7.806, allocations: 115.5 kB / 3.128 GB, free: 241.4 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.145e-05/7.806, allocations: 3.906 kB / 3.128 GB, free: 241.4 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.892e-05/7.806, allocations: 25.52 kB / 3.128 GB, free: 241.4 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.815e-06/7.806, allocations: 3.953 kB / 3.128 GB, free: 241.4 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.537e-06/7.806, allocations: 3.875 kB / 3.128 GB, free: 241.4 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001552/7.807, allocations: 0.6404 MB / 3.129 GB, free: 241.2 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004859/7.808, allocations: 264.9 kB / 3.129 GB, free: 241.1 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001718/7.808, allocations: 19.52 kB / 3.129 GB, free: 241.1 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007589/7.809, allocations: 54.95 kB / 3.129 GB, free: 241.1 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001954/7.809, allocations: 47.45 kB / 3.129 GB, free: 241.1 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.978e-05/7.809, allocations: 25.7 kB / 3.129 GB, free: 241.1 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.000932/7.81, allocations: 476 kB / 3.13 GB, free: 241 MB / 0.8855 GB Notification: Performance of sort global known variables: time 4.61e-07/7.81, allocations: 5.344 kB / 3.13 GB, free: 241 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.001138/7.811, allocations: 255.2 kB / 3.13 GB, free: 240.9 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.003441/7.815, allocations: 1.734 MB / 3.132 GB, free: 240 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.001253/7.816, allocations: 476.2 kB / 3.132 GB, free: 240 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 4.458e-06/7.816, allocations: 0 / 3.132 GB, free: 240 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0005801/7.816, allocations: 286.5 kB / 3.132 GB, free: 240 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00172/7.818, allocations: 202.6 kB / 3.133 GB, free: 240 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008836/7.827, allocations: 4.53 MB / 3.137 GB, free: 238.1 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000513/7.828, allocations: 0.9667 MB / 3.138 GB, free: 237.3 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.00131/7.829, allocations: 243.2 kB / 3.138 GB, free: 237.3 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005823/7.83, allocations: 288.6 kB / 3.138 GB, free: 237.3 MB / 0.8855 GB Notification: Performance of SimCode: time 1.533e-06/7.83, allocations: 0 / 3.138 GB, free: 237.3 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06023/7.89, allocations: 16.93 MB / 3.155 GB, free: 235.9 MB / 0.8855 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002611/7.89, allocations: 258.9 kB / 3.155 GB, free: 235.6 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_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: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_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: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_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