Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3_NonzeroStart.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_NonzeroStart,fileNamePrefix="Buildings_latest_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3_NonzeroStart",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3_NonzeroStart,fileNamePrefix="Buildings_latest_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3_NonzeroStart",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.001788/0.001789, allocations: 99.62 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.001816/0.001817, allocations: 177.3 kB / 15.95 MB, free: 216 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.617/2.617, allocations: 223.2 MB / 239.9 MB, free: 5.457 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 3.463/3.463, allocations: 409.2 MB / 0.6838 GB, free: 1.023 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0006857/0.0006859, allocations: 8 kB / 0.8375 GB, free: 6.535 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.403/1.403, allocations: 146.8 MB / 0.9809 GB, free: 6.293 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3_NonzeroStart): time 0.002156/1.406, allocations: 0.984 MB / 0.9818 GB, free: 5.301 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.001858/1.407, allocations: 0.6861 MB / 0.9825 GB, free: 4.609 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.86e-05/1.407, allocations: 0 / 0.9825 GB, free: 4.609 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 5.17e-05/1.408, allocations: 3.938 kB / 0.9825 GB, free: 4.605 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0001902/1.408, allocations: 8 kB / 0.9825 GB, free: 4.598 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003041/1.408, allocations: 46.62 kB / 0.9826 GB, free: 4.555 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 7.463e-05/1.408, allocations: 19.97 kB / 0.9826 GB, free: 4.535 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 7.35e-05/1.408, allocations: 0 / 0.9826 GB, free: 4.535 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 7.352e-05/1.408, allocations: 11.92 kB / 0.9826 GB, free: 4.523 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001938/1.409, allocations: 4 kB / 0.9826 GB, free: 4.52 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 2.223e-05/1.409, allocations: 4 kB / 0.9826 GB, free: 4.516 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 5.675e-05/1.409, allocations: 7.984 kB / 0.9826 GB, free: 4.508 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 4.692e-05/1.409, allocations: 4 kB / 0.9826 GB, free: 4.504 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 3.754e-05/1.409, allocations: 25.7 kB / 0.9826 GB, free: 4.473 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 9.509e-05/1.409, allocations: 15.97 kB / 0.9826 GB, free: 4.457 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 7.795e-06/1.409, allocations: 0 / 0.9826 GB, free: 4.457 MB / 0.7325 GB Notification: Performance of FrontEnd: time 3.176e-06/1.409, allocations: 7.875 kB / 0.9827 GB, free: 4.449 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 6.131e-06/1.409, allocations: 4 kB / 0.9827 GB, free: 4.445 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.000539/1.409, allocations: 317.6 kB / 0.983 GB, free: 4.09 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 7.259e-05/1.41, allocations: 12.03 kB / 0.983 GB, free: 4.078 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001024/1.41, allocations: 113.8 kB / 0.9831 GB, free: 3.957 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001041/1.41, allocations: 75.28 kB / 0.9832 GB, free: 3.883 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002486/1.41, allocations: 246.3 kB / 0.9834 GB, free: 3.602 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001112/1.41, allocations: 150.6 kB / 0.9835 GB, free: 3.453 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001041/1.41, allocations: 154.6 kB / 0.9837 GB, free: 3.301 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001072/1.41, allocations: 108.9 kB / 0.9838 GB, free: 3.188 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.44e-05/1.41, allocations: 79.27 kB / 0.9839 GB, free: 3.109 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.269e-05/1.411, allocations: 150.6 kB / 0.984 GB, free: 2.961 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.075e-05/1.411, allocations: 158.5 kB / 0.9842 GB, free: 2.805 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.819e-05/1.411, allocations: 158.6 kB / 0.9843 GB, free: 2.648 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004794/1.411, allocations: 449.9 kB / 0.9847 GB, free: 2.16 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001677/1.411, allocations: 165.1 kB / 0.9849 GB, free: 1.988 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 5.028e-05/1.411, allocations: 75.28 kB / 0.985 GB, free: 1.914 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.704e-05/1.412, allocations: 121.7 kB / 0.9851 GB, free: 1.785 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=0): time 1.363e-06/1.412, allocations: 0 / 0.9851 GB, free: 1.785 MB / 0.7325 GB Notification: Performance of matching and sorting (n=0): time 0.0001198/1.412, allocations: 37.56 kB / 0.9851 GB, free: 1.742 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001262/1.412, allocations: 126.7 kB / 0.9852 GB, free: 1.605 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002067/1.412, allocations: 105.8 kB / 0.9853 GB, free: 1.492 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 2.602e-05/1.412, allocations: 25.7 kB / 0.9854 GB, free: 1.461 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 8.597e-05/1.412, allocations: 84.14 kB / 0.9854 GB, free: 1.375 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 4.198e-06/1.412, allocations: 0 / 0.9854 GB, free: 1.375 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.855e-06/1.412, allocations: 4 kB / 0.9854 GB, free: 1.371 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0002966/1.412, allocations: 314.8 kB / 0.9857 GB, free: 1.055 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.058e-05/1.413, allocations: 0 / 0.9857 GB, free: 1.055 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.593e-05/1.413, allocations: 11.98 kB / 0.9858 GB, free: 1.043 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.24e-05/1.413, allocations: 4 kB / 0.9858 GB, free: 1.039 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.006e-06/1.413, allocations: 3.938 kB / 0.9858 GB, free: 1.035 MB / 0.7325 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001643/1.413, allocations: 45.69 kB / 0.9858 GB, free: 0.9844 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.483e-05/1.413, allocations: 4 kB / 0.9858 GB, free: 0.9805 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.869e-06/1.413, allocations: 4.125 kB / 0.9858 GB, free: 0.9766 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.367e-05/1.413, allocations: 0 / 0.9858 GB, free: 0.9766 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.362e-06/1.413, allocations: 3.953 kB / 0.9858 GB, free: 0.9727 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.696e-06/1.413, allocations: 0 / 0.9858 GB, free: 0.9727 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002167/1.413, allocations: 4 kB / 0.9858 GB, free: 0.9688 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.208e-05/1.413, allocations: 0 / 0.9858 GB, free: 0.9688 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.0002005/1.413, allocations: 189.1 kB / 0.986 GB, free: 0.7734 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001023/1.413, allocations: 104.9 kB / 0.9861 GB, free: 0.6641 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.622e-05/1.414, allocations: 108.5 kB / 0.9862 GB, free: 0.5508 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0002306/1.414, allocations: 188.2 kB / 0.9864 GB, free: 368 kB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001197/1.414, allocations: 184.2 kB / 0.9866 GB, free: 176 kB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001362/1.414, allocations: 180.2 kB / 0.9867 GB, free: 15.99 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005234/1.415, allocations: 405.2 kB / 0.9871 GB, free: 15.54 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0002037/1.415, allocations: 109 kB / 0.9872 GB, free: 15.42 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.748e-05/1.415, allocations: 101 kB / 0.9873 GB, free: 15.32 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001294/1.415, allocations: 184.2 kB / 0.9875 GB, free: 15.13 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001314/1.415, allocations: 176.3 kB / 0.9877 GB, free: 14.95 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001645/1.415, allocations: 184.2 kB / 0.9878 GB, free: 14.76 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0001845/1.416, allocations: 184.2 kB / 0.988 GB, free: 14.57 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004827/1.416, allocations: 312.1 kB / 0.9883 GB, free: 14.25 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002364/1.416, allocations: 190 kB / 0.9885 GB, free: 14.04 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002377/1.417, allocations: 192.2 kB / 0.9887 GB, free: 13.84 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000199/1.417, allocations: 101 kB / 0.9888 GB, free: 13.73 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002302/1.417, allocations: 184.3 kB / 0.989 GB, free: 13.55 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001396/1.417, allocations: 104.9 kB / 0.9891 GB, free: 13.44 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0001054/1.417, allocations: 87.27 kB / 0.9891 GB, free: 13.35 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.7e-07/1.417, allocations: 0 / 0.9891 GB, free: 13.35 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0003833/1.418, allocations: 11.94 kB / 0.9891 GB, free: 13.34 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.00106/1.419, allocations: 0.8088 MB / 0.9899 GB, free: 12.5 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0001139/1.419, allocations: 11.94 kB / 0.9899 GB, free: 12.49 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/1.419, allocations: 0 / 0.9899 GB, free: 12.49 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 1.914e-06/1.419, allocations: 0 / 0.9899 GB, free: 12.49 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004906/1.419, allocations: 0.5186 MB / 0.9905 GB, free: 11.96 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007887/1.42, allocations: 367 kB / 0.9908 GB, free: 11.56 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004896/1.421, allocations: 0.677 MB / 0.9915 GB, free: 10.86 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 2.845e-05/1.421, allocations: 0 / 0.9915 GB, free: 10.86 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.149e-05/1.421, allocations: 19.38 kB / 0.9915 GB, free: 10.84 MB / 0.7481 GB Notification: Performance of SimCode: time 2.61e-07/1.421, allocations: 0 / 0.9915 GB, free: 10.84 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02077/1.442, allocations: 1.071 MB / 0.9925 GB, free: 9.984 MB / 0.7481 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004855/1.442, allocations: 233.5 kB / 0.9928 GB, free: 9.746 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_NonzeroStart.o Buildings_latest_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3_NonzeroStart.c In file included from Buildings_latest_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3_NonzeroStart.c:7: In file included from ./Buildings_latest_Buildings_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: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_NonzeroStart_functions.o Buildings_latest_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3_NonzeroStart_functions.c In file included from Buildings_latest_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3_NonzeroStart_functions.c:2: In file included from ./Buildings_latest_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3_NonzeroStart_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_NonzeroStart_functions.c:7: In file included from ./Buildings_latest_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3_NonzeroStart_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_NonzeroStart_functions.o] Error 1