Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.BoundaryConditions.WeatherData.Examples.ReaderTMY3.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.Examples.ReaderTMY3,fileNamePrefix="Buildings_8_0_0_Buildings_BoundaryConditions_WeatherData_Examples_ReaderTMY3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.Examples.ReaderTMY3,fileNamePrefix="Buildings_8_0_0_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.0.0/package.mo): time 2.597/2.597, allocations: 284.7 MB / 297.2 MB, free: 6.375 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.001463/0.001462, allocations: 176.9 kB / 365.6 MB, free: 2.645 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.086/2.086, allocations: 205.1 MB / 0.624 GB, free: 8.234 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.001152/0.001152, allocations: 84.91 kB / 0.7371 GB, free: 40.82 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 4.843e-05/4.861e-05, allocations: 8 kB / 0.8574 GB, free: 13.69 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9636/0.9637, allocations: 115.2 MB / 0.9699 GB, free: 78.06 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.224/7.188, allocations: 2.071 GB / 3.041 GB, free: 25.78 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000292/7.188, allocations: 87.62 kB / 3.041 GB, free: 25.73 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 0.9742/8.162, allocations: 90.36 MB / 3.13 GB, free: 318.1 MB / 0.948 GB Notification: Performance of FrontEnd: time 2.365e-06/8.162, allocations: 0 / 3.13 GB, free: 318.1 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0002452/8.163, allocations: 46.12 kB / 3.13 GB, free: 318.1 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.005802/8.168, allocations: 1.622 MB / 3.131 GB, free: 316.8 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 5.321e-05/8.168, allocations: 7.75 kB / 3.131 GB, free: 316.8 MB / 0.948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006743/8.169, allocations: 201.1 kB / 3.132 GB, free: 316.7 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003561/8.173, allocations: 370.8 kB / 3.132 GB, free: 316.5 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003316/8.176, allocations: 1.005 MB / 3.133 GB, free: 315.7 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001302/8.176, allocations: 96.92 kB / 3.133 GB, free: 315.6 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003651/8.177, allocations: 130 kB / 3.133 GB, free: 315.6 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004082/8.181, allocations: 1.451 MB / 3.134 GB, free: 314.7 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.27e-05/8.181, allocations: 0 / 3.134 GB, free: 314.7 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002851/8.181, allocations: 58.62 kB / 3.135 GB, free: 314.6 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.63e-05/8.181, allocations: 37.67 kB / 3.135 GB, free: 314.6 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004851/8.186, allocations: 1.937 MB / 3.136 GB, free: 313.8 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0133/8.199, allocations: 4.467 MB / 3.141 GB, free: 310.4 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003727/8.203, allocations: 1.348 MB / 3.142 GB, free: 309.7 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001292/8.205, allocations: 0.5023 MB / 3.143 GB, free: 309.5 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002264/8.205, allocations: 58.42 kB / 3.143 GB, free: 309.5 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001744/8.207, allocations: 0.7459 MB / 3.143 GB, free: 309 MB / 0.948 GB Notification: Performance of pre-optimization done (n=136): time 4.218e-06/8.207, allocations: 0 / 3.143 GB, free: 309 MB / 0.948 GB Notification: Performance of matching and sorting (n=136): time 0.005117/8.212, allocations: 1.315 MB / 3.145 GB, free: 308.4 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001378/8.212, allocations: 459.5 kB / 3.145 GB, free: 307.8 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002283/8.214, allocations: 1.031 MB / 3.146 GB, free: 307.3 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0004003/8.215, allocations: 53.48 kB / 3.146 GB, free: 307.2 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005942/8.215, allocations: 0.6044 MB / 3.147 GB, free: 306.7 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004918/8.216, allocations: 449 kB / 3.147 GB, free: 306.3 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001162/8.216, allocations: 26.78 kB / 3.147 GB, free: 306.3 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0001029/8.216, allocations: 352.3 kB / 3.148 GB, free: 306 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001149/8.217, allocations: 389.8 kB / 3.148 GB, free: 305.8 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001307/8.218, allocations: 0.6127 MB / 3.149 GB, free: 305.4 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001223/8.22, allocations: 492.5 kB / 3.149 GB, free: 305.1 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.612e-06/8.22, allocations: 0 / 3.149 GB, free: 305.1 MB / 0.948 GB Notification: Performance of matching and sorting (n=147) (initialization): time 0.005276/8.225, allocations: 1.329 MB / 3.15 GB, free: 304.5 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 3.242e-05/8.225, allocations: 3.875 kB / 3.15 GB, free: 304.5 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.372e-05/8.225, allocations: 8.156 kB / 3.15 GB, free: 304.5 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001883/8.227, allocations: 160.2 kB / 3.15 GB, free: 304.4 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002498/8.23, allocations: 272.8 kB / 3.151 GB, free: 304.3 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004942/8.235, allocations: 3.065 MB / 3.154 GB, free: 301.3 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002416/8.237, allocations: 173.2 kB / 3.154 GB, free: 301.2 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001966/8.237, allocations: 51.06 kB / 3.154 GB, free: 301.2 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.0004745/8.238, allocations: 180.4 kB / 3.154 GB, free: 301 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003767/8.238, allocations: 152.9 kB / 3.154 GB, free: 300.9 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006853/8.245, allocations: 1.902 MB / 3.156 GB, free: 299.9 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.039e-05/8.245, allocations: 19.45 kB / 3.156 GB, free: 299.9 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.922e-06/8.245, allocations: 0 / 3.156 GB, free: 299.9 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.275e-05/8.245, allocations: 7.969 kB / 3.156 GB, free: 299.9 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002845/8.248, allocations: 1.515 MB / 3.158 GB, free: 298.8 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.045e-06/8.248, allocations: 0 / 3.158 GB, free: 298.8 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00214/8.25, allocations: 285.2 kB / 3.158 GB, free: 298.8 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001614/8.252, allocations: 168 kB / 3.158 GB, free: 298.7 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001587/8.252, allocations: 43.34 kB / 3.158 GB, free: 298.7 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004527/8.256, allocations: 3.103 MB / 3.161 GB, free: 295.6 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.955e-06/8.256, allocations: 7.922 kB / 3.161 GB, free: 295.6 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005163/8.262, allocations: 1.551 MB / 3.163 GB, free: 294 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0012/8.263, allocations: 482.5 kB / 3.163 GB, free: 293.5 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003553/8.263, allocations: 32 kB / 3.163 GB, free: 293.5 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001925/8.265, allocations: 131.9 kB / 3.163 GB, free: 293.4 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003269/8.266, allocations: 117.4 kB / 3.163 GB, free: 293.2 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001745/8.266, allocations: 59.95 kB / 3.163 GB, free: 293.2 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.001616/8.267, allocations: 0.8209 MB / 3.164 GB, free: 292.4 MB / 0.948 GB Notification: Performance of sort global known variables: time 5.51e-07/8.267, allocations: 0 / 3.164 GB, free: 292.4 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.002321/8.27, allocations: 0.5183 MB / 3.165 GB, free: 291.8 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.007228/8.277, allocations: 3.147 MB / 3.168 GB, free: 288.8 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.003774/8.281, allocations: 1.347 MB / 3.169 GB, free: 287.4 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 7.324e-06/8.281, allocations: 0 / 3.169 GB, free: 287.4 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.002161/8.283, allocations: 0.9158 MB / 3.17 GB, free: 286.5 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003379/8.286, allocations: 468.9 kB / 3.17 GB, free: 286 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01097/8.297, allocations: 2.842 MB / 3.173 GB, free: 283.1 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008751/8.298, allocations: 1.313 MB / 3.175 GB, free: 281.8 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.002761/8.301, allocations: 0.4979 MB / 3.175 GB, free: 281.3 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00133/8.302, allocations: 0.6554 MB / 3.176 GB, free: 280.6 MB / 0.948 GB Notification: Performance of SimCode: time 1.092e-06/8.302, allocations: 0 / 3.176 GB, free: 280.6 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1117/8.414, allocations: 48.23 MB / 3.223 GB, free: 232.6 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000183/8.414, allocations: 230.8 kB / 3.223 GB, free: 232.3 MB / 0.948 GB Error: Error building simulator. Build log: clang -Os -fPIC -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.0.0/Resources/C-Sources" -c -o Buildings_8_0_0_Buildings_BoundaryConditions_WeatherData_Examples_ReaderTMY3.o Buildings_8_0_0_Buildings_BoundaryConditions_WeatherData_Examples_ReaderTMY3.c In file included from Buildings_8_0_0_Buildings_BoundaryConditions_WeatherData_Examples_ReaderTMY3.c:7: In file included from ./Buildings_8_0_0_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 -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.0.0/Resources/C-Sources" -c -o Buildings_8_0_0_Buildings_BoundaryConditions_WeatherData_Examples_ReaderTMY3_functions.o Buildings_8_0_0_Buildings_BoundaryConditions_WeatherData_Examples_ReaderTMY3_functions.c In file included from Buildings_8_0_0_Buildings_BoundaryConditions_WeatherData_Examples_ReaderTMY3_functions.c:2: In file included from ./Buildings_8_0_0_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_0_0_Buildings_BoundaryConditions_WeatherData_Examples_ReaderTMY3_functions.c:7: In file included from ./Buildings_8_0_0_Buildings_BoundaryConditions_WeatherData_Examples_ReaderTMY3_includes.h:4: /home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/Resources/C-Sources/getTimeSpan.c:6:10: fatal error: 'ModelicaUtilities.h' file not found #include ^~~~~~~~~~~~~~~~~~~~~ 2 warnings and 1 error generated. : recipe for target 'Buildings_8_0_0_Buildings_BoundaryConditions_WeatherData_Examples_ReaderTMY3_functions.o' failed make: *** [Buildings_8_0_0_Buildings_BoundaryConditions_WeatherData_Examples_ReaderTMY3_functions.o] Error 1