Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo", uses=false) Using package Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3,fileNamePrefix="Buildings_latest_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3,fileNamePrefix="Buildings_latest_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.002124/0.002124, allocations: 98.92 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.003534/0.003534, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.416/2.416, allocations: 223.2 MB / 239.9 MB, free: 5.43 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 4.547/4.547, allocations: 409.2 MB / 0.6838 GB, free: 0.9883 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0006162/0.0006162, allocations: 11.98 kB / 0.8375 GB, free: 6.547 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.155/1.156, allocations: 146.8 MB / 0.9809 GB, free: 6.273 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3): time 0.001913/1.158, allocations: 0.984 MB / 0.9818 GB, free: 5.281 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.001367/1.159, allocations: 0.6861 MB / 0.9825 GB, free: 4.594 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.999e-05/1.159, allocations: 0 / 0.9825 GB, free: 4.594 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 4.556e-05/1.159, allocations: 0 / 0.9825 GB, free: 4.594 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0002006/1.159, allocations: 15.97 kB / 0.9825 GB, free: 4.578 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002286/1.16, allocations: 39.88 kB / 0.9825 GB, free: 4.539 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 6.614e-05/1.16, allocations: 15.98 kB / 0.9826 GB, free: 4.523 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 4.957e-05/1.16, allocations: 0 / 0.9826 GB, free: 4.523 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 6.723e-05/1.16, allocations: 15.92 kB / 0.9826 GB, free: 4.508 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000144/1.16, allocations: 5.547 kB / 0.9826 GB, free: 4.504 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 2.016e-05/1.16, allocations: 4 kB / 0.9826 GB, free: 4.5 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 3.839e-05/1.16, allocations: 0 / 0.9826 GB, free: 4.5 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 3.881e-05/1.16, allocations: 7.984 kB / 0.9826 GB, free: 4.492 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 8.078e-05/1.16, allocations: 33.64 kB / 0.9826 GB, free: 4.453 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 8.37e-05/1.16, allocations: 11.98 kB / 0.9826 GB, free: 4.438 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 3.447e-06/1.16, allocations: 3.938 kB / 0.9826 GB, free: 4.434 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.715e-06/1.16, allocations: 0 / 0.9826 GB, free: 4.434 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 5.06e-06/1.16, allocations: 0 / 0.9826 GB, free: 4.434 MB / 0.7325 GB 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.0003848/1.161, allocations: 325.6 kB / 0.983 GB, free: 4.07 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.903e-05/1.161, allocations: 12.03 kB / 0.983 GB, free: 4.059 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.593e-05/1.161, allocations: 105.8 kB / 0.9831 GB, free: 3.945 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.212e-05/1.161, allocations: 75.28 kB / 0.9831 GB, free: 3.871 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001955/1.161, allocations: 246.3 kB / 0.9834 GB, free: 3.59 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.448e-05/1.161, allocations: 150.6 kB / 0.9835 GB, free: 3.441 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.976e-05/1.161, allocations: 154.6 kB / 0.9837 GB, free: 3.289 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.524e-05/1.161, allocations: 116.9 kB / 0.9838 GB, free: 3.168 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.364e-05/1.161, allocations: 75.28 kB / 0.9838 GB, free: 3.094 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.206e-05/1.162, allocations: 150.6 kB / 0.984 GB, free: 2.945 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.838e-05/1.162, allocations: 154.6 kB / 0.9841 GB, free: 2.793 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.279e-05/1.162, allocations: 150.6 kB / 0.9843 GB, free: 2.645 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003695/1.162, allocations: 453.9 kB / 0.9847 GB, free: 2.152 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001007/1.162, allocations: 177 kB / 0.9849 GB, free: 1.969 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 3.186e-05/1.162, allocations: 75.28 kB / 0.985 GB, free: 1.895 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.718e-05/1.162, allocations: 105.8 kB / 0.9851 GB, free: 1.781 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=0): time 1.152e-06/1.162, allocations: 4 kB / 0.9851 GB, free: 1.777 MB / 0.7325 GB Notification: Performance of matching and sorting (n=0): time 9.838e-05/1.162, allocations: 37.56 kB / 0.9851 GB, free: 1.734 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.06e-05/1.162, allocations: 126.7 kB / 0.9852 GB, free: 1.598 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001394/1.163, allocations: 105.8 kB / 0.9853 GB, free: 1.484 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 2.246e-05/1.163, allocations: 29.69 kB / 0.9853 GB, free: 1.449 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 6.602e-05/1.163, allocations: 80.14 kB / 0.9854 GB, free: 1.367 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 3.106e-06/1.163, allocations: 0 / 0.9854 GB, free: 1.367 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.836e-06/1.163, allocations: 0 / 0.9854 GB, free: 1.367 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001424/1.163, allocations: 322.8 kB / 0.9857 GB, free: 1.043 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.43e-05/1.163, allocations: 7.922 kB / 0.9857 GB, free: 1.035 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.743e-05/1.163, allocations: 8 kB / 0.9857 GB, free: 1.027 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.444e-05/1.163, allocations: 4 kB / 0.9857 GB, free: 1.023 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.334e-06/1.163, allocations: 0 / 0.9857 GB, free: 1.023 MB / 0.7325 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001547/1.163, allocations: 41.69 kB / 0.9858 GB, free: 0.9766 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.051e-05/1.163, allocations: 4 kB / 0.9858 GB, free: 0.9727 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.827e-06/1.163, allocations: 256 / 0.9858 GB, free: 0.9727 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.678e-05/1.163, allocations: 0 / 0.9858 GB, free: 0.9727 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.841e-06/1.163, allocations: 12.08 kB / 0.9858 GB, free: 0.9609 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.061e-06/1.163, allocations: 0 / 0.9858 GB, free: 0.9609 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001205/1.163, allocations: 4 kB / 0.9858 GB, free: 0.957 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.867e-05/1.163, allocations: 7.984 kB / 0.9858 GB, free: 0.9492 MB / 0.7325 GB 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 0.0001481/1.164, allocations: 185.1 kB / 0.986 GB, free: 0.7578 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.526e-05/1.164, allocations: 104.9 kB / 0.9861 GB, free: 0.6484 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.652e-05/1.164, allocations: 108.5 kB / 0.9862 GB, free: 0.5352 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.042e-05/1.164, allocations: 192.2 kB / 0.9864 GB, free: 348 kB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.87e-05/1.164, allocations: 184.2 kB / 0.9866 GB, free: 156 kB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.784e-05/1.164, allocations: 176.3 kB / 0.9867 GB, free: 15.97 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003165/1.164, allocations: 405.2 kB / 0.9871 GB, free: 15.52 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.396e-05/1.164, allocations: 105 kB / 0.9872 GB, free: 15.41 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.696e-05/1.165, allocations: 108.9 kB / 0.9873 GB, free: 15.3 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.302e-05/1.165, allocations: 180.3 kB / 0.9875 GB, free: 15.11 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.717e-05/1.165, allocations: 180.2 kB / 0.9877 GB, free: 14.93 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.243e-05/1.165, allocations: 184.2 kB / 0.9878 GB, free: 14.74 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.641e-05/1.165, allocations: 184.2 kB / 0.988 GB, free: 14.55 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000171/1.165, allocations: 315.8 kB / 0.9883 GB, free: 14.22 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000112/1.165, allocations: 190.1 kB / 0.9885 GB, free: 14.01 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.925e-05/1.165, allocations: 180.2 kB / 0.9887 GB, free: 13.83 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001174/1.165, allocations: 101 kB / 0.9888 GB, free: 13.72 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.56e-05/1.166, allocations: 188.2 kB / 0.9889 GB, free: 13.53 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.671e-05/1.166, allocations: 105 kB / 0.989 GB, free: 13.42 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 6.726e-05/1.166, allocations: 83.27 kB / 0.9891 GB, free: 13.34 MB / 0.7481 GB Notification: Performance of sort global known variables: time 2.11e-07/1.166, allocations: 0 / 0.9891 GB, free: 13.34 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0004412/1.166, allocations: 7.953 kB / 0.9891 GB, free: 13.33 MB / 0.7481 GB 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.0007072/1.167, allocations: 0.8153 MB / 0.9899 GB, free: 12.49 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 9.623e-05/1.167, allocations: 4 kB / 0.9899 GB, free: 12.48 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 2.404e-06/1.167, allocations: 0 / 0.9899 GB, free: 12.48 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 2.344e-06/1.167, allocations: 0 / 0.9899 GB, free: 12.48 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004228/1.167, allocations: 0.5224 MB / 0.9904 GB, free: 11.96 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007078/1.168, allocations: 371 kB / 0.9908 GB, free: 11.55 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003286/1.168, allocations: 0.6809 MB / 0.9915 GB, free: 10.84 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 2.522e-05/1.169, allocations: 0 / 0.9915 GB, free: 10.84 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.231e-05/1.169, allocations: 11.42 kB / 0.9915 GB, free: 10.83 MB / 0.7481 GB Notification: Performance of SimCode: time 5.71e-07/1.169, allocations: 0 / 0.9915 GB, free: 10.83 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1176/1.286, allocations: 1.047 MB / 0.9925 GB, free: 9.965 MB / 0.7481 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002907/1.287, allocations: 214.6 kB / 0.9927 GB, free: 9.73 MB / 0.7481 GB 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/Buildings 10.0.0-master/Resources/C-Sources" -c -o Buildings_latest_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3.o Buildings_latest_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3.c In file included from Buildings_latest_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3.c:7: In file included from ./Buildings_latest_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3_model.h:5: In file included from ./openmodelica.h:71: In file included from ./gc/../openmodelica_types.h:149: ./gc/omc_gc.h:218:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:222: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/Buildings 10.0.0-master/Resources/C-Sources" -c -o Buildings_latest_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3_functions.o Buildings_latest_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3_functions.c In file included from Buildings_latest_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3_functions.c:2: In file included from ./Buildings_latest_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3_functions.h:3: In file included from ./meta/meta_modelica.h:49: ./gc/omc_gc.h:218:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:222:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ In file included from Buildings_latest_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3_functions.c:7: In file included from ./Buildings_latest_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3_includes.h:4: /home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.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: *** [: Buildings_latest_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3_functions.o] Error 1