Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3_NonzeroStart.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_NonzeroStart,fileNamePrefix="IBPSA_latest_IBPSA_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3_NonzeroStart",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3_NonzeroStart,fileNamePrefix="IBPSA_latest_IBPSA_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3_NonzeroStart",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.0008784/0.0008784, allocations: 181.7 kB / 15.76 MB, free: 6.363 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.4473/0.4473, allocations: 91.97 MB / 108.5 MB, free: 13.08 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.21/1.21, allocations: 223.1 MB / 354.3 MB, free: 10.44 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008168/0.0008167, allocations: 95.2 kB / 427.4 MB, free: 2.168 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003051/0.0003051, allocations: 8 kB / 0.4983 GB, free: 41.97 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1193/0.1196, allocations: 72.31 MB / 0.5689 GB, free: 1.598 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3598/0.4795, allocations: 101.8 MB / 0.6683 GB, free: 2.566 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002274/0.4797, allocations: 79.95 kB / 0.6684 GB, free: 2.488 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.005827/0.4856, allocations: 2.511 MB / 0.6709 GB, free: 15.99 MB / 474.7 MB Notification: Performance of FrontEnd: time 2.224e-06/0.4856, allocations: 4 kB / 0.6709 GB, free: 15.99 MB / 474.7 MB Notification: Performance of Transformations before backend: time 5.29e-06/0.4856, allocations: 0 / 0.6709 GB, free: 15.99 MB / 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.0002443/0.4859, allocations: 335.8 kB / 0.6712 GB, free: 15.61 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.486e-05/0.4859, allocations: 8.031 kB / 0.6712 GB, free: 15.61 MB / 474.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.518e-05/0.486, allocations: 109.8 kB / 0.6713 GB, free: 15.49 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.569e-05/0.486, allocations: 79.23 kB / 0.6714 GB, free: 15.41 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001133/0.4861, allocations: 238.4 kB / 0.6716 GB, free: 15.14 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.981e-05/0.4862, allocations: 158.5 kB / 0.6718 GB, free: 14.98 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.764e-05/0.4862, allocations: 154.5 kB / 0.6719 GB, free: 14.83 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 5.201e-05/0.4863, allocations: 101 kB / 0.672 GB, free: 14.72 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.01e-05/0.4863, allocations: 79.28 kB / 0.6721 GB, free: 14.64 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.169e-05/0.4864, allocations: 150.6 kB / 0.6722 GB, free: 14.5 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.791e-05/0.4864, allocations: 150.6 kB / 0.6724 GB, free: 14.35 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.366e-05/0.4865, allocations: 158.5 kB / 0.6725 GB, free: 14.19 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002367/0.4867, allocations: 454.8 kB / 0.673 GB, free: 13.7 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.581e-05/0.4868, allocations: 169.1 kB / 0.6731 GB, free: 13.52 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.179e-05/0.4868, allocations: 75.28 kB / 0.6732 GB, free: 13.45 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.893e-05/0.4869, allocations: 109.8 kB / 0.6733 GB, free: 13.33 MB / 474.7 MB Notification: Performance of pre-optimization done (n=0): time 9.21e-07/0.4869, allocations: 0 / 0.6733 GB, free: 13.33 MB / 474.7 MB Notification: Performance of matching and sorting (n=0): time 6.044e-05/0.4869, allocations: 37.55 kB / 0.6733 GB, free: 13.29 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.374e-05/0.487, allocations: 126.7 kB / 0.6734 GB, free: 13.15 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.72e-05/0.4871, allocations: 101.2 kB / 0.6735 GB, free: 13.05 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 1.537e-05/0.4871, allocations: 29.69 kB / 0.6736 GB, free: 13.01 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.271e-05/0.4871, allocations: 80.14 kB / 0.6737 GB, free: 12.93 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.603e-06/0.4872, allocations: 4 kB / 0.6737 GB, free: 12.93 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.813e-06/0.4872, allocations: 0 / 0.6737 GB, free: 12.93 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 9.186e-05/0.4873, allocations: 323.5 kB / 0.674 GB, free: 12.6 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.478e-05/0.4873, allocations: 3.984 kB / 0.674 GB, free: 12.6 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.334e-05/0.4873, allocations: 8 kB / 0.674 GB, free: 12.59 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.94e-05/0.4873, allocations: 4 kB / 0.674 GB, free: 12.59 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.4873, allocations: 0 / 0.674 GB, free: 12.59 MB / 474.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 8.935e-05/0.4874, allocations: 45.62 kB / 0.674 GB, free: 12.54 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.455e-05/0.4875, allocations: 8.125 kB / 0.674 GB, free: 12.53 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.566e-06/0.4875, allocations: 7.984 kB / 0.674 GB, free: 12.52 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.147e-05/0.4875, allocations: 7.938 kB / 0.674 GB, free: 12.51 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.72e-07/0.4875, allocations: 0 / 0.674 GB, free: 12.51 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.208e-06/0.4875, allocations: 0 / 0.674 GB, free: 12.51 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.347e-05/0.4876, allocations: 8 kB / 0.6741 GB, free: 12.5 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.029e-05/0.4876, allocations: 3.984 kB / 0.6741 GB, free: 12.5 MB / 474.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 () * Number of clocked 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 8.756e-05/0.4877, allocations: 189.1 kB / 0.6742 GB, free: 12.3 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.139e-05/0.4877, allocations: 105 kB / 0.6743 GB, free: 12.2 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.309e-05/0.4878, allocations: 108.5 kB / 0.6744 GB, free: 12.08 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.129e-05/0.4878, allocations: 191.3 kB / 0.6746 GB, free: 11.89 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.789e-05/0.4879, allocations: 180.3 kB / 0.6748 GB, free: 11.71 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.87e-05/0.488, allocations: 180.2 kB / 0.675 GB, free: 11.52 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001801/0.4881, allocations: 405.2 kB / 0.6754 GB, free: 11.07 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.803e-05/0.4882, allocations: 112.9 kB / 0.6755 GB, free: 10.95 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.076e-05/0.4882, allocations: 101 kB / 0.6756 GB, free: 10.85 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.943e-05/0.4883, allocations: 180.3 kB / 0.6757 GB, free: 10.66 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.777e-05/0.4883, allocations: 180.2 kB / 0.6759 GB, free: 10.48 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.839e-05/0.4884, allocations: 180.2 kB / 0.6761 GB, free: 10.3 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.036e-05/0.4884, allocations: 184.2 kB / 0.6762 GB, free: 10.11 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000103/0.4885, allocations: 307.7 kB / 0.6765 GB, free: 9.785 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.983e-05/0.4886, allocations: 190 kB / 0.6767 GB, free: 9.574 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.445e-05/0.4887, allocations: 176.3 kB / 0.6769 GB, free: 9.395 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.255e-05/0.4887, allocations: 104.9 kB / 0.677 GB, free: 9.285 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.129e-05/0.4888, allocations: 184.3 kB / 0.6772 GB, free: 9.098 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.902e-05/0.4888, allocations: 109 kB / 0.6773 GB, free: 8.984 MB / 474.7 MB Notification: Performance of sorting global known variables: time 3.701e-05/0.4889, allocations: 83.27 kB / 0.6773 GB, free: 8.902 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.533e-06/0.4889, allocations: 0 / 0.6773 GB, free: 8.902 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.0001965/0.4891, allocations: 11.94 kB / 0.6774 GB, free: 8.891 MB / 474.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 () * Number of clocked 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.0003839/0.4895, allocations: 0.8126 MB / 0.6782 GB, free: 8.051 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 5.554e-05/0.4895, allocations: 4 kB / 0.6782 GB, free: 8.047 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.4895, allocations: 0 / 0.6782 GB, free: 8.047 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 6.442e-06/0.4896, allocations: 11.94 kB / 0.6782 GB, free: 8.035 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000251/0.4898, allocations: 0.5248 MB / 0.6787 GB, free: 7.508 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003898/0.4902, allocations: 370.3 kB / 0.679 GB, free: 7.094 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001917/0.4904, allocations: 0.677 MB / 0.6797 GB, free: 6.391 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 1.464e-05/0.4904, allocations: 4 kB / 0.6797 GB, free: 6.387 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.891e-05/0.4905, allocations: 15.42 kB / 0.6797 GB, free: 6.371 MB / 474.7 MB Notification: Performance of SimCode: time 2.01e-07/0.4905, allocations: 0 / 0.6797 GB, free: 6.371 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3645/0.855, allocations: 1.077 MB / 0.6808 GB, free: 5.508 MB / 474.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.00023/0.8553, allocations: 215.9 kB / 0.681 GB, free: 5.273 MB / 474.7 MB Error: Error building simulator. Build log: clang -Os -fPIC -falign-functions -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/IBPSA 4.0.0-master/Resources/C-Sources" -c -o IBPSA_latest_IBPSA_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3_NonzeroStart.o IBPSA_latest_IBPSA_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3_NonzeroStart.c In file included from IBPSA_latest_IBPSA_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3_NonzeroStart.c:7: In file included from ./IBPSA_latest_IBPSA_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3_NonzeroStart_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 -falign-functions -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/IBPSA 4.0.0-master/Resources/C-Sources" -c -o IBPSA_latest_IBPSA_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3_NonzeroStart_functions.o IBPSA_latest_IBPSA_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3_NonzeroStart_functions.c In file included from IBPSA_latest_IBPSA_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3_NonzeroStart_functions.c:2: In file included from ./IBPSA_latest_IBPSA_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3_NonzeroStart_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 IBPSA_latest_IBPSA_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3_NonzeroStart_functions.c:7: In file included from ./IBPSA_latest_IBPSA_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3_NonzeroStart_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_NonzeroStart_functions.o] Error 1