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.802/1.802, allocations: 292.6 MB / 307.5 MB, free: 5.234 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.00177/0.00177, allocations: 190.3 kB / 377.1 MB, free: 1.512 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.897/1.897, allocations: 205.4 MB / 0.6366 GB, free: 8.629 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.0008653/0.000865, allocations: 92.94 kB / 0.7509 GB, free: 63.19 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003838/0.0003839, allocations: 8 kB / 0.8749 GB, free: 11.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3151/0.3155, allocations: 116.3 MB / 0.9884 GB, free: 6.648 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.374/6.689, allocations: 2.073 GB / 3.061 GB, free: 147.2 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002517/6.69, allocations: 88.47 kB / 3.061 GB, free: 147.1 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 0.06749/6.757, allocations: 27.83 MB / 3.088 GB, free: 119.5 MB / 0.948 GB Notification: Performance of FrontEnd: time 4.449e-06/6.757, allocations: 0 / 3.088 GB, free: 119.5 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0001144/6.757, allocations: 20 kB / 3.088 GB, free: 119.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.002449/6.76, allocations: 1.022 MB / 3.089 GB, free: 118.4 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 5.915e-05/6.76, allocations: 12.02 kB / 3.089 GB, free: 118.4 MB / 0.948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002557/6.76, allocations: 106.5 kB / 3.089 GB, free: 118.3 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003992/6.761, allocations: 108.9 kB / 3.089 GB, free: 118.2 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001096/6.762, allocations: 0.5609 MB / 3.09 GB, free: 117.6 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.022e-05/6.762, allocations: 53.3 kB / 3.09 GB, free: 117.5 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.839e-05/6.762, allocations: 59.38 kB / 3.09 GB, free: 117.5 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001039/6.763, allocations: 0.6897 MB / 3.091 GB, free: 116.7 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.1e-05/6.763, allocations: 0 / 3.091 GB, free: 116.7 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.993e-05/6.763, allocations: 28 kB / 3.091 GB, free: 116.7 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.668e-05/6.763, allocations: 16 kB / 3.091 GB, free: 116.7 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001162/6.764, allocations: 0.9142 MB / 3.092 GB, free: 115.8 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003029/6.767, allocations: 2.35 MB / 3.094 GB, free: 113.4 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008533/6.768, allocations: 0.6018 MB / 3.095 GB, free: 112.7 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 6.973e-05/6.768, allocations: 28.55 kB / 3.095 GB, free: 112.7 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004899/6.769, allocations: 346.4 kB / 3.095 GB, free: 112.4 MB / 0.948 GB Notification: Performance of pre-optimization done (n=61): time 2.715e-06/6.769, allocations: 0 / 3.095 GB, free: 112.4 MB / 0.948 GB Notification: Performance of matching and sorting (n=61): time 0.001206/6.77, allocations: 0.7136 MB / 3.096 GB, free: 111.6 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001072/6.77, allocations: 287.3 kB / 3.096 GB, free: 111.3 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006597/6.771, allocations: 0.5852 MB / 3.096 GB, free: 110.7 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 4.79e-05/6.771, allocations: 37.83 kB / 3.097 GB, free: 110.7 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002082/6.771, allocations: 324.7 kB / 3.097 GB, free: 110.3 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001187/6.771, allocations: 197.1 kB / 3.097 GB, free: 110.1 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.313e-05/6.771, allocations: 12 kB / 3.097 GB, free: 110.1 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0001204/6.771, allocations: 379.6 kB / 3.097 GB, free: 109.8 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002309/6.771, allocations: 165 kB / 3.098 GB, free: 109.6 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003386/6.772, allocations: 297.2 kB / 3.098 GB, free: 109.3 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000292/6.772, allocations: 214.1 kB / 3.098 GB, free: 109.1 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.427e-06/6.772, allocations: 0 / 3.098 GB, free: 109.1 MB / 0.948 GB Notification: Performance of matching and sorting (n=67) (initialization): time 0.0007865/6.773, allocations: 0.5451 MB / 3.099 GB, free: 108.5 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 2.384e-05/6.773, allocations: 12.88 kB / 3.099 GB, free: 108.5 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.047e-06/6.773, allocations: 0 / 3.099 GB, free: 108.5 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.8e-05/6.773, allocations: 7.984 kB / 3.099 GB, free: 108.5 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004587/6.773, allocations: 116.7 kB / 3.099 GB, free: 108.4 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.197e-05/6.773, allocations: 4 kB / 3.099 GB, free: 108.4 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004531/6.774, allocations: 79.53 kB / 3.099 GB, free: 108.3 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.582e-05/6.774, allocations: 27.94 kB / 3.099 GB, free: 108.3 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.000323/6.774, allocations: 233.7 kB / 3.099 GB, free: 108 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000107/6.774, allocations: 67.16 kB / 3.099 GB, free: 107.9 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001259/6.776, allocations: 0.7659 MB / 3.1 GB, free: 107.2 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.338e-06/6.776, allocations: 8 kB / 3.1 GB, free: 107.2 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.933e-06/6.776, allocations: 0 / 3.1 GB, free: 107.2 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.077e-06/6.776, allocations: 5.016 kB / 3.1 GB, free: 107.2 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001109/6.777, allocations: 0.9363 MB / 3.101 GB, free: 106.2 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.085e-06/6.777, allocations: 4.031 kB / 3.101 GB, free: 106.2 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003946/6.777, allocations: 115.8 kB / 3.101 GB, free: 106.1 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.317e-06/6.777, allocations: 7.984 kB / 3.101 GB, free: 106.1 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.723e-05/6.777, allocations: 20 kB / 3.101 GB, free: 106 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.326e-06/6.777, allocations: 0 / 3.101 GB, free: 106 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.926e-06/6.777, allocations: 7.984 kB / 3.101 GB, free: 106 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008241/6.778, allocations: 0.6474 MB / 3.102 GB, free: 105.4 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000335/6.779, allocations: 267.8 kB / 3.102 GB, free: 105.1 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001077/6.779, allocations: 12 kB / 3.102 GB, free: 105.1 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004181/6.779, allocations: 57.27 kB / 3.102 GB, free: 105 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.195e-05/6.779, allocations: 56.53 kB / 3.102 GB, free: 105 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.77e-05/6.779, allocations: 23.98 kB / 3.102 GB, free: 104.9 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.0005209/6.78, allocations: 479 kB / 3.102 GB, free: 104.5 MB / 0.948 GB Notification: Performance of sort global known variables: time 1.5e-07/6.78, allocations: 0 / 3.102 GB, free: 104.5 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0008409/6.781, allocations: 251.4 kB / 3.103 GB, free: 104.2 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.002375/6.783, allocations: 1.74 MB / 3.104 GB, free: 102.6 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0007373/6.784, allocations: 480.8 kB / 3.105 GB, free: 102.1 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 7.014e-06/6.784, allocations: 4 kB / 3.105 GB, free: 102.1 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0003291/6.784, allocations: 271.6 kB / 3.105 GB, free: 101.9 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009393/6.785, allocations: 213.9 kB / 3.105 GB, free: 101.7 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006792/6.792, allocations: 4.527 MB / 3.11 GB, free: 97.08 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004272/6.792, allocations: 0.964 MB / 3.111 GB, free: 96.09 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.0008646/6.793, allocations: 241.5 kB / 3.111 GB, free: 95.85 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004773/6.794, allocations: 299.3 kB / 3.111 GB, free: 95.55 MB / 0.948 GB Notification: Performance of SimCode: time 1.964e-06/6.794, allocations: 3.938 kB / 3.111 GB, free: 95.55 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04081/6.835, allocations: 16.92 MB / 3.128 GB, free: 78.89 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002127/6.835, allocations: 272.8 kB / 3.128 GB, free: 78.52 MB / 0.948 GB Error: Error building simulator. Build log: clang -Os -fPIC -falign-functions -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.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: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 -falign-functions -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.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: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_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