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.403/2.403, allocations: 251 MB / 265.9 MB, free: 11.69 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.001564/0.001564, allocations: 175.1 kB / 325.5 MB, free: 2.906 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.413/2.413, allocations: 205.4 MB / 0.5764 GB, free: 20.84 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.001176/0.001175, allocations: 96.36 kB / 0.6809 GB, free: 13.66 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0005134/0.0005134, allocations: 16.47 kB / 0.795 GB, free: 135.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2227/0.2232, allocations: 106.3 MB / 0.8988 GB, free: 65.45 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 7.363/7.587, allocations: 2.189 GB / 3.088 GB, free: 247.9 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003379/7.587, allocations: 91.88 kB / 3.088 GB, free: 247.9 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 0.1225/7.71, allocations: 27.84 MB / 3.116 GB, free: 246.1 MB / 0.8855 GB Notification: Performance of FrontEnd: time 2.805e-06/7.71, allocations: 0 / 3.116 GB, free: 246.1 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 0.0001446/7.71, allocations: 19.62 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.003686/7.713, allocations: 1.027 MB / 3.117 GB, free: 245.5 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 5.784e-05/7.714, allocations: 15.41 kB / 3.117 GB, free: 245.5 MB / 0.8855 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005064/7.714, allocations: 103.9 kB / 3.117 GB, free: 245.4 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005581/7.715, allocations: 101.7 kB / 3.117 GB, free: 245.4 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00175/7.716, allocations: 0.5586 MB / 3.117 GB, free: 245.1 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001024/7.717, allocations: 53.28 kB / 3.117 GB, free: 245.1 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000236/7.717, allocations: 56.78 kB / 3.117 GB, free: 245.1 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004125/7.721, allocations: 0.6916 MB / 3.118 GB, free: 244.9 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.969e-05/7.721, allocations: 4 kB / 3.118 GB, free: 244.9 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001762/7.721, allocations: 25.28 kB / 3.118 GB, free: 244.9 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.581e-05/7.721, allocations: 15.62 kB / 3.118 GB, free: 244.9 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003487/7.725, allocations: 0.9174 MB / 3.119 GB, free: 244.9 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008567/7.733, allocations: 2.355 MB / 3.121 GB, free: 243.8 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001475/7.735, allocations: 0.6004 MB / 3.122 GB, free: 243.7 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001122/7.735, allocations: 22.42 kB / 3.122 GB, free: 243.7 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007608/7.736, allocations: 352.9 kB / 3.122 GB, free: 243.6 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=61): time 3.106e-06/7.736, allocations: 0 / 3.122 GB, free: 243.6 MB / 0.8855 GB Notification: Performance of matching and sorting (n=61): time 0.001891/7.738, allocations: 0.715 MB / 3.123 GB, free: 243.6 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.949e-05/7.738, allocations: 294.9 kB / 3.123 GB, free: 243.2 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001183/7.739, allocations: 0.5673 MB / 3.124 GB, free: 243.1 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 0.0001453/7.739, allocations: 40.17 kB / 3.124 GB, free: 243.1 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002986/7.74, allocations: 325.9 kB / 3.124 GB, free: 242.9 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002271/7.74, allocations: 202 kB / 3.124 GB, free: 242.8 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.15e-05/7.74, allocations: 7.25 kB / 3.124 GB, free: 242.8 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001309/7.74, allocations: 381.6 kB / 3.125 GB, free: 242.5 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004407/7.74, allocations: 171.5 kB / 3.125 GB, free: 242.5 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000545/7.741, allocations: 287 kB / 3.125 GB, free: 242.3 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005125/7.742, allocations: 218.4 kB / 3.125 GB, free: 242.3 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.579e-06/7.742, allocations: 0 / 3.125 GB, free: 242.3 MB / 0.8855 GB Notification: Performance of matching and sorting (n=67) (initialization): time 0.001434/7.743, allocations: 0.5505 MB / 3.126 GB, free: 242.2 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 2.234e-05/7.743, allocations: 3.906 kB / 3.126 GB, free: 242.2 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.024e-05/7.743, allocations: 3.938 kB / 3.126 GB, free: 242.2 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.617e-05/7.743, allocations: 8 kB / 3.126 GB, free: 242.2 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008448/7.744, allocations: 114.2 kB / 3.126 GB, free: 242.2 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.368e-05/7.744, allocations: 7.859 kB / 3.126 GB, free: 242.2 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008017/7.745, allocations: 72.7 kB / 3.126 GB, free: 242.2 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.43e-05/7.745, allocations: 22.55 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.0005712/7.746, allocations: 235.4 kB / 3.126 GB, free: 242.1 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001981/7.746, allocations: 74.3 kB / 3.126 GB, free: 242.1 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002159/7.748, allocations: 0.7668 MB / 3.127 GB, free: 241.9 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.036e-05/7.748, allocations: 11.88 kB / 3.127 GB, free: 241.9 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.205e-06/7.748, allocations: 0 / 3.127 GB, free: 241.9 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.359e-05/7.748, allocations: 7.188 kB / 3.127 GB, free: 241.9 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001625/7.75, allocations: 0.9336 MB / 3.128 GB, free: 241.6 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.473e-06/7.75, allocations: 7.844 kB / 3.128 GB, free: 241.6 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008563/7.751, allocations: 109 kB / 3.128 GB, free: 241.6 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.111e-05/7.751, allocations: 2.656 kB / 3.128 GB, free: 241.6 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.373e-05/7.751, allocations: 22.34 kB / 3.128 GB, free: 241.6 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.829e-06/7.751, allocations: 10.03 kB / 3.128 GB, free: 241.6 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.286e-06/7.751, allocations: 4.031 kB / 3.128 GB, free: 241.6 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001534/7.752, allocations: 0.6456 MB / 3.129 GB, free: 241.4 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005038/7.753, allocations: 258.3 kB / 3.129 GB, free: 241.3 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001721/7.753, allocations: 23.73 kB / 3.129 GB, free: 241.3 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000771/7.754, allocations: 60.08 kB / 3.129 GB, free: 241.3 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001397/7.754, allocations: 44.95 kB / 3.129 GB, free: 241.3 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.407e-05/7.754, allocations: 24.16 kB / 3.129 GB, free: 241.3 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.000914/7.755, allocations: 479.2 kB / 3.13 GB, free: 241.2 MB / 0.8855 GB Notification: Performance of sort global known variables: time 5.11e-07/7.755, allocations: 0 / 3.13 GB, free: 241.2 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.001111/7.756, allocations: 252.5 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.003227/7.759, allocations: 1.742 MB / 3.132 GB, free: 240.2 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.001284/7.761, allocations: 470 kB / 3.132 GB, free: 240.2 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 6.773e-06/7.761, allocations: 1.5 kB / 3.132 GB, free: 240.2 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0006019/7.761, allocations: 278.5 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.001708/7.763, allocations: 220.4 kB / 3.133 GB, free: 240.2 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009089/7.772, allocations: 4.529 MB / 3.137 GB, free: 238.2 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006088/7.773, allocations: 0.9661 MB / 3.138 GB, free: 237.5 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.001383/7.774, allocations: 242.3 kB / 3.138 GB, free: 237.5 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006372/7.775, allocations: 301 kB / 3.139 GB, free: 237.5 MB / 0.8855 GB Notification: Performance of SimCode: time 1.263e-06/7.775, allocations: 0 / 3.139 GB, free: 237.5 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07527/7.85, allocations: 16.92 MB / 3.155 GB, free: 236.1 MB / 0.8855 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002434/7.85, allocations: 275.9 kB / 3.155 GB, free: 235.8 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_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: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_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: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_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