Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearDataPositiveStart.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_usingTwoYearDataPositiveStart,fileNamePrefix="Buildings_7_0_0_Buildings_BoundaryConditions_WeatherData_Validation_ThreeYears_usingTwoYearDataPositiveStart",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.22/2.22, 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.001814/0.001814, allocations: 196.5 kB / 325.5 MB, free: 2.879 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.426/2.426, allocations: 205.4 MB / 0.5764 GB, free: 20.73 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.001149/0.001149, allocations: 94.44 kB / 0.6809 GB, free: 13.64 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004836/0.0004838, allocations: 11.53 kB / 0.795 GB, free: 135.4 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2396/0.2402, allocations: 106.3 MB / 0.8988 GB, free: 65.45 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 7.413/7.653, allocations: 2.189 GB / 3.088 GB, free: 247.8 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004503/7.654, allocations: 91.77 kB / 3.088 GB, free: 247.8 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 0.1416/7.795, allocations: 27.82 MB / 3.116 GB, free: 246.1 MB / 0.8855 GB Notification: Performance of FrontEnd: time 2.775e-06/7.796, allocations: 4 kB / 3.116 GB, free: 246.1 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 9.615e-05/7.796, allocations: 27.19 kB / 3.116 GB, free: 246.1 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.002558/7.798, allocations: 1.022 MB / 3.117 GB, free: 245.4 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 4.569e-05/7.798, allocations: 11.75 kB / 3.117 GB, free: 245.4 MB / 0.8855 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003073/7.799, allocations: 110.5 kB / 3.117 GB, free: 245.4 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004368/7.799, allocations: 101.7 kB / 3.117 GB, free: 245.3 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001398/7.8, allocations: 0.5588 MB / 3.117 GB, free: 245 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.363e-05/7.801, allocations: 47.12 kB / 3.117 GB, free: 245 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001197/7.801, allocations: 57.5 kB / 3.117 GB, free: 245 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001554/7.802, allocations: 0.6921 MB / 3.118 GB, free: 244.8 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.809e-05/7.802, allocations: 0 / 3.118 GB, free: 244.8 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001033/7.802, allocations: 28.7 kB / 3.118 GB, free: 244.8 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.72e-05/7.802, allocations: 15.66 kB / 3.118 GB, free: 244.8 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001912/7.804, allocations: 0.92 MB / 3.119 GB, free: 244.8 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004734/7.809, allocations: 2.363 MB / 3.121 GB, free: 243.7 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001342/7.811, allocations: 0.5907 MB / 3.122 GB, free: 243.7 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001017/7.811, allocations: 34.92 kB / 3.122 GB, free: 243.7 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007204/7.811, allocations: 342.4 kB / 3.122 GB, free: 243.6 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=61): time 3.446e-06/7.811, allocations: 0 / 3.122 GB, free: 243.6 MB / 0.8855 GB Notification: Performance of matching and sorting (n=61): time 0.001887/7.813, allocations: 0.7065 MB / 3.123 GB, free: 243.5 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.072e-05/7.813, allocations: 298.2 kB / 3.123 GB, free: 243.2 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001116/7.815, allocations: 0.577 MB / 3.124 GB, free: 243 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 0.0001025/7.815, allocations: 40.86 kB / 3.124 GB, free: 243 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002936/7.815, allocations: 330.2 kB / 3.124 GB, free: 242.9 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001849/7.815, allocations: 196.7 kB / 3.124 GB, free: 242.7 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.975e-05/7.815, allocations: 10.59 kB / 3.124 GB, free: 242.7 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001212/7.815, allocations: 375.4 kB / 3.125 GB, free: 242.4 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004361/7.816, allocations: 165.9 kB / 3.125 GB, free: 242.4 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005462/7.816, allocations: 293.9 kB / 3.125 GB, free: 242.3 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005158/7.817, allocations: 221.2 kB / 3.125 GB, free: 242.3 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.17e-06/7.817, allocations: 0 / 3.125 GB, free: 242.3 MB / 0.8855 GB Notification: Performance of matching and sorting (n=67) (initialization): time 0.001419/7.818, allocations: 0.5434 MB / 3.126 GB, free: 242.2 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 2.443e-05/7.818, allocations: 3.906 kB / 3.126 GB, free: 242.2 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.074e-05/7.818, allocations: 3.906 kB / 3.126 GB, free: 242.2 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.353e-05/7.818, allocations: 7.906 kB / 3.126 GB, free: 242.2 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008482/7.819, allocations: 116.7 kB / 3.126 GB, free: 242.2 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.536e-05/7.819, allocations: 11.73 kB / 3.126 GB, free: 242.2 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008643/7.82, allocations: 71.95 kB / 3.126 GB, free: 242.2 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.889e-05/7.82, allocations: 22.3 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.0006095/7.821, allocations: 236.2 kB / 3.126 GB, free: 242 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001924/7.821, allocations: 73.7 kB / 3.126 GB, free: 242 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002118/7.823, allocations: 0.7688 MB / 3.127 GB, free: 241.9 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.148e-05/7.823, allocations: 10.95 kB / 3.127 GB, free: 241.9 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.386e-06/7.823, allocations: 0 / 3.127 GB, free: 241.9 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.542e-05/7.823, allocations: 7.281 kB / 3.127 GB, free: 241.9 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001628/7.825, allocations: 0.9315 MB / 3.128 GB, free: 241.6 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.55e-06/7.825, allocations: 3.938 kB / 3.128 GB, free: 241.6 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008121/7.826, allocations: 119.5 kB / 3.128 GB, free: 241.5 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.156e-05/7.826, allocations: 7.609 kB / 3.128 GB, free: 241.5 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.612e-05/7.826, allocations: 15.25 kB / 3.128 GB, free: 241.5 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.245e-06/7.826, allocations: 7.562 kB / 3.128 GB, free: 241.5 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.165e-06/7.826, allocations: 0 / 3.128 GB, free: 241.5 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001579/7.828, allocations: 0.654 MB / 3.129 GB, free: 241.4 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005041/7.828, allocations: 256.8 kB / 3.129 GB, free: 241.2 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001685/7.828, allocations: 19.89 kB / 3.129 GB, free: 241.2 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007689/7.829, allocations: 58.31 kB / 3.129 GB, free: 241.2 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001427/7.829, allocations: 48.42 kB / 3.129 GB, free: 241.2 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.794e-05/7.829, allocations: 23.61 kB / 3.129 GB, free: 241.2 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.0009413/7.83, allocations: 474.5 kB / 3.13 GB, free: 241.1 MB / 0.8855 GB Notification: Performance of sort global known variables: time 5.41e-07/7.83, allocations: 0 / 3.13 GB, free: 241.1 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.001232/7.831, allocations: 254.6 kB / 3.13 GB, free: 241.1 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.003421/7.835, allocations: 1.734 MB / 3.132 GB, free: 240.2 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.001285/7.836, allocations: 476.1 kB / 3.132 GB, free: 240.2 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 5.861e-06/7.836, allocations: 0 / 3.132 GB, free: 240.2 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.00058/7.837, allocations: 281 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.001697/7.839, allocations: 221.6 kB / 3.133 GB, free: 240.1 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009035/7.848, allocations: 4.527 MB / 3.137 GB, free: 238.2 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005201/7.848, allocations: 0.9688 MB / 3.138 GB, free: 237.5 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.001357/7.85, allocations: 242.1 kB / 3.138 GB, free: 237.4 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006563/7.85, allocations: 295.5 kB / 3.139 GB, free: 237.4 MB / 0.8855 GB Notification: Performance of SimCode: time 9.31e-07/7.85, allocations: 0 / 3.139 GB, free: 237.4 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06/7.91, allocations: 16.93 MB / 3.155 GB, free: 236.1 MB / 0.8855 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002686/7.911, allocations: 276 kB / 3.155 GB, free: 235.7 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_usingTwoYearDataPositiveStart.o Buildings_7_0_0_Buildings_BoundaryConditions_WeatherData_Validation_ThreeYears_usingTwoYearDataPositiveStart.c In file included from Buildings_7_0_0_Buildings_BoundaryConditions_WeatherData_Validation_ThreeYears_usingTwoYearDataPositiveStart.c:7: In file included from ./Buildings_7_0_0_Buildings_BoundaryConditions_WeatherData_Validation_ThreeYears_usingTwoYearDataPositiveStart_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_usingTwoYearDataPositiveStart_functions.o Buildings_7_0_0_Buildings_BoundaryConditions_WeatherData_Validation_ThreeYears_usingTwoYearDataPositiveStart_functions.c In file included from Buildings_7_0_0_Buildings_BoundaryConditions_WeatherData_Validation_ThreeYears_usingTwoYearDataPositiveStart_functions.c:2: In file included from ./Buildings_7_0_0_Buildings_BoundaryConditions_WeatherData_Validation_ThreeYears_usingTwoYearDataPositiveStart_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_usingTwoYearDataPositiveStart_functions.c:7: In file included from ./Buildings_7_0_0_Buildings_BoundaryConditions_WeatherData_Validation_ThreeYears_usingTwoYearDataPositiveStart_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_usingTwoYearDataPositiveStart_functions.o' failed make: *** [Buildings_7_0_0_Buildings_BoundaryConditions_WeatherData_Validation_ThreeYears_usingTwoYearDataPositiveStart_functions.o] Error 1