Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.BoundaryConditions.WeatherData.Validation.DecemberToJanuary.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.Validation.DecemberToJanuary,fileNamePrefix="Buildings_8_0_0_Buildings_BoundaryConditions_WeatherData_Validation_DecemberToJanuary",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.Validation.DecemberToJanuary,fileNamePrefix="Buildings_8_0_0_Buildings_BoundaryConditions_WeatherData_Validation_DecemberToJanuary",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.533/2.533, allocations: 287.3 MB / 302.3 MB, free: 8.289 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.001699/0.001698, allocations: 179.5 kB / 370.8 MB, free: 10.82 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.141/2.141, allocations: 205.4 MB / 0.6295 GB, free: 10.55 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001171/0.001171, allocations: 95.97 kB / 0.7428 GB, free: 6.562 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004761/0.0004761, allocations: 10.97 kB / 0.8657 GB, free: 141 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2224/0.2229, allocations: 115.3 MB / 0.9783 GB, free: 28.27 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.705/6.928, allocations: 2.071 GB / 3.05 GB, free: 202.9 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003698/6.929, allocations: 89.64 kB / 3.05 GB, free: 202.9 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 0.112/7.041, allocations: 27.8 MB / 3.077 GB, free: 179.4 MB / 0.948 GB Notification: Performance of FrontEnd: time 2.745e-06/7.041, allocations: 0 / 3.077 GB, free: 179.4 MB / 0.948 GB Notification: Performance of Transformations before backend: time 7.931e-05/7.041, allocations: 16 kB / 3.077 GB, free: 179.4 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.002409/7.043, allocations: 1.034 MB / 3.078 GB, free: 178.4 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 5.176e-05/7.043, allocations: 12.03 kB / 3.078 GB, free: 178.4 MB / 0.948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003109/7.044, allocations: 107.3 kB / 3.078 GB, free: 178.3 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004173/7.044, allocations: 94.88 kB / 3.078 GB, free: 178.2 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001389/7.046, allocations: 0.5759 MB / 3.079 GB, free: 177.7 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.505e-05/7.046, allocations: 43.44 kB / 3.079 GB, free: 177.7 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001205/7.046, allocations: 62.12 kB / 3.079 GB, free: 177.6 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001597/7.047, allocations: 0.6858 MB / 3.079 GB, free: 177.1 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.009e-05/7.047, allocations: 0 / 3.079 GB, free: 177.1 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001347/7.048, allocations: 32.92 kB / 3.08 GB, free: 177.1 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.913e-05/7.048, allocations: 19.94 kB / 3.08 GB, free: 177.1 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001918/7.05, allocations: 0.9133 MB / 3.08 GB, free: 176.3 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004968/7.055, allocations: 2.345 MB / 3.083 GB, free: 174.3 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001486/7.056, allocations: 0.5969 MB / 3.083 GB, free: 173.9 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001106/7.056, allocations: 32.2 kB / 3.083 GB, free: 173.9 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008051/7.057, allocations: 351.2 kB / 3.084 GB, free: 173.6 MB / 0.948 GB Notification: Performance of pre-optimization done (n=61): time 3.837e-06/7.057, allocations: 0 / 3.084 GB, free: 173.6 MB / 0.948 GB Notification: Performance of matching and sorting (n=61): time 0.002061/7.059, allocations: 0.7061 MB / 3.084 GB, free: 173.1 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001061/7.059, allocations: 299 kB / 3.085 GB, free: 172.8 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001162/7.061, allocations: 0.5754 MB / 3.085 GB, free: 172.3 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0001408/7.061, allocations: 37.14 kB / 3.085 GB, free: 172.3 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002968/7.061, allocations: 333.1 kB / 3.086 GB, free: 172.1 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002076/7.061, allocations: 198.9 kB / 3.086 GB, free: 171.9 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.086e-05/7.061, allocations: 15.19 kB / 3.086 GB, free: 171.9 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0001232/7.061, allocations: 372.4 kB / 3.086 GB, free: 171.5 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004523/7.062, allocations: 171.4 kB / 3.086 GB, free: 171.4 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000562/7.062, allocations: 293.6 kB / 3.087 GB, free: 171.2 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005385/7.063, allocations: 206.1 kB / 3.087 GB, free: 171.1 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.79e-06/7.063, allocations: 4 kB / 3.087 GB, free: 171 MB / 0.948 GB Notification: Performance of matching and sorting (n=67) (initialization): time 0.001517/7.065, allocations: 0.5487 MB / 3.087 GB, free: 170.6 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 2.533e-05/7.065, allocations: 8 kB / 3.087 GB, free: 170.6 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.1e-05/7.065, allocations: 112 / 3.087 GB, free: 170.6 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.772e-05/7.065, allocations: 7.938 kB / 3.087 GB, free: 170.6 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008654/7.066, allocations: 115.8 kB / 3.087 GB, free: 170.5 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.313e-05/7.066, allocations: 4 kB / 3.087 GB, free: 170.5 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008163/7.066, allocations: 82.42 kB / 3.087 GB, free: 170.4 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.875e-05/7.066, allocations: 23.23 kB / 3.088 GB, free: 170.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 () * 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.0005364/7.067, allocations: 232.3 kB / 3.088 GB, free: 170.2 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001776/7.067, allocations: 75.14 kB / 3.088 GB, free: 170.2 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002253/7.069, allocations: 0.7574 MB / 3.089 GB, free: 169.6 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.125e-05/7.07, allocations: 8 kB / 3.089 GB, free: 169.6 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.123e-06/7.07, allocations: 0 / 3.089 GB, free: 169.6 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.192e-05/7.07, allocations: 3.984 kB / 3.089 GB, free: 169.6 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001551/7.071, allocations: 0.9387 MB / 3.089 GB, free: 168.8 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.35e-06/7.071, allocations: 4.031 kB / 3.089 GB, free: 168.8 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008305/7.072, allocations: 119.2 kB / 3.09 GB, free: 168.7 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.09e-05/7.072, allocations: 4 kB / 3.09 GB, free: 168.7 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.47e-05/7.072, allocations: 19.36 kB / 3.09 GB, free: 168.7 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.893e-06/7.072, allocations: 4 kB / 3.09 GB, free: 168.7 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.218e-06/7.072, allocations: 7.891 kB / 3.09 GB, free: 168.7 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001469/7.074, allocations: 0.6493 MB / 3.09 GB, free: 168.2 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004501/7.074, allocations: 267.1 kB / 3.091 GB, free: 168 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001577/7.074, allocations: 11.69 kB / 3.091 GB, free: 168 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000749/7.075, allocations: 58.91 kB / 3.091 GB, free: 167.9 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001388/7.075, allocations: 48.41 kB / 3.091 GB, free: 167.9 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.551e-05/7.075, allocations: 30.97 kB / 3.091 GB, free: 167.8 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.0008126/7.076, allocations: 475.5 kB / 3.091 GB, free: 167.5 MB / 0.948 GB Notification: Performance of sort global known variables: time 4.61e-07/7.076, allocations: 0 / 3.091 GB, free: 167.5 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0009758/7.077, allocations: 248.8 kB / 3.091 GB, free: 167.3 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.003222/7.08, allocations: 1.74 MB / 3.093 GB, free: 165.9 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.001205/7.082, allocations: 477.8 kB / 3.094 GB, free: 165.5 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 5.621e-06/7.082, allocations: 4 kB / 3.094 GB, free: 165.5 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0005751/7.082, allocations: 276 kB / 3.094 GB, free: 165.3 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00166/7.084, allocations: 215.6 kB / 3.094 GB, free: 165.2 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008802/7.093, allocations: 4.523 MB / 3.098 GB, free: 161.3 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004911/7.093, allocations: 0.9711 MB / 3.099 GB, free: 160.3 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.001277/7.094, allocations: 241.4 kB / 3.1 GB, free: 160 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000629/7.095, allocations: 296.4 kB / 3.1 GB, free: 159.9 MB / 0.948 GB Notification: Performance of SimCode: time 1.273e-06/7.095, allocations: 0 / 3.1 GB, free: 159.9 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05556/7.151, allocations: 16.9 MB / 3.116 GB, free: 143.3 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002528/7.151, allocations: 241.4 kB / 3.117 GB, free: 143 MB / 0.948 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 8.0.0/Resources/C-Sources" -c -o Buildings_8_0_0_Buildings_BoundaryConditions_WeatherData_Validation_DecemberToJanuary.o Buildings_8_0_0_Buildings_BoundaryConditions_WeatherData_Validation_DecemberToJanuary.c In file included from Buildings_8_0_0_Buildings_BoundaryConditions_WeatherData_Validation_DecemberToJanuary.c:7: In file included from ./Buildings_8_0_0_Buildings_BoundaryConditions_WeatherData_Validation_DecemberToJanuary_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 8.0.0/Resources/C-Sources" -c -o Buildings_8_0_0_Buildings_BoundaryConditions_WeatherData_Validation_DecemberToJanuary_functions.o Buildings_8_0_0_Buildings_BoundaryConditions_WeatherData_Validation_DecemberToJanuary_functions.c In file included from Buildings_8_0_0_Buildings_BoundaryConditions_WeatherData_Validation_DecemberToJanuary_functions.c:2: In file included from ./Buildings_8_0_0_Buildings_BoundaryConditions_WeatherData_Validation_DecemberToJanuary_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_0_0_Buildings_BoundaryConditions_WeatherData_Validation_DecemberToJanuary_functions.c:7: In file included from ./Buildings_8_0_0_Buildings_BoundaryConditions_WeatherData_Validation_DecemberToJanuary_includes.h:4: /home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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_8_0_0_Buildings_BoundaryConditions_WeatherData_Validation_DecemberToJanuary_functions.o' failed make: *** [Buildings_8_0_0_Buildings_BoundaryConditions_WeatherData_Validation_DecemberToJanuary_functions.o] Error 1