Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.BoundaryConditions.WeatherData.Examples.ReaderTMY3.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.Examples.ReaderTMY3,fileNamePrefix="Buildings_8_Buildings_BoundaryConditions_WeatherData_Examples_ReaderTMY3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.Examples.ReaderTMY3,fileNamePrefix="Buildings_8_Buildings_BoundaryConditions_WeatherData_Examples_ReaderTMY3",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.773/1.773, allocations: 289.7 MB / 302.3 MB, free: 2.18 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.00114/0.001141, allocations: 181.6 kB / 371.6 MB, free: 3.418 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.808/1.808, allocations: 205.1 MB / 0.6309 GB, free: 11.79 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.000869/0.000869, allocations: 92.52 kB / 0.745 GB, free: 54.61 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 4.226e-05/4.23e-05, allocations: 4 kB / 0.8663 GB, free: 15.02 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3013/0.3013, allocations: 116.3 MB / 0.9799 GB, free: 10.56 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.803/7.104, allocations: 2.073 GB / 3.052 GB, free: 169.1 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002233/7.104, allocations: 84.78 kB / 3.052 GB, free: 169 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 0.1974/7.302, allocations: 90.64 MB / 3.141 GB, free: 78 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.483e-06/7.302, allocations: 0 / 3.141 GB, free: 78 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0001028/7.302, allocations: 43.94 kB / 3.141 GB, free: 77.95 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: 335 * Number of variables: 335 Notification: Performance of Generate backend data structure: time 0.002433/7.304, allocations: 1.629 MB / 3.143 GB, free: 76.27 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.603e-05/7.304, allocations: 8.031 kB / 3.143 GB, free: 76.26 MB / 0.948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001929/7.305, allocations: 194.4 kB / 3.143 GB, free: 76.06 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001655/7.306, allocations: 381.3 kB / 3.143 GB, free: 75.69 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001372/7.308, allocations: 1.012 MB / 3.144 GB, free: 74.62 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.252e-05/7.308, allocations: 98.64 kB / 3.144 GB, free: 74.52 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001402/7.308, allocations: 128 kB / 3.144 GB, free: 74.4 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001918/7.31, allocations: 1.441 MB / 3.146 GB, free: 72.87 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.435e-05/7.31, allocations: 3.938 kB / 3.146 GB, free: 72.86 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001157/7.31, allocations: 56 kB / 3.146 GB, free: 72.81 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.038e-05/7.31, allocations: 35.95 kB / 3.146 GB, free: 72.77 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002204/7.312, allocations: 1.942 MB / 3.148 GB, free: 70.83 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00537/7.318, allocations: 4.464 MB / 3.152 GB, free: 66.28 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001709/7.319, allocations: 1.348 MB / 3.153 GB, free: 64.91 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005885/7.32, allocations: 0.4932 MB / 3.154 GB, free: 64.41 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001102/7.32, allocations: 65.17 kB / 3.154 GB, free: 64.35 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009728/7.321, allocations: 0.75 MB / 3.155 GB, free: 63.57 MB / 0.948 GB Notification: Performance of pre-optimization done (n=136): time 2.816e-06/7.321, allocations: 0 / 3.155 GB, free: 63.57 MB / 0.948 GB Notification: Performance of matching and sorting (n=136): time 0.002687/7.324, allocations: 1.307 MB / 3.156 GB, free: 62.25 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001169/7.324, allocations: 473.9 kB / 3.156 GB, free: 61.69 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00119/7.325, allocations: 1.031 MB / 3.157 GB, free: 60.64 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 9.162e-05/7.325, allocations: 53.7 kB / 3.158 GB, free: 60.59 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003548/7.326, allocations: 0.603 MB / 3.158 GB, free: 59.98 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002496/7.326, allocations: 445.4 kB / 3.159 GB, free: 59.54 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.005e-05/7.326, allocations: 28 kB / 3.159 GB, free: 59.51 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 7.562e-05/7.326, allocations: 349.9 kB / 3.159 GB, free: 59.16 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005553/7.327, allocations: 394.5 kB / 3.159 GB, free: 58.77 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007076/7.327, allocations: 0.6075 MB / 3.16 GB, free: 58.1 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006726/7.328, allocations: 494 kB / 3.16 GB, free: 57.62 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.577e-06/7.328, allocations: 0 / 3.16 GB, free: 57.62 MB / 0.948 GB Notification: Performance of matching and sorting (n=147) (initialization): time 0.00257/7.331, allocations: 1.329 MB / 3.162 GB, free: 56.27 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 2.116e-05/7.331, allocations: 8.031 kB / 3.162 GB, free: 56.27 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.027e-06/7.331, allocations: 4 kB / 3.162 GB, free: 56.26 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001025/7.332, allocations: 169.5 kB / 3.162 GB, free: 56.09 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001037/7.333, allocations: 271.6 kB / 3.162 GB, free: 55.82 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003071/7.336, allocations: 3.061 MB / 3.165 GB, free: 52.48 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001449/7.337, allocations: 162.8 kB / 3.165 GB, free: 52.32 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001462/7.337, allocations: 55.95 kB / 3.165 GB, free: 52.27 MB / 0.948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 12 ($whenCondition4,$whenCondition3,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext,$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 (143): * Single equations (assignments): 141 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 2,1 2} Notification: Performance of prepare postOptimizeDAE: time 0.0003765/7.338, allocations: 190.7 kB / 3.165 GB, free: 52.07 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003361/7.338, allocations: 146.2 kB / 3.166 GB, free: 51.93 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005332/7.343, allocations: 1.891 MB / 3.167 GB, free: 50.02 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.604e-05/7.343, allocations: 16 kB / 3.167 GB, free: 50 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.623e-06/7.343, allocations: 4 kB / 3.167 GB, free: 50 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.142e-05/7.344, allocations: 7.969 kB / 3.167 GB, free: 49.99 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002352/7.346, allocations: 1.519 MB / 3.169 GB, free: 48.43 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.438e-06/7.346, allocations: 7.953 kB / 3.169 GB, free: 48.42 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001349/7.347, allocations: 275.6 kB / 3.169 GB, free: 48.15 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009136/7.348, allocations: 173.5 kB / 3.169 GB, free: 47.97 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.613e-05/7.348, allocations: 43.97 kB / 3.169 GB, free: 47.93 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003136/7.351, allocations: 3.111 MB / 3.172 GB, free: 44.54 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.295e-06/7.351, allocations: 32 / 3.172 GB, free: 44.54 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004284/7.356, allocations: 1.551 MB / 3.174 GB, free: 42.96 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001009/7.357, allocations: 486.5 kB / 3.174 GB, free: 42.46 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002666/7.357, allocations: 32 kB / 3.174 GB, free: 42.43 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00138/7.358, allocations: 131.9 kB / 3.175 GB, free: 42.3 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000265/7.359, allocations: 125.3 kB / 3.175 GB, free: 42.18 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001458/7.359, allocations: 63.95 kB / 3.175 GB, free: 42.12 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.00149/7.36, allocations: 0.8209 MB / 3.176 GB, free: 41.29 MB / 0.948 GB Notification: Performance of sort global known variables: time 2.41e-07/7.36, allocations: 0 / 3.176 GB, free: 41.29 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.002102/7.363, allocations: 0.5145 MB / 3.176 GB, free: 40.77 MB / 0.948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition4,$whenCondition3,weaDat.conTimMin.tNext,weaDat.conTim.tNext,$whenCondition2,$whenCondition1,weaDatInpCon.conTimMin.tNext,weaDatInpCon.conTim.tNext) * Number of discrete states: 4 (weaDatInpCon.conTimMin.tNext,weaDatInpCon.conTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Top-level inputs: 0 Notification: Strong component statistics for simulation (161): * Single equations (assignments): 155 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 3,1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.006611/7.369, allocations: 3.148 MB / 3.179 GB, free: 37.68 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.003188/7.372, allocations: 1.347 MB / 3.18 GB, free: 36.3 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.069e-05/7.372, allocations: 4 kB / 3.18 GB, free: 36.3 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.001431/7.374, allocations: 0.908 MB / 3.181 GB, free: 35.37 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002109/7.376, allocations: 469.3 kB / 3.182 GB, free: 34.92 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006441/7.382, allocations: 2.849 MB / 3.185 GB, free: 32.02 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006196/7.383, allocations: 1.309 MB / 3.186 GB, free: 30.68 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.001533/7.385, allocations: 0.5033 MB / 3.186 GB, free: 30.17 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007904/7.385, allocations: 0.6554 MB / 3.187 GB, free: 29.51 MB / 0.948 GB Notification: Performance of SimCode: time 7.21e-07/7.385, allocations: 0 / 3.187 GB, free: 29.51 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6142/8, allocations: 48.21 MB / 3.234 GB, free: 232.1 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001919/8, allocations: 240.7 kB / 3.234 GB, free: 231.8 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_Examples_ReaderTMY3.o Buildings_8_Buildings_BoundaryConditions_WeatherData_Examples_ReaderTMY3.c In file included from Buildings_8_Buildings_BoundaryConditions_WeatherData_Examples_ReaderTMY3.c:7: In file included from ./Buildings_8_Buildings_BoundaryConditions_WeatherData_Examples_ReaderTMY3_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_Examples_ReaderTMY3_functions.o Buildings_8_Buildings_BoundaryConditions_WeatherData_Examples_ReaderTMY3_functions.c In file included from Buildings_8_Buildings_BoundaryConditions_WeatherData_Examples_ReaderTMY3_functions.c:2: In file included from ./Buildings_8_Buildings_BoundaryConditions_WeatherData_Examples_ReaderTMY3_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_Examples_ReaderTMY3_functions.c:7: In file included from ./Buildings_8_Buildings_BoundaryConditions_WeatherData_Examples_ReaderTMY3_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_Examples_ReaderTMY3_functions.o] Error 1