Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearData.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearData,fileNamePrefix="Buildings_8_0_0_Buildings_BoundaryConditions_WeatherData_Validation_ThreeYears_usingTwoYearData",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearData,fileNamePrefix="Buildings_8_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 8.0.0/package.mo): time 2.562/2.562, allocations: 287.3 MB / 302.3 MB, free: 8.297 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.001527/0.001527, allocations: 169.2 kB / 370.8 MB, free: 10.88 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.123/2.123, allocations: 205.4 MB / 0.6295 GB, free: 10.66 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001167/0.001167, allocations: 96.08 kB / 0.7428 GB, free: 6.668 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004848/0.0004846, allocations: 11.38 kB / 0.8657 GB, free: 140.4 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2248/0.2253, allocations: 115.3 MB / 0.9783 GB, free: 28.32 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.923/7.148, allocations: 2.071 GB / 3.05 GB, free: 203.5 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003108/7.148, allocations: 91.5 kB / 3.05 GB, free: 203.4 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 0.1137/7.262, allocations: 27.81 MB / 3.077 GB, free: 180 MB / 0.948 GB Notification: Performance of FrontEnd: time 3.296e-06/7.262, allocations: 0 / 3.077 GB, free: 180 MB / 0.948 GB Notification: Performance of Transformations before backend: time 8.497e-05/7.262, allocations: 19.94 kB / 3.077 GB, free: 180 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.002453/7.265, allocations: 1.03 MB / 3.078 GB, free: 179 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 5e-05/7.265, allocations: 12.03 kB / 3.078 GB, free: 179 MB / 0.948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000305/7.265, allocations: 101.7 kB / 3.078 GB, free: 178.9 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000438/7.266, allocations: 98.86 kB / 3.078 GB, free: 178.8 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00139/7.267, allocations: 0.5706 MB / 3.079 GB, free: 178.3 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.507e-05/7.267, allocations: 43.06 kB / 3.079 GB, free: 178.3 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001175/7.267, allocations: 62.5 kB / 3.079 GB, free: 178.2 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001603/7.269, allocations: 0.6917 MB / 3.079 GB, free: 177.7 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.996e-05/7.269, allocations: 3.938 kB / 3.079 GB, free: 177.7 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001039/7.269, allocations: 28.81 kB / 3.079 GB, free: 177.7 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.72e-05/7.269, allocations: 16 kB / 3.08 GB, free: 177.6 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001909/7.271, allocations: 0.9187 MB / 3.08 GB, free: 176.9 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004901/7.276, allocations: 2.343 MB / 3.083 GB, free: 174.9 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0014/7.277, allocations: 0.607 MB / 3.083 GB, free: 174.5 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001065/7.277, allocations: 32.02 kB / 3.083 GB, free: 174.5 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007349/7.278, allocations: 346.6 kB / 3.084 GB, free: 174.2 MB / 0.948 GB Notification: Performance of pre-optimization done (n=61): time 3.857e-06/7.278, allocations: 0 / 3.084 GB, free: 174.2 MB / 0.948 GB Notification: Performance of matching and sorting (n=61): time 0.001952/7.28, allocations: 0.7032 MB / 3.084 GB, free: 173.7 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001176/7.28, allocations: 295.2 kB / 3.085 GB, free: 173.3 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001147/7.282, allocations: 0.578 MB / 3.085 GB, free: 172.9 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0001577/7.282, allocations: 37.33 kB / 3.085 GB, free: 172.8 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.00029/7.282, allocations: 322.8 kB / 3.086 GB, free: 172.6 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002151/7.282, allocations: 202.5 kB / 3.086 GB, free: 172.5 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.05e-05/7.282, allocations: 15.81 kB / 3.086 GB, free: 172.5 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0001237/7.282, allocations: 372.5 kB / 3.086 GB, free: 172.1 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004517/7.283, allocations: 169.3 kB / 3.086 GB, free: 172 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006036/7.284, allocations: 294.5 kB / 3.087 GB, free: 171.8 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005478/7.284, allocations: 214.7 kB / 3.087 GB, free: 171.6 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.011e-06/7.284, allocations: 4 kB / 3.087 GB, free: 171.6 MB / 0.948 GB Notification: Performance of matching and sorting (n=67) (initialization): time 0.001501/7.286, allocations: 0.5406 MB / 3.087 GB, free: 171.2 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 2.549e-05/7.286, allocations: 12.12 kB / 3.087 GB, free: 171.2 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.538e-06/7.286, allocations: 0 / 3.087 GB, free: 171.2 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.676e-05/7.286, allocations: 4 kB / 3.087 GB, free: 171.2 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008702/7.287, allocations: 115.7 kB / 3.087 GB, free: 171.1 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.327e-05/7.287, allocations: 7.938 kB / 3.087 GB, free: 171.1 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008453/7.287, allocations: 79.03 kB / 3.087 GB, free: 171 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.803e-05/7.288, allocations: 27.8 kB / 3.088 GB, free: 171 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.0005491/7.288, allocations: 235.9 kB / 3.088 GB, free: 170.8 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002267/7.288, allocations: 71.16 kB / 3.088 GB, free: 170.8 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002246/7.291, allocations: 0.7668 MB / 3.089 GB, free: 170.2 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.154e-05/7.291, allocations: 8 kB / 3.089 GB, free: 170.2 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.496e-06/7.291, allocations: 0 / 3.089 GB, free: 170.2 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.207e-05/7.291, allocations: 3.984 kB / 3.089 GB, free: 170.2 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001654/7.292, allocations: 0.9322 MB / 3.089 GB, free: 169.4 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.192e-06/7.292, allocations: 0 / 3.089 GB, free: 169.4 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008444/7.293, allocations: 119.7 kB / 3.09 GB, free: 169.3 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.172e-05/7.293, allocations: 4.031 kB / 3.09 GB, free: 169.3 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.143e-05/7.293, allocations: 23.36 kB / 3.09 GB, free: 169.3 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.772e-06/7.293, allocations: 7.938 kB / 3.09 GB, free: 169.3 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.135e-06/7.293, allocations: 3.953 kB / 3.09 GB, free: 169.3 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001569/7.295, allocations: 0.6453 MB / 3.09 GB, free: 168.8 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005115/7.296, allocations: 262.9 kB / 3.091 GB, free: 168.5 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001703/7.296, allocations: 18.73 kB / 3.091 GB, free: 168.5 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007697/7.297, allocations: 59.11 kB / 3.091 GB, free: 168.5 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001441/7.297, allocations: 48.27 kB / 3.091 GB, free: 168.4 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.546e-05/7.297, allocations: 23.55 kB / 3.091 GB, free: 168.4 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.0008474/7.298, allocations: 484.4 kB / 3.091 GB, free: 168.1 MB / 0.948 GB Notification: Performance of sort global known variables: time 5.01e-07/7.298, allocations: 0 / 3.091 GB, free: 168.1 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.001266/7.299, allocations: 247.9 kB / 3.091 GB, free: 167.9 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.003386/7.302, allocations: 1.742 MB / 3.093 GB, free: 166.4 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.001337/7.304, allocations: 472 kB / 3.093 GB, free: 166.1 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 5.08e-06/7.304, allocations: 4.25 kB / 3.093 GB, free: 166.1 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0006095/7.304, allocations: 280 kB / 3.094 GB, free: 165.9 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001736/7.306, allocations: 217.6 kB / 3.094 GB, free: 165.7 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009213/7.315, allocations: 4.516 MB / 3.098 GB, free: 161.9 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004989/7.316, allocations: 0.9676 MB / 3.099 GB, free: 160.9 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.001258/7.317, allocations: 241.5 kB / 3.1 GB, free: 160.6 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006474/7.318, allocations: 296.2 kB / 3.1 GB, free: 160.5 MB / 0.948 GB Notification: Performance of SimCode: time 1.292e-06/7.318, allocations: 0 / 3.1 GB, free: 160.5 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07008/7.388, allocations: 16.92 MB / 3.116 GB, free: 143.9 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003012/7.388, allocations: 253.9 kB / 3.117 GB, free: 143.5 MB / 0.948 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 8.0.0/Resources/C-Sources" -c -o Buildings_8_0_0_Buildings_BoundaryConditions_WeatherData_Validation_ThreeYears_usingTwoYearData.o Buildings_8_0_0_Buildings_BoundaryConditions_WeatherData_Validation_ThreeYears_usingTwoYearData.c In file included from Buildings_8_0_0_Buildings_BoundaryConditions_WeatherData_Validation_ThreeYears_usingTwoYearData.c:7: In file included from ./Buildings_8_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 8.0.0/Resources/C-Sources" -c -o Buildings_8_0_0_Buildings_BoundaryConditions_WeatherData_Validation_ThreeYears_usingTwoYearData_functions.o Buildings_8_0_0_Buildings_BoundaryConditions_WeatherData_Validation_ThreeYears_usingTwoYearData_functions.c In file included from Buildings_8_0_0_Buildings_BoundaryConditions_WeatherData_Validation_ThreeYears_usingTwoYearData_functions.c:2: In file included from ./Buildings_8_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_8_0_0_Buildings_BoundaryConditions_WeatherData_Validation_ThreeYears_usingTwoYearData_functions.c:7: In file included from ./Buildings_8_0_0_Buildings_BoundaryConditions_WeatherData_Validation_ThreeYears_usingTwoYearData_includes.h:4: /home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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_8_0_0_Buildings_BoundaryConditions_WeatherData_Validation_ThreeYears_usingTwoYearData_functions.o' failed make: *** [Buildings_8_0_0_Buildings_BoundaryConditions_WeatherData_Validation_ThreeYears_usingTwoYearData_functions.o] Error 1