Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearDataNegativeStart.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_usingTwoYearDataNegativeStart,fileNamePrefix="Buildings_7_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 7.0.1/package.mo): time 2.309/2.309, allocations: 248.5 MB / 261 MB, free: 5.965 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001427/0.001426, allocations: 187.3 kB / 320.4 MB, free: 15.32 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.02/2.02, allocations: 205.2 MB / 0.571 GB, free: 11.81 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.001093/0.001092, allocations: 97.92 kB / 0.6754 GB, free: 0.8984 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 4.358e-05/4.379e-05, allocations: 7.984 kB / 0.7869 GB, free: 97.81 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2194/0.2195, allocations: 106.2 MB / 0.8907 GB, free: 7.469 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 7.426/7.646, allocations: 2.189 GB / 3.08 GB, free: 144.2 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000311/7.646, allocations: 86.95 kB / 3.08 GB, free: 144.1 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.11/7.756, allocations: 27.58 MB / 3.107 GB, free: 120.9 MB / 0.8698 GB Notification: Performance of FrontEnd: time 2.214e-06/7.756, allocations: 0 / 3.107 GB, free: 120.9 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 8.608e-05/7.756, allocations: 20 kB / 3.107 GB, free: 120.9 MB / 0.8698 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.001891/7.758, allocations: 0.9128 MB / 3.108 GB, free: 120 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 5.3e-05/7.758, allocations: 12.03 kB / 3.108 GB, free: 120 MB / 0.8698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002021/7.758, allocations: 109.8 kB / 3.108 GB, free: 119.9 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004468/7.759, allocations: 98.83 kB / 3.108 GB, free: 119.8 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00135/7.76, allocations: 0.5608 MB / 3.109 GB, free: 119.3 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.253e-05/7.76, allocations: 47.25 kB / 3.109 GB, free: 119.3 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001143/7.76, allocations: 58.25 kB / 3.109 GB, free: 119.2 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001524/7.762, allocations: 0.6825 MB / 3.11 GB, free: 118.7 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.598e-05/7.762, allocations: 0 / 3.11 GB, free: 118.7 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001014/7.762, allocations: 30 kB / 3.11 GB, free: 118.7 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.733e-05/7.762, allocations: 20 kB / 3.11 GB, free: 118.7 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001974/7.764, allocations: 0.9054 MB / 3.11 GB, free: 117.9 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004732/7.769, allocations: 2.342 MB / 3.113 GB, free: 115.5 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001336/7.77, allocations: 0.5933 MB / 3.113 GB, free: 114.9 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004649/7.771, allocations: 223.3 kB / 3.114 GB, free: 114.7 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000111/7.771, allocations: 28.59 kB / 3.114 GB, free: 114.6 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007199/7.772, allocations: 335.3 kB / 3.114 GB, free: 114.3 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=61): time 3.626e-06/7.772, allocations: 0 / 3.114 GB, free: 114.3 MB / 0.8698 GB Notification: Performance of matching and sorting (n=61): time 0.001459/7.773, allocations: 0.541 MB / 3.114 GB, free: 113.7 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001004/7.773, allocations: 291.4 kB / 3.115 GB, free: 113.4 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001071/7.774, allocations: 0.5737 MB / 3.115 GB, free: 112.8 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 0.0001089/7.774, allocations: 37.7 kB / 3.115 GB, free: 112.8 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002858/7.775, allocations: 320.7 kB / 3.116 GB, free: 112.4 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.000217/7.775, allocations: 205 kB / 3.116 GB, free: 112.2 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.231e-05/7.775, allocations: 8 kB / 3.116 GB, free: 112.2 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001225/7.775, allocations: 374.8 kB / 3.116 GB, free: 111.9 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004272/7.776, allocations: 165.1 kB / 3.116 GB, free: 111.7 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005356/7.776, allocations: 289.2 kB / 3.117 GB, free: 111.4 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005026/7.777, allocations: 207.2 kB / 3.117 GB, free: 111.2 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.859e-06/7.777, allocations: 0 / 3.117 GB, free: 111.2 MB / 0.8698 GB Notification: Performance of matching and sorting (n=67) (initialization): time 0.001356/7.778, allocations: 0.5372 MB / 3.117 GB, free: 110.6 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 2.47e-05/7.778, allocations: 6.344 kB / 3.117 GB, free: 110.6 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.015e-05/7.778, allocations: 4.125 kB / 3.117 GB, free: 110.6 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.636e-05/7.778, allocations: 8 kB / 3.117 GB, free: 110.6 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009022/7.779, allocations: 119.8 kB / 3.117 GB, free: 110.5 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.608e-05/7.779, allocations: 7.984 kB / 3.117 GB, free: 110.5 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008334/7.78, allocations: 75.34 kB / 3.118 GB, free: 110.4 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.228e-05/7.78, allocations: 20 kB / 3.118 GB, free: 110.4 MB / 0.8698 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.0002129/7.78, allocations: 148.8 kB / 3.118 GB, free: 110.2 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000177/7.78, allocations: 71.16 kB / 3.118 GB, free: 110.2 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002177/7.783, allocations: 0.7571 MB / 3.119 GB, free: 109.4 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.002e-05/7.783, allocations: 4 kB / 3.119 GB, free: 109.4 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.838e-06/7.783, allocations: 11.89 kB / 3.119 GB, free: 109.4 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.043e-05/7.783, allocations: 0 / 3.119 GB, free: 109.4 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00167/7.784, allocations: 0.9326 MB / 3.119 GB, free: 108.4 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.821e-06/7.784, allocations: 0 / 3.119 GB, free: 108.4 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008608/7.785, allocations: 119.8 kB / 3.12 GB, free: 108.3 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.408e-05/7.785, allocations: 4 kB / 3.12 GB, free: 108.3 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.193e-05/7.785, allocations: 19.94 kB / 3.12 GB, free: 108.3 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.775e-06/7.785, allocations: 8.031 kB / 3.12 GB, free: 108.3 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.575e-06/7.785, allocations: 0 / 3.12 GB, free: 108.3 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001484/7.787, allocations: 0.6469 MB / 3.12 GB, free: 107.6 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005225/7.787, allocations: 267.8 kB / 3.12 GB, free: 107.3 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001602/7.788, allocations: 15.95 kB / 3.12 GB, free: 107.3 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007821/7.788, allocations: 59.95 kB / 3.121 GB, free: 107.2 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001435/7.789, allocations: 48.72 kB / 3.121 GB, free: 107.2 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.896e-05/7.789, allocations: 27.92 kB / 3.121 GB, free: 107.1 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.0008269/7.79, allocations: 475.1 kB / 3.121 GB, free: 106.7 MB / 0.8698 GB Notification: Performance of sort global known variables: time 5.41e-07/7.79, allocations: 0 / 3.121 GB, free: 106.7 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.001028/7.791, allocations: 243.5 kB / 3.121 GB, free: 106.4 MB / 0.8698 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.003041/7.794, allocations: 1.694 MB / 3.123 GB, free: 104.9 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.001292/7.795, allocations: 462.9 kB / 3.123 GB, free: 104.4 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 5.45e-06/7.795, allocations: 4 kB / 3.123 GB, free: 104.4 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0005921/7.796, allocations: 276.4 kB / 3.124 GB, free: 104.1 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001688/7.797, allocations: 212.8 kB / 3.124 GB, free: 103.9 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003309/7.801, allocations: 1.188 MB / 3.125 GB, free: 102.7 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004738/7.801, allocations: 0.9725 MB / 3.126 GB, free: 101.7 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.001137/7.802, allocations: 241.5 kB / 3.126 GB, free: 101.5 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005959/7.803, allocations: 295.3 kB / 3.126 GB, free: 101.2 MB / 0.8698 GB Notification: Performance of SimCode: time 1.252e-06/7.803, allocations: 0 / 3.126 GB, free: 101.2 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0617/7.865, allocations: 16.86 MB / 3.143 GB, free: 84.57 MB / 0.8698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000291/7.865, allocations: 238.1 kB / 3.143 GB, free: 84.25 MB / 0.8698 GB Error: Error building simulator. Build log: clang -Os -fPIC -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 7.0.1/Resources/C-Sources" -c -o Buildings_7_0_0_Buildings_BoundaryConditions_WeatherData_Validation_ThreeYears_usingTwoYearDataNegativeStart.o Buildings_7_0_0_Buildings_BoundaryConditions_WeatherData_Validation_ThreeYears_usingTwoYearDataNegativeStart.c In file included from Buildings_7_0_0_Buildings_BoundaryConditions_WeatherData_Validation_ThreeYears_usingTwoYearDataNegativeStart.c:7: In file included from ./Buildings_7_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: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 -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 7.0.1/Resources/C-Sources" -c -o Buildings_7_0_0_Buildings_BoundaryConditions_WeatherData_Validation_ThreeYears_usingTwoYearDataNegativeStart_functions.o Buildings_7_0_0_Buildings_BoundaryConditions_WeatherData_Validation_ThreeYears_usingTwoYearDataNegativeStart_functions.c In file included from Buildings_7_0_0_Buildings_BoundaryConditions_WeatherData_Validation_ThreeYears_usingTwoYearDataNegativeStart_functions.c:2: In file included from ./Buildings_7_0_0_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_7_0_0_Buildings_BoundaryConditions_WeatherData_Validation_ThreeYears_usingTwoYearDataNegativeStart_functions.c:7: In file included from ./Buildings_7_0_0_Buildings_BoundaryConditions_WeatherData_Validation_ThreeYears_usingTwoYearDataNegativeStart_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_usingTwoYearDataNegativeStart_functions.o' failed make: *** [Buildings_7_0_0_Buildings_BoundaryConditions_WeatherData_Validation_ThreeYears_usingTwoYearDataNegativeStart_functions.o] Error 1