Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearDataNegativeStart.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearDataNegativeStart,fileNamePrefix="Buildings_8_Buildings_BoundaryConditions_WeatherData_Validation_ThreeYears_usingTwoYearDataNegativeStart",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearDataNegativeStart,fileNamePrefix="Buildings_8_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.1.4-maint.8.1.x/package.mo): time 1.675/1.675, allocations: 289.7 MB / 302.2 MB, free: 2.152 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.001077/0.001077, allocations: 183.9 kB / 371.6 MB, free: 3.43 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.699/1.699, allocations: 205.1 MB / 0.6309 GB, free: 11.77 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009413/0.0009414, allocations: 93.78 kB / 0.745 GB, free: 54.59 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 4.241e-05/4.245e-05, allocations: 4 kB / 0.8663 GB, free: 14.99 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3041/0.3041, allocations: 116.3 MB / 0.9799 GB, free: 10.52 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.656/6.96, allocations: 2.072 GB / 3.052 GB, free: 169 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003365/6.96, allocations: 85.31 kB / 3.052 GB, free: 169 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 0.06801/7.029, allocations: 27.57 MB / 3.079 GB, free: 141.6 MB / 0.948 GB Notification: Performance of FrontEnd: time 3.727e-06/7.029, allocations: 4 kB / 3.079 GB, free: 141.6 MB / 0.948 GB Notification: Performance of Transformations before backend: time 7.922e-05/7.029, allocations: 23.94 kB / 3.079 GB, free: 141.5 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.001606/7.03, allocations: 0.917 MB / 3.08 GB, free: 140.6 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 5.605e-05/7.03, allocations: 8.031 kB / 3.08 GB, free: 140.6 MB / 0.948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001244/7.03, allocations: 110.5 kB / 3.08 GB, free: 140.5 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003049/7.031, allocations: 100.6 kB / 3.08 GB, free: 140.4 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009547/7.032, allocations: 0.5648 MB / 3.081 GB, free: 139.8 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.28e-05/7.032, allocations: 48.58 kB / 3.081 GB, free: 139.7 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.898e-05/7.032, allocations: 61.12 kB / 3.081 GB, free: 139.7 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009867/7.033, allocations: 0.6815 MB / 3.082 GB, free: 138.9 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.262e-05/7.033, allocations: 0 / 3.082 GB, free: 138.9 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.034e-05/7.033, allocations: 28 kB / 3.082 GB, free: 138.9 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.467e-05/7.033, allocations: 12 kB / 3.082 GB, free: 138.9 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001069/7.034, allocations: 0.9026 MB / 3.083 GB, free: 138 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002712/7.037, allocations: 2.346 MB / 3.085 GB, free: 135.5 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007886/7.038, allocations: 0.5954 MB / 3.086 GB, free: 134.9 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002828/7.038, allocations: 220.2 kB / 3.086 GB, free: 134.7 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 7.279e-05/7.038, allocations: 28.59 kB / 3.086 GB, free: 134.7 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004951/7.038, allocations: 346.5 kB / 3.086 GB, free: 134.3 MB / 0.948 GB Notification: Performance of pre-optimization done (n=61): time 2.425e-06/7.038, allocations: 4 kB / 3.086 GB, free: 134.3 MB / 0.948 GB Notification: Performance of matching and sorting (n=61): time 0.0009059/7.039, allocations: 0.5177 MB / 3.087 GB, free: 133.8 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001052/7.04, allocations: 299.3 kB / 3.087 GB, free: 133.4 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006304/7.04, allocations: 0.5737 MB / 3.087 GB, free: 132.9 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 4.595e-05/7.04, allocations: 37.7 kB / 3.088 GB, free: 132.8 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001966/7.04, allocations: 329.8 kB / 3.088 GB, free: 132.5 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001135/7.041, allocations: 205.1 kB / 3.088 GB, free: 132.3 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.111e-05/7.041, allocations: 12 kB / 3.088 GB, free: 132.3 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0001132/7.041, allocations: 374.8 kB / 3.088 GB, free: 131.9 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002319/7.041, allocations: 161.1 kB / 3.089 GB, free: 131.8 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003201/7.041, allocations: 285.3 kB / 3.089 GB, free: 131.4 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003132/7.042, allocations: 211.2 kB / 3.089 GB, free: 131.2 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.386e-06/7.042, allocations: 3.984 kB / 3.089 GB, free: 131.2 MB / 0.948 GB Notification: Performance of matching and sorting (n=67) (initialization): time 0.0007375/7.042, allocations: 0.5295 MB / 3.09 GB, free: 130.7 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 2.786e-05/7.042, allocations: 5.406 kB / 3.09 GB, free: 130.7 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.267e-06/7.042, allocations: 3.938 kB / 3.09 GB, free: 130.7 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.519e-05/7.042, allocations: 4 kB / 3.09 GB, free: 130.7 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004501/7.043, allocations: 119.9 kB / 3.09 GB, free: 130.6 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.356e-05/7.043, allocations: 4.875 kB / 3.09 GB, free: 130.6 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004624/7.043, allocations: 83.3 kB / 3.09 GB, free: 130.5 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.093e-05/7.043, allocations: 27.98 kB / 3.09 GB, free: 130.4 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 () * 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.000139/7.044, allocations: 139.4 kB / 3.09 GB, free: 130.3 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.958e-05/7.044, allocations: 67.16 kB / 3.09 GB, free: 130.2 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001247/7.045, allocations: 0.7602 MB / 3.091 GB, free: 129.5 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.425e-06/7.045, allocations: 8 kB / 3.091 GB, free: 129.5 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.973e-06/7.045, allocations: 0 / 3.091 GB, free: 129.5 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.197e-06/7.045, allocations: 8.641 kB / 3.091 GB, free: 129.5 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009442/7.046, allocations: 0.9249 MB / 3.092 GB, free: 128.5 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.717e-06/7.046, allocations: 4 kB / 3.092 GB, free: 128.5 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003769/7.046, allocations: 115.8 kB / 3.092 GB, free: 128.4 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.384e-06/7.046, allocations: 7.984 kB / 3.092 GB, free: 128.4 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.072e-05/7.046, allocations: 23.98 kB / 3.092 GB, free: 128.3 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.368e-06/7.046, allocations: 7.938 kB / 3.092 GB, free: 128.3 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.525e-06/7.046, allocations: 5.641 kB / 3.092 GB, free: 128.3 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008548/7.047, allocations: 0.6392 MB / 3.092 GB, free: 127.7 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003175/7.048, allocations: 271.8 kB / 3.093 GB, free: 127.4 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.285e-05/7.048, allocations: 20 kB / 3.093 GB, free: 127.3 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004057/7.048, allocations: 59.91 kB / 3.093 GB, free: 127.3 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001086/7.048, allocations: 44.72 kB / 3.093 GB, free: 127.2 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.325e-05/7.048, allocations: 23.98 kB / 3.093 GB, free: 127.2 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.0005069/7.049, allocations: 471.1 kB / 3.093 GB, free: 126.8 MB / 0.948 GB Notification: Performance of sort global known variables: time 1.6e-07/7.049, allocations: 0 / 3.093 GB, free: 126.8 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0007686/7.05, allocations: 247.4 kB / 3.094 GB, free: 126.5 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) * 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.002244/7.052, allocations: 1.695 MB / 3.095 GB, free: 124.9 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0007171/7.053, allocations: 467.6 kB / 3.096 GB, free: 124.5 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 3.937e-06/7.053, allocations: 4 kB / 3.096 GB, free: 124.5 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0003444/7.053, allocations: 276.4 kB / 3.096 GB, free: 124.2 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009707/7.054, allocations: 220 kB / 3.096 GB, free: 124 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002049/7.056, allocations: 1.175 MB / 3.097 GB, free: 122.8 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003703/7.056, allocations: 0.9679 MB / 3.098 GB, free: 121.8 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.000667/7.057, allocations: 237.5 kB / 3.098 GB, free: 121.5 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003898/7.057, allocations: 299.3 kB / 3.099 GB, free: 121.2 MB / 0.948 GB Notification: Performance of SimCode: time 6.71e-07/7.057, allocations: 0 / 3.099 GB, free: 121.2 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03698/7.094, allocations: 16.85 MB / 3.115 GB, free: 104.6 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002173/7.095, allocations: 237.8 kB / 3.115 GB, free: 104.3 MB / 0.948 GB Error: Error building simulator. Build log: clang -Os -fPIC -falign-functions -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 8.1.4-maint.8.1.x/Resources/C-Sources" -c -o Buildings_8_Buildings_BoundaryConditions_WeatherData_Validation_ThreeYears_usingTwoYearDataNegativeStart.o Buildings_8_Buildings_BoundaryConditions_WeatherData_Validation_ThreeYears_usingTwoYearDataNegativeStart.c In file included from Buildings_8_Buildings_BoundaryConditions_WeatherData_Validation_ThreeYears_usingTwoYearDataNegativeStart.c:7: In file included from ./Buildings_8_Buildings_BoundaryConditions_WeatherData_Validation_ThreeYears_usingTwoYearDataNegativeStart_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 -falign-functions -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 8.1.4-maint.8.1.x/Resources/C-Sources" -c -o Buildings_8_Buildings_BoundaryConditions_WeatherData_Validation_ThreeYears_usingTwoYearDataNegativeStart_functions.o Buildings_8_Buildings_BoundaryConditions_WeatherData_Validation_ThreeYears_usingTwoYearDataNegativeStart_functions.c In file included from Buildings_8_Buildings_BoundaryConditions_WeatherData_Validation_ThreeYears_usingTwoYearDataNegativeStart_functions.c:2: In file included from ./Buildings_8_Buildings_BoundaryConditions_WeatherData_Validation_ThreeYears_usingTwoYearDataNegativeStart_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_8_Buildings_BoundaryConditions_WeatherData_Validation_ThreeYears_usingTwoYearDataNegativeStart_functions.c:7: In file included from ./Buildings_8_Buildings_BoundaryConditions_WeatherData_Validation_ThreeYears_usingTwoYearDataNegativeStart_includes.h:4: /home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/Resources/C-Sources/getTimeSpan.c:9:10: fatal error: 'ModelicaUtilities.h' file not found #include "ModelicaUtilities.h" ^~~~~~~~~~~~~~~~~~~~~ 2 warnings and 1 error generated. make: *** [: Buildings_8_Buildings_BoundaryConditions_WeatherData_Validation_ThreeYears_usingTwoYearDataNegativeStart_functions.o] Error 1