Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3,fileNamePrefix="IBPSA_latest_IBPSA_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3,fileNamePrefix="IBPSA_latest_IBPSA_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001272/0.001272, allocations: 178.8 kB / 13.19 MB, free: 2.133 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.473/0.473, allocations: 90.81 MB / 104.5 MB, free: 9.801 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.306/1.306, allocations: 221.3 MB / 348.3 MB, free: 476 kB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008392/0.0008391, allocations: 97.25 kB / 421.2 MB, free: 5.477 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 3.739e-05/3.756e-05, allocations: 4 kB / 0.4897 GB, free: 5.25 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3777/0.3777, allocations: 72.3 MB / 0.5603 GB, free: 40.32 MB / 410.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1313/0.5091, allocations: 101.6 MB / 0.6595 GB, free: 2.629 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002715/0.5094, allocations: 87.02 kB / 0.6596 GB, free: 2.547 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.005235/0.5146, allocations: 2.126 MB / 0.6617 GB, free: 440 kB / 474.7 MB Notification: Performance of FrontEnd: time 3.056e-06/0.5146, allocations: 0 / 0.6617 GB, free: 440 kB / 474.7 MB Notification: Performance of Transformations before backend: time 5.81e-06/0.5147, allocations: 3.938 kB / 0.6617 GB, free: 436 kB / 474.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 0 * Number of variables: 0 Notification: Performance of Generate backend data structure: time 0.0002717/0.5149, allocations: 320.4 kB / 0.662 GB, free: 72 kB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.826e-05/0.515, allocations: 19.97 kB / 0.662 GB, free: 52 kB / 474.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.717e-05/0.5151, allocations: 109.8 kB / 0.6621 GB, free: 15.93 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.166e-05/0.5151, allocations: 83.14 kB / 0.6622 GB, free: 15.85 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001543/0.5153, allocations: 238.4 kB / 0.6624 GB, free: 15.58 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.863e-05/0.5154, allocations: 150.6 kB / 0.6626 GB, free: 15.43 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.303e-05/0.5154, allocations: 150.6 kB / 0.6627 GB, free: 15.28 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.57e-05/0.5155, allocations: 101 kB / 0.6628 GB, free: 15.18 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.701e-05/0.5155, allocations: 83.22 kB / 0.6629 GB, free: 15.09 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.663e-05/0.5156, allocations: 154.6 kB / 0.663 GB, free: 14.94 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.58e-05/0.5157, allocations: 154.6 kB / 0.6632 GB, free: 14.79 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.215e-05/0.5157, allocations: 155.5 kB / 0.6633 GB, free: 14.64 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002687/0.516, allocations: 449.9 kB / 0.6637 GB, free: 14.15 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.911e-05/0.5161, allocations: 169.1 kB / 0.6639 GB, free: 13.97 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.234e-05/0.5161, allocations: 84.08 kB / 0.664 GB, free: 13.89 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.874e-05/0.5162, allocations: 75.28 kB / 0.6641 GB, free: 13.81 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.28e-05/0.5162, allocations: 110.5 kB / 0.6642 GB, free: 13.7 MB / 490.7 MB Notification: Performance of pre-optimization done (n=0): time 1.402e-06/0.5163, allocations: 0 / 0.6642 GB, free: 13.7 MB / 490.7 MB Notification: Performance of matching and sorting (n=0): time 7.486e-05/0.5163, allocations: 33.7 kB / 0.6642 GB, free: 13.66 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.543e-05/0.5164, allocations: 130.7 kB / 0.6643 GB, free: 13.52 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001069/0.5165, allocations: 93 kB / 0.6644 GB, free: 13.42 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 1.612e-05/0.5165, allocations: 28.23 kB / 0.6644 GB, free: 13.39 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.732e-05/0.5166, allocations: 88.12 kB / 0.6645 GB, free: 13.3 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.003e-06/0.5166, allocations: 0 / 0.6645 GB, free: 13.3 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.918e-06/0.5166, allocations: 3.984 kB / 0.6645 GB, free: 13.29 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001035/0.5167, allocations: 318.8 kB / 0.6648 GB, free: 12.97 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.688e-05/0.5168, allocations: 7.938 kB / 0.6648 GB, free: 12.96 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.492e-05/0.5168, allocations: 8 kB / 0.6648 GB, free: 12.96 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.198e-05/0.5168, allocations: 7.984 kB / 0.6649 GB, free: 12.95 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/0.5168, allocations: 3.938 kB / 0.6649 GB, free: 12.95 MB / 490.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001046/0.5169, allocations: 45.61 kB / 0.6649 GB, free: 12.89 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.521e-05/0.517, allocations: 4 kB / 0.6649 GB, free: 12.89 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.082e-06/0.517, allocations: 0 / 0.6649 GB, free: 12.89 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.153e-05/0.517, allocations: 0 / 0.6649 GB, free: 12.89 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.02e-07/0.517, allocations: 0 / 0.6649 GB, free: 12.89 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.861e-06/0.517, allocations: 4.125 kB / 0.6649 GB, free: 12.89 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.789e-05/0.5171, allocations: 7.984 kB / 0.6649 GB, free: 12.88 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.044e-05/0.5171, allocations: 1.875 kB / 0.6649 GB, free: 12.88 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 0 * Array equations: 1 * 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.0001006/0.5172, allocations: 184.2 kB / 0.6651 GB, free: 12.69 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.574e-05/0.5173, allocations: 108.9 kB / 0.6652 GB, free: 12.58 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.514e-05/0.5173, allocations: 112.6 kB / 0.6653 GB, free: 12.46 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.425e-05/0.5174, allocations: 192.2 kB / 0.6655 GB, free: 12.27 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.671e-05/0.5175, allocations: 176.3 kB / 0.6657 GB, free: 12.09 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.889e-05/0.5175, allocations: 176.3 kB / 0.6658 GB, free: 11.91 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002294/0.5178, allocations: 413.1 kB / 0.6662 GB, free: 11.45 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.203e-05/0.5178, allocations: 101 kB / 0.6663 GB, free: 11.34 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.423e-05/0.5179, allocations: 104.9 kB / 0.6664 GB, free: 11.23 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.477e-05/0.5179, allocations: 184.3 kB / 0.6666 GB, free: 11.04 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.432e-05/0.518, allocations: 181.3 kB / 0.6668 GB, free: 10.86 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.664e-05/0.5181, allocations: 180.2 kB / 0.6669 GB, free: 10.68 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.856e-05/0.5181, allocations: 176.3 kB / 0.6671 GB, free: 10.5 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001373/0.5183, allocations: 311.7 kB / 0.6674 GB, free: 10.17 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.461e-05/0.5184, allocations: 186.1 kB / 0.6676 GB, free: 9.961 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.603e-05/0.5185, allocations: 180.5 kB / 0.6677 GB, free: 9.777 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.049e-05/0.5186, allocations: 105 kB / 0.6678 GB, free: 9.668 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.077e-05/0.5186, allocations: 193.1 kB / 0.668 GB, free: 9.473 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.744e-05/0.5187, allocations: 101 kB / 0.6681 GB, free: 9.367 MB / 490.7 MB Notification: Performance of sorting global known variables: time 4.19e-05/0.5187, allocations: 87.27 kB / 0.6682 GB, free: 9.281 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.5187, allocations: 0 / 0.6682 GB, free: 9.281 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0002058/0.5189, allocations: 12.56 kB / 0.6682 GB, free: 9.27 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (0): * Single equations (assignments): 0 * 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 Backend phase and start with SimCode phase: time 0.0005212/0.5195, allocations: 0.8188 MB / 0.669 GB, free: 8.422 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 7.087e-05/0.5195, allocations: 8 kB / 0.669 GB, free: 8.414 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.5196, allocations: 0 / 0.669 GB, free: 8.414 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 4.799e-06/0.5196, allocations: 4 kB / 0.669 GB, free: 8.41 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002767/0.5198, allocations: 0.5172 MB / 0.6695 GB, free: 7.891 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003337/0.5202, allocations: 173.9 kB / 0.6697 GB, free: 7.684 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002895/0.5205, allocations: 0.677 MB / 0.6704 GB, free: 6.98 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 1.932e-05/0.5205, allocations: 4 kB / 0.6704 GB, free: 6.977 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.587e-05/0.5205, allocations: 11.42 kB / 0.6704 GB, free: 6.965 MB / 490.7 MB Notification: Performance of SimCode: time 2.71e-07/0.5206, allocations: 0 / 0.6704 GB, free: 6.965 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01433/0.5349, allocations: 1.046 MB / 0.6714 GB, free: 6.113 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001836/0.5351, allocations: 179.4 kB / 0.6716 GB, free: 5.891 MB / 490.7 MB Error: Error building simulator. Build log: clang -Os -fPIC -falign-functions -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/IBPSA 4.0.0-master/Resources/C-Sources" -c -o IBPSA_latest_IBPSA_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3.o IBPSA_latest_IBPSA_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3.c In file included from IBPSA_latest_IBPSA_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3.c:7: In file included from ./IBPSA_latest_IBPSA_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3_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 -falign-functions -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/IBPSA 4.0.0-master/Resources/C-Sources" -c -o IBPSA_latest_IBPSA_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3_functions.o IBPSA_latest_IBPSA_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3_functions.c In file included from IBPSA_latest_IBPSA_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3_functions.c:2: In file included from ./IBPSA_latest_IBPSA_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3_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 IBPSA_latest_IBPSA_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3_functions.c:7: In file included from ./IBPSA_latest_IBPSA_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3_includes.h:4: /home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/Resources/C-Sources/getTimeSpan.c:9:10: fatal error: 'ModelicaUtilities.h' file not found #include "ModelicaUtilities.h" ^~~~~~~~~~~~~~~~~~~~~ 2 warnings and 1 error generated. make: *** [: IBPSA_latest_IBPSA_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3_functions.o] Error 1