Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearDataNegativeStart.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_usingTwoYearDataNegativeStart,fileNamePrefix="Buildings_8_0_0_Buildings_BoundaryConditions_WeatherData_Validation_ThreeYears_usingTwoYearDataNegativeStart",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearDataNegativeStart,fileNamePrefix="Buildings_8_0_0_Buildings_BoundaryConditions_WeatherData_Validation_ThreeYears_usingTwoYearDataNegativeStart",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.647/2.647, allocations: 287.3 MB / 302.3 MB, free: 8.23 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.001736/0.001736, allocations: 177.8 kB / 370.8 MB, free: 10.86 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.134/2.134, allocations: 205.4 MB / 0.6295 GB, free: 10.62 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.001189/0.001189, allocations: 86.88 kB / 0.7428 GB, free: 6.621 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.000767/0.0007673, allocations: 15.39 kB / 0.8657 GB, free: 140.5 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2178/0.2186, allocations: 115.3 MB / 0.9783 GB, free: 28.3 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 7.347/7.566, allocations: 2.071 GB / 3.05 GB, free: 202.1 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000333/7.566, allocations: 91.2 kB / 3.05 GB, free: 202 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 0.1239/7.69, allocations: 27.82 MB / 3.077 GB, free: 178.6 MB / 0.948 GB Notification: Performance of FrontEnd: time 2.635e-06/7.69, allocations: 3.938 kB / 3.077 GB, free: 178.6 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0001131/7.691, allocations: 19.94 kB / 3.077 GB, free: 178.6 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.002527/7.693, allocations: 1.031 MB / 3.078 GB, free: 177.5 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 5.411e-05/7.693, allocations: 12.02 kB / 3.078 GB, free: 177.5 MB / 0.948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003364/7.694, allocations: 107 kB / 3.078 GB, free: 177.5 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004373/7.694, allocations: 94.88 kB / 3.078 GB, free: 177.4 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001526/7.696, allocations: 0.5689 MB / 3.079 GB, free: 176.8 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.102e-05/7.696, allocations: 46.31 kB / 3.079 GB, free: 176.8 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001195/7.696, allocations: 57.5 kB / 3.079 GB, free: 176.8 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001683/7.697, allocations: 0.6899 MB / 3.08 GB, free: 176.2 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.279e-05/7.698, allocations: 4 kB / 3.08 GB, free: 176.2 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001075/7.698, allocations: 26.12 kB / 3.08 GB, free: 176.2 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.822e-05/7.698, allocations: 16 kB / 3.08 GB, free: 176.2 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002081/7.7, allocations: 0.9174 MB / 3.08 GB, free: 175.5 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005239/7.705, allocations: 2.349 MB / 3.083 GB, free: 173.5 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001509/7.707, allocations: 0.6065 MB / 3.083 GB, free: 173 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000112/7.707, allocations: 28.17 kB / 3.083 GB, free: 173 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007895/7.708, allocations: 340.1 kB / 3.084 GB, free: 172.8 MB / 0.948 GB Notification: Performance of pre-optimization done (n=61): time 4.027e-06/7.708, allocations: 4 kB / 3.084 GB, free: 172.8 MB / 0.948 GB Notification: Performance of matching and sorting (n=61): time 0.001971/7.71, allocations: 0.7031 MB / 3.084 GB, free: 172.3 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001056/7.71, allocations: 303.3 kB / 3.085 GB, free: 171.9 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001183/7.711, allocations: 0.577 MB / 3.085 GB, free: 171.4 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0001907/7.711, allocations: 41.2 kB / 3.085 GB, free: 171.4 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002942/7.712, allocations: 321.7 kB / 3.086 GB, free: 171.2 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002193/7.712, allocations: 198.4 kB / 3.086 GB, free: 171 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.002e-05/7.712, allocations: 10.56 kB / 3.086 GB, free: 171 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0001238/7.712, allocations: 372.1 kB / 3.086 GB, free: 170.7 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004711/7.712, allocations: 173.9 kB / 3.086 GB, free: 170.6 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000593/7.713, allocations: 294.9 kB / 3.087 GB, free: 170.3 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000529/7.714, allocations: 216.4 kB / 3.087 GB, free: 170.2 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.34e-06/7.714, allocations: 0 / 3.087 GB, free: 170.2 MB / 0.948 GB Notification: Performance of matching and sorting (n=67) (initialization): time 0.001445/7.715, allocations: 0.5453 MB / 3.087 GB, free: 169.8 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 2.748e-05/7.715, allocations: 4 kB / 3.087 GB, free: 169.8 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.948e-06/7.715, allocations: 0 / 3.087 GB, free: 169.8 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.8e-05/7.715, allocations: 4.109 kB / 3.087 GB, free: 169.8 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009006/7.716, allocations: 127.4 kB / 3.087 GB, free: 169.7 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.542e-05/7.716, allocations: 3.984 kB / 3.087 GB, free: 169.7 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008872/7.717, allocations: 75.19 kB / 3.088 GB, free: 169.6 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001272/7.717, allocations: 23.61 kB / 3.088 GB, free: 169.6 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.000628/7.718, allocations: 239.7 kB / 3.088 GB, free: 169.4 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002992/7.718, allocations: 75.16 kB / 3.088 GB, free: 169.3 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002408/7.721, allocations: 0.7684 MB / 3.089 GB, free: 168.8 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.465e-05/7.721, allocations: 8 kB / 3.089 GB, free: 168.8 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.747e-06/7.721, allocations: 4 kB / 3.089 GB, free: 168.7 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.262e-05/7.721, allocations: 3.984 kB / 3.089 GB, free: 168.7 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001765/7.722, allocations: 0.9262 MB / 3.09 GB, free: 168 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.155e-06/7.723, allocations: 4 kB / 3.09 GB, free: 168 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009269/7.723, allocations: 119.6 kB / 3.09 GB, free: 167.9 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.434e-05/7.724, allocations: 4 kB / 3.09 GB, free: 167.9 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.058e-05/7.724, allocations: 22.61 kB / 3.09 GB, free: 167.8 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.927e-06/7.724, allocations: 4 kB / 3.09 GB, free: 167.8 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.727e-06/7.724, allocations: 3.953 kB / 3.09 GB, free: 167.8 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001621/7.725, allocations: 0.6535 MB / 3.09 GB, free: 167.3 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005986/7.726, allocations: 262.2 kB / 3.091 GB, free: 167.1 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001832/7.726, allocations: 14.31 kB / 3.091 GB, free: 167.1 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008214/7.727, allocations: 58.72 kB / 3.091 GB, free: 167 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001561/7.727, allocations: 47.59 kB / 3.091 GB, free: 167 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.199e-05/7.727, allocations: 27.36 kB / 3.091 GB, free: 167 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.0009048/7.728, allocations: 475.5 kB / 3.091 GB, free: 166.7 MB / 0.948 GB Notification: Performance of sort global known variables: time 6.01e-07/7.728, allocations: 0 / 3.091 GB, free: 166.7 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.00125/7.729, allocations: 251.2 kB / 3.091 GB, free: 166.4 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.003426/7.733, allocations: 1.737 MB / 3.093 GB, free: 165 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.001416/7.734, allocations: 476.3 kB / 3.094 GB, free: 164.7 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 8.696e-06/7.734, allocations: 7.812 kB / 3.094 GB, free: 164.7 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0006757/7.735, allocations: 275.8 kB / 3.094 GB, free: 164.5 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001831/7.737, allocations: 211 kB / 3.094 GB, free: 164.3 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0101/7.747, allocations: 4.523 MB / 3.098 GB, free: 160.4 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004962/7.748, allocations: 0.9603 MB / 3.099 GB, free: 159.4 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.001307/7.749, allocations: 245.5 kB / 3.1 GB, free: 159.2 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007362/7.75, allocations: 295.7 kB / 3.1 GB, free: 159.1 MB / 0.948 GB Notification: Performance of SimCode: time 1.112e-06/7.75, allocations: 0 / 3.1 GB, free: 159.1 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06162/7.811, allocations: 16.93 MB / 3.116 GB, free: 142.5 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002871/7.812, allocations: 272.2 kB / 3.117 GB, free: 142.1 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_usingTwoYearDataNegativeStart.o Buildings_8_0_0_Buildings_BoundaryConditions_WeatherData_Validation_ThreeYears_usingTwoYearDataNegativeStart.c In file included from Buildings_8_0_0_Buildings_BoundaryConditions_WeatherData_Validation_ThreeYears_usingTwoYearDataNegativeStart.c:7: In file included from ./Buildings_8_0_0_Buildings_BoundaryConditions_WeatherData_Validation_ThreeYears_usingTwoYearDataNegativeStart_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_usingTwoYearDataNegativeStart_functions.o Buildings_8_0_0_Buildings_BoundaryConditions_WeatherData_Validation_ThreeYears_usingTwoYearDataNegativeStart_functions.c In file included from Buildings_8_0_0_Buildings_BoundaryConditions_WeatherData_Validation_ThreeYears_usingTwoYearDataNegativeStart_functions.c:2: In file included from ./Buildings_8_0_0_Buildings_BoundaryConditions_WeatherData_Validation_ThreeYears_usingTwoYearDataNegativeStart_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_usingTwoYearDataNegativeStart_functions.c:7: In file included from ./Buildings_8_0_0_Buildings_BoundaryConditions_WeatherData_Validation_ThreeYears_usingTwoYearDataNegativeStart_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_usingTwoYearDataNegativeStart_functions.o' failed make: *** [Buildings_8_0_0_Buildings_BoundaryConditions_WeatherData_Validation_ThreeYears_usingTwoYearDataNegativeStart_functions.o] Error 1