Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor,fileNamePrefix="Buildings_8_Buildings_BoundaryConditions_WeatherData_Validation_ReaderTMY3HDirNor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor,fileNamePrefix="Buildings_8_Buildings_BoundaryConditions_WeatherData_Validation_ReaderTMY3HDirNor",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.877/1.877, allocations: 289.7 MB / 302.2 MB, free: 2.191 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.001217/0.001217, allocations: 178.8 kB / 371.6 MB, free: 3.348 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.766/1.766, allocations: 205.1 MB / 0.6309 GB, free: 11.75 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009776/0.0009778, allocations: 91.28 kB / 0.745 GB, free: 54.49 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 3.88e-05/3.883e-05, allocations: 0 / 0.8663 GB, free: 14.98 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3/0.3, allocations: 116.3 MB / 0.9799 GB, free: 10.52 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.775/7.075, allocations: 2.073 GB / 3.053 GB, free: 122.6 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003664/7.076, allocations: 88.11 kB / 3.053 GB, free: 122.6 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 0.1344/7.21, allocations: 58.32 MB / 3.11 GB, free: 71.89 MB / 0.948 GB Notification: Performance of FrontEnd: time 2.505e-06/7.21, allocations: 1.688 kB / 3.11 GB, free: 71.89 MB / 0.948 GB Notification: Performance of Transformations before backend: time 7.626e-05/7.21, allocations: 19.94 kB / 3.11 GB, free: 71.87 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: 174 * Number of variables: 174 Notification: Performance of Generate backend data structure: time 0.001938/7.212, allocations: 1.084 MB / 3.111 GB, free: 70.73 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 5.107e-05/7.212, allocations: 8.031 kB / 3.111 GB, free: 70.73 MB / 0.948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001233/7.213, allocations: 122.5 kB / 3.111 GB, free: 70.6 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001056/7.214, allocations: 206.6 kB / 3.111 GB, free: 70.39 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009143/7.215, allocations: 0.6035 MB / 3.112 GB, free: 69.75 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.412e-05/7.215, allocations: 54 kB / 3.112 GB, free: 69.7 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.909e-05/7.215, allocations: 67.98 kB / 3.112 GB, free: 69.63 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001139/7.216, allocations: 0.7788 MB / 3.113 GB, free: 68.81 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.734e-05/7.216, allocations: 0 / 3.113 GB, free: 68.81 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.765e-05/7.216, allocations: 28 kB / 3.113 GB, free: 68.78 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.539e-05/7.216, allocations: 19.95 kB / 3.113 GB, free: 68.76 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001239/7.217, allocations: 1.003 MB / 3.114 GB, free: 67.76 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003222/7.22, allocations: 2.365 MB / 3.116 GB, free: 65.32 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009376/7.221, allocations: 0.6977 MB / 3.117 GB, free: 64.62 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003675/7.222, allocations: 271.2 kB / 3.117 GB, free: 64.35 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 8.095e-05/7.222, allocations: 32.8 kB / 3.117 GB, free: 64.32 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005924/7.222, allocations: 437.3 kB / 3.117 GB, free: 63.88 MB / 0.948 GB Notification: Performance of pre-optimization done (n=73): time 2.054e-06/7.222, allocations: 0 / 3.117 GB, free: 63.88 MB / 0.948 GB Notification: Performance of matching and sorting (n=73): time 0.001525/7.224, allocations: 0.711 MB / 3.118 GB, free: 63.15 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.777e-05/7.224, allocations: 241 kB / 3.118 GB, free: 62.86 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000649/7.225, allocations: 0.5815 MB / 3.119 GB, free: 62.28 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 6.361e-05/7.225, allocations: 41.7 kB / 3.119 GB, free: 62.23 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001897/7.225, allocations: 348.5 kB / 3.119 GB, free: 61.89 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001487/7.225, allocations: 244.5 kB / 3.119 GB, free: 61.64 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.35e-05/7.225, allocations: 8 kB / 3.119 GB, free: 61.64 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.000108/7.225, allocations: 386.8 kB / 3.12 GB, free: 61.25 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003202/7.226, allocations: 209.5 kB / 3.12 GB, free: 61.04 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003838/7.226, allocations: 326 kB / 3.12 GB, free: 60.69 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003819/7.226, allocations: 266 kB / 3.121 GB, free: 60.43 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.725e-06/7.226, allocations: 0.9375 kB / 3.121 GB, free: 60.43 MB / 0.948 GB Notification: Performance of matching and sorting (n=78) (initialization): time 0.001463/7.228, allocations: 0.7148 MB / 3.121 GB, free: 59.71 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.849e-05/7.228, allocations: 4 kB / 3.121 GB, free: 59.7 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.653e-06/7.228, allocations: 4.078 kB / 3.121 GB, free: 59.7 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006024/7.229, allocations: 88.8 kB / 3.121 GB, free: 59.61 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006465/7.229, allocations: 155.8 kB / 3.122 GB, free: 59.46 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001744/7.231, allocations: 1.531 MB / 3.123 GB, free: 57.79 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006142/7.232, allocations: 91.39 kB / 3.123 GB, free: 57.7 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.808e-05/7.232, allocations: 35.97 kB / 3.123 GB, free: 57.66 MB / 0.948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition2,$whenCondition1,$PRE.weaDatInpCon.conTimMin.tNext,weaDatInpCon.conTimMin.tNext,$PRE.weaDatInpCon.conTim.tNext,weaDatInpCon.conTim.tNext) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (76): * Single equations (assignments): 75 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 2} Notification: Performance of prepare postOptimizeDAE: time 0.0001632/7.232, allocations: 142.5 kB / 3.123 GB, free: 57.52 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000105/7.232, allocations: 82.95 kB / 3.123 GB, free: 57.43 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002168/7.234, allocations: 1.046 MB / 3.124 GB, free: 56.38 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.683e-06/7.234, allocations: 8 kB / 3.124 GB, free: 56.37 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.245e-06/7.234, allocations: 3.094 kB / 3.124 GB, free: 56.37 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.074e-05/7.234, allocations: 3.984 kB / 3.124 GB, free: 56.36 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008165/7.235, allocations: 0.8737 MB / 3.125 GB, free: 55.44 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.206e-06/7.235, allocations: 0 / 3.125 GB, free: 55.44 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006042/7.236, allocations: 155.8 kB / 3.125 GB, free: 55.29 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005003/7.236, allocations: 84.77 kB / 3.125 GB, free: 55.2 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.83e-05/7.236, allocations: 27.98 kB / 3.125 GB, free: 55.18 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001457/7.238, allocations: 1.556 MB / 3.127 GB, free: 53.48 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/7.238, allocations: 4.031 kB / 3.127 GB, free: 53.47 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001445/7.239, allocations: 0.8284 MB / 3.128 GB, free: 52.62 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003627/7.24, allocations: 295.7 kB / 3.128 GB, free: 52.32 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001081/7.24, allocations: 19.95 kB / 3.128 GB, free: 52.3 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005656/7.24, allocations: 75.94 kB / 3.128 GB, free: 52.22 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001344/7.24, allocations: 56.69 kB / 3.128 GB, free: 52.17 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.762e-05/7.24, allocations: 39.97 kB / 3.128 GB, free: 52.13 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.0004962/7.241, allocations: 475.1 kB / 3.129 GB, free: 51.67 MB / 0.948 GB Notification: Performance of sort global known variables: time 1.5e-07/7.241, allocations: 0 / 3.129 GB, free: 51.67 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.001054/7.242, allocations: 339.3 kB / 3.129 GB, free: 51.34 MB / 0.948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition2,$whenCondition1,weaDatInpCon.conTimMin.tNext,weaDatInpCon.conTim.tNext) * Number of discrete states: 2 (weaDatInpCon.conTimMin.tNext,weaDatInpCon.conTim.tNext) * Top-level inputs: 0 Notification: Strong component statistics for simulation (87): * Single equations (assignments): 84 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.003581/7.246, allocations: 2.286 MB / 3.131 GB, free: 49.13 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.001225/7.247, allocations: 0.7138 MB / 3.132 GB, free: 48.4 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 3.096e-06/7.247, allocations: 0 / 3.132 GB, free: 48.4 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0006962/7.248, allocations: 490.8 kB / 3.132 GB, free: 47.91 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001067/7.249, allocations: 244.4 kB / 3.133 GB, free: 47.67 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00361/7.252, allocations: 1.536 MB / 3.134 GB, free: 46.09 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004404/7.253, allocations: 1.004 MB / 3.135 GB, free: 45.07 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.0008541/7.254, allocations: 270.1 kB / 3.135 GB, free: 44.8 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004673/7.254, allocations: 339.3 kB / 3.136 GB, free: 44.46 MB / 0.948 GB Notification: Performance of SimCode: time 1.032e-06/7.254, allocations: 0 / 3.136 GB, free: 44.46 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0525/7.307, allocations: 31.2 MB / 3.166 GB, free: 13.47 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001748/7.307, allocations: 233.2 kB / 3.166 GB, free: 13.16 MB / 0.948 GB 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/Buildings 8.1.4-maint.8.1.x/Resources/C-Sources" -c -o Buildings_8_Buildings_BoundaryConditions_WeatherData_Validation_ReaderTMY3HDirNor.o Buildings_8_Buildings_BoundaryConditions_WeatherData_Validation_ReaderTMY3HDirNor.c In file included from Buildings_8_Buildings_BoundaryConditions_WeatherData_Validation_ReaderTMY3HDirNor.c:7: In file included from ./Buildings_8_Buildings_BoundaryConditions_WeatherData_Validation_ReaderTMY3HDirNor_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/Buildings 8.1.4-maint.8.1.x/Resources/C-Sources" -c -o Buildings_8_Buildings_BoundaryConditions_WeatherData_Validation_ReaderTMY3HDirNor_functions.o Buildings_8_Buildings_BoundaryConditions_WeatherData_Validation_ReaderTMY3HDirNor_functions.c In file included from Buildings_8_Buildings_BoundaryConditions_WeatherData_Validation_ReaderTMY3HDirNor_functions.c:2: In file included from ./Buildings_8_Buildings_BoundaryConditions_WeatherData_Validation_ReaderTMY3HDirNor_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 Buildings_8_Buildings_BoundaryConditions_WeatherData_Validation_ReaderTMY3HDirNor_functions.c:7: In file included from ./Buildings_8_Buildings_BoundaryConditions_WeatherData_Validation_ReaderTMY3HDirNor_includes.h:4: /home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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_8_Buildings_BoundaryConditions_WeatherData_Validation_ReaderTMY3HDirNor_functions.o] Error 1