Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearDataPositiveStart.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_usingTwoYearDataPositiveStart,fileNamePrefix="Buildings_7_0_0_Buildings_BoundaryConditions_WeatherData_Validation_ThreeYears_usingTwoYearDataPositiveStart",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.214/2.214, allocations: 248.5 MB / 261 MB, free: 6.031 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.001497/0.001497, allocations: 179 kB / 320.4 MB, free: 15.33 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.019/2.019, allocations: 205.2 MB / 0.571 GB, free: 11.82 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.001102/0.001102, allocations: 93.56 kB / 0.6754 GB, free: 0.9141 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.989e-05/3.994e-05, allocations: 0 / 0.7869 GB, free: 97.81 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2168/0.2169, allocations: 106.2 MB / 0.8907 GB, free: 7.473 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 7.262/7.479, allocations: 2.189 GB / 3.08 GB, free: 158.8 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003397/7.479, allocations: 81.7 kB / 3.08 GB, free: 158.8 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.1104/7.589, allocations: 27.58 MB / 3.107 GB, free: 135.6 MB / 0.8698 GB Notification: Performance of FrontEnd: time 2.525e-06/7.59, allocations: 0 / 3.107 GB, free: 135.6 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 8.563e-05/7.59, allocations: 23.94 kB / 3.107 GB, free: 135.6 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.00183/7.591, allocations: 0.9161 MB / 3.108 GB, free: 134.6 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.725e-05/7.592, allocations: 12.03 kB / 3.108 GB, free: 134.6 MB / 0.8698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001677/7.592, allocations: 102.9 kB / 3.108 GB, free: 134.6 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003851/7.592, allocations: 102.8 kB / 3.108 GB, free: 134.5 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001211/7.593, allocations: 0.5558 MB / 3.109 GB, free: 134 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.952e-05/7.593, allocations: 46.56 kB / 3.109 GB, free: 133.9 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001302/7.594, allocations: 61.69 kB / 3.109 GB, free: 133.9 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001458/7.595, allocations: 0.6805 MB / 3.11 GB, free: 133.4 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.699e-05/7.595, allocations: 0 / 3.11 GB, free: 133.4 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.591e-05/7.595, allocations: 29.56 kB / 3.11 GB, free: 133.3 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.758e-05/7.595, allocations: 16 kB / 3.11 GB, free: 133.3 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001782/7.597, allocations: 0.9032 MB / 3.11 GB, free: 132.6 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004269/7.601, allocations: 2.352 MB / 3.113 GB, free: 130.6 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00128/7.603, allocations: 0.5903 MB / 3.113 GB, free: 130.2 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004787/7.603, allocations: 216.7 kB / 3.114 GB, free: 130 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 9.2e-05/7.603, allocations: 24.55 kB / 3.114 GB, free: 130 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006997/7.604, allocations: 346.1 kB / 3.114 GB, free: 129.8 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=61): time 3.426e-06/7.604, allocations: 0 / 3.114 GB, free: 129.8 MB / 0.8698 GB Notification: Performance of matching and sorting (n=61): time 0.001356/7.605, allocations: 0.5305 MB / 3.114 GB, free: 129.3 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.789e-05/7.605, allocations: 299.3 kB / 3.115 GB, free: 128.9 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009939/7.606, allocations: 0.5737 MB / 3.115 GB, free: 128.4 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 7.365e-05/7.606, allocations: 37.7 kB / 3.115 GB, free: 128.3 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002991/7.607, allocations: 332.7 kB / 3.116 GB, free: 128 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001691/7.607, allocations: 205 kB / 3.116 GB, free: 127.8 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.219e-05/7.607, allocations: 8 kB / 3.116 GB, free: 127.8 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001253/7.607, allocations: 374.8 kB / 3.116 GB, free: 127.4 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004137/7.608, allocations: 161.1 kB / 3.116 GB, free: 127.2 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000539/7.608, allocations: 285.3 kB / 3.117 GB, free: 126.9 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005024/7.609, allocations: 211.1 kB / 3.117 GB, free: 126.7 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.867e-06/7.609, allocations: 0 / 3.117 GB, free: 126.7 MB / 0.8698 GB Notification: Performance of matching and sorting (n=67) (initialization): time 0.001266/7.61, allocations: 0.5373 MB / 3.117 GB, free: 126.2 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 2.388e-05/7.61, allocations: 4 kB / 3.117 GB, free: 126.2 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.197e-05/7.61, allocations: 4 kB / 3.117 GB, free: 126.2 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.582e-05/7.61, allocations: 4 kB / 3.117 GB, free: 126.2 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008775/7.611, allocations: 119.8 kB / 3.117 GB, free: 126 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.484e-05/7.611, allocations: 7.938 kB / 3.117 GB, free: 126 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007341/7.612, allocations: 79.47 kB / 3.118 GB, free: 126 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.625e-05/7.612, allocations: 23.98 kB / 3.118 GB, free: 125.9 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.0001937/7.612, allocations: 139.3 kB / 3.118 GB, free: 125.8 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001551/7.612, allocations: 71.16 kB / 3.118 GB, free: 125.7 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002108/7.614, allocations: 0.7609 MB / 3.119 GB, free: 125 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.809e-06/7.614, allocations: 4 kB / 3.119 GB, free: 124.9 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.446e-06/7.614, allocations: 11.95 kB / 3.119 GB, free: 124.9 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.133e-05/7.614, allocations: 3.984 kB / 3.119 GB, free: 124.9 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001395/7.616, allocations: 0.921 MB / 3.119 GB, free: 124 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.031e-06/7.616, allocations: 8.016 kB / 3.119 GB, free: 123.9 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008053/7.617, allocations: 115.8 kB / 3.12 GB, free: 123.8 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.154e-05/7.617, allocations: 4 kB / 3.12 GB, free: 123.8 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.48e-05/7.617, allocations: 23.94 kB / 3.12 GB, free: 123.8 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.262e-06/7.617, allocations: 4 kB / 3.12 GB, free: 123.8 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.793e-06/7.617, allocations: 0 / 3.12 GB, free: 123.8 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001309/7.618, allocations: 0.6469 MB / 3.12 GB, free: 123.1 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004275/7.618, allocations: 267.8 kB / 3.12 GB, free: 122.8 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001596/7.619, allocations: 15.95 kB / 3.12 GB, free: 122.8 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007533/7.619, allocations: 55.95 kB / 3.121 GB, free: 122.8 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001277/7.62, allocations: 48.72 kB / 3.121 GB, free: 122.7 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.483e-05/7.62, allocations: 27.92 kB / 3.121 GB, free: 122.7 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.0007439/7.62, allocations: 475.1 kB / 3.121 GB, free: 122.2 MB / 0.8698 GB Notification: Performance of sort global known variables: time 4.81e-07/7.62, allocations: 0 / 3.121 GB, free: 122.2 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0009294/7.621, allocations: 243.5 kB / 3.121 GB, free: 122 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.002855/7.624, allocations: 1.694 MB / 3.123 GB, free: 120.4 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.001104/7.625, allocations: 470.8 kB / 3.123 GB, free: 120 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 4.068e-06/7.625, allocations: 4 kB / 3.123 GB, free: 120 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0005587/7.626, allocations: 272.4 kB / 3.124 GB, free: 119.7 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001465/7.627, allocations: 217 kB / 3.124 GB, free: 119.5 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002893/7.63, allocations: 1.184 MB / 3.125 GB, free: 118.2 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004705/7.631, allocations: 0.9725 MB / 3.126 GB, free: 117.3 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.001071/7.632, allocations: 241.5 kB / 3.126 GB, free: 117 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005489/7.632, allocations: 295.3 kB / 3.126 GB, free: 116.7 MB / 0.8698 GB Notification: Performance of SimCode: time 1.183e-06/7.632, allocations: 0 / 3.126 GB, free: 116.7 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06132/7.694, allocations: 16.86 MB / 3.143 GB, free: 100.1 MB / 0.8698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002152/7.694, allocations: 237.4 kB / 3.143 GB, free: 99.8 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_usingTwoYearDataPositiveStart.o Buildings_7_0_0_Buildings_BoundaryConditions_WeatherData_Validation_ThreeYears_usingTwoYearDataPositiveStart.c In file included from Buildings_7_0_0_Buildings_BoundaryConditions_WeatherData_Validation_ThreeYears_usingTwoYearDataPositiveStart.c:7: In file included from ./Buildings_7_0_0_Buildings_BoundaryConditions_WeatherData_Validation_ThreeYears_usingTwoYearDataPositiveStart_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_usingTwoYearDataPositiveStart_functions.o Buildings_7_0_0_Buildings_BoundaryConditions_WeatherData_Validation_ThreeYears_usingTwoYearDataPositiveStart_functions.c In file included from Buildings_7_0_0_Buildings_BoundaryConditions_WeatherData_Validation_ThreeYears_usingTwoYearDataPositiveStart_functions.c:2: In file included from ./Buildings_7_0_0_Buildings_BoundaryConditions_WeatherData_Validation_ThreeYears_usingTwoYearDataPositiveStart_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_usingTwoYearDataPositiveStart_functions.c:7: In file included from ./Buildings_7_0_0_Buildings_BoundaryConditions_WeatherData_Validation_ThreeYears_usingTwoYearDataPositiveStart_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_usingTwoYearDataPositiveStart_functions.o' failed make: *** [Buildings_7_0_0_Buildings_BoundaryConditions_WeatherData_Validation_ThreeYears_usingTwoYearDataPositiveStart_functions.o] Error 1