Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.BoundaryConditions.WeatherData.Examples.ReaderTMY3.conf.json 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 7.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.Examples.ReaderTMY3,fileNamePrefix="Buildings_7_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 7.0.1/package.mo): time 2.193/2.193, allocations: 248.5 MB / 261.1 MB, free: 5.984 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001407/0.001407, allocations: 177.9 kB / 320.4 MB, free: 15.33 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.98/1.98, allocations: 205.2 MB / 0.571 GB, free: 11.78 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001079/0.001079, allocations: 101.9 kB / 0.6754 GB, free: 0.8672 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.346e-05/3.35e-05, allocations: 7.984 kB / 0.7869 GB, free: 97.8 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2106/0.2106, allocations: 106.3 MB / 0.8907 GB, free: 7.441 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 7.303/7.513, allocations: 2.189 GB / 3.08 GB, free: 158.9 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003036/7.514, allocations: 86.02 kB / 3.08 GB, free: 158.9 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.3673/7.881, allocations: 89.6 MB / 3.168 GB, free: 74.59 MB / 0.8698 GB Notification: Performance of FrontEnd: time 2.996e-06/7.881, allocations: 0 / 3.168 GB, free: 74.59 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 0.0001602/7.881, allocations: 43.88 kB / 3.168 GB, free: 74.55 MB / 0.8698 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.004394/7.886, allocations: 1.629 MB / 3.169 GB, free: 72.86 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 5.034e-05/7.886, allocations: 8.031 kB / 3.169 GB, free: 72.86 MB / 0.8698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004692/7.886, allocations: 194.4 kB / 3.17 GB, free: 72.66 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003052/7.889, allocations: 373.4 kB / 3.17 GB, free: 72.29 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002601/7.892, allocations: 1.007 MB / 3.171 GB, free: 71.23 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.082e-05/7.892, allocations: 98.64 kB / 3.171 GB, free: 71.13 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002623/7.892, allocations: 124 kB / 3.171 GB, free: 71.01 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003348/7.896, allocations: 1.445 MB / 3.173 GB, free: 69.46 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.877e-05/7.896, allocations: 7.922 kB / 3.173 GB, free: 69.46 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002186/7.896, allocations: 56 kB / 3.173 GB, free: 69.4 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.231e-05/7.896, allocations: 36 kB / 3.173 GB, free: 69.37 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004193/7.9, allocations: 1.942 MB / 3.175 GB, free: 67.43 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01216/7.912, allocations: 4.459 MB / 3.179 GB, free: 62.88 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003523/7.916, allocations: 1.347 MB / 3.18 GB, free: 61.5 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001301/7.917, allocations: 0.4932 MB / 3.181 GB, free: 61.01 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002307/7.918, allocations: 61.19 kB / 3.181 GB, free: 60.95 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001793/7.92, allocations: 0.7532 MB / 3.181 GB, free: 60.17 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=136): time 4.359e-06/7.92, allocations: 0 / 3.181 GB, free: 60.17 MB / 0.8698 GB Notification: Performance of matching and sorting (n=136): time 0.005312/7.925, allocations: 1.31 MB / 3.183 GB, free: 58.85 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001461/7.925, allocations: 462 kB / 3.183 GB, free: 58.29 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002248/7.927, allocations: 1.031 MB / 3.184 GB, free: 57.25 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 0.0004158/7.928, allocations: 53.7 kB / 3.184 GB, free: 57.19 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005864/7.928, allocations: 0.603 MB / 3.185 GB, free: 56.58 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.000532/7.929, allocations: 449.4 kB / 3.185 GB, free: 56.14 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000116/7.929, allocations: 28 kB / 3.185 GB, free: 56.11 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001023/7.929, allocations: 345.9 kB / 3.186 GB, free: 55.77 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001104/7.93, allocations: 402.5 kB / 3.186 GB, free: 55.38 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001305/7.932, allocations: 0.6036 MB / 3.187 GB, free: 54.7 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001297/7.933, allocations: 494.1 kB / 3.187 GB, free: 54.22 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.505e-06/7.933, allocations: 0 / 3.187 GB, free: 54.22 MB / 0.8698 GB Notification: Performance of matching and sorting (n=147) (initialization): time 0.005048/7.938, allocations: 1.329 MB / 3.188 GB, free: 52.87 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 2.979e-05/7.938, allocations: 8.031 kB / 3.188 GB, free: 52.86 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.378e-05/7.938, allocations: 4 kB / 3.188 GB, free: 52.86 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001862/7.94, allocations: 169.5 kB / 3.189 GB, free: 52.69 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002412/7.942, allocations: 271.6 kB / 3.189 GB, free: 52.42 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004979/7.947, allocations: 3.053 MB / 3.192 GB, free: 49.09 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002347/7.95, allocations: 154.9 kB / 3.192 GB, free: 48.94 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003131/7.95, allocations: 59.95 kB / 3.192 GB, free: 48.88 MB / 0.8698 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.0004491/7.951, allocations: 188.5 kB / 3.192 GB, free: 48.69 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005148/7.951, allocations: 150.2 kB / 3.192 GB, free: 48.54 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00707/7.958, allocations: 1.903 MB / 3.194 GB, free: 46.62 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.663e-05/7.958, allocations: 16 kB / 3.194 GB, free: 46.61 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.997e-06/7.958, allocations: 4 kB / 3.194 GB, free: 46.6 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.706e-05/7.958, allocations: 7.969 kB / 3.194 GB, free: 46.59 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003246/7.962, allocations: 1.517 MB / 3.196 GB, free: 45.03 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.005e-05/7.962, allocations: 0 / 3.196 GB, free: 45.03 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002437/7.964, allocations: 279.6 kB / 3.196 GB, free: 44.76 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001745/7.966, allocations: 173.5 kB / 3.196 GB, free: 44.58 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003821/7.966, allocations: 47.97 kB / 3.196 GB, free: 44.54 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004767/7.971, allocations: 3.096 MB / 3.199 GB, free: 41.16 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.196e-06/7.971, allocations: 0 / 3.199 GB, free: 41.16 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00542/7.977, allocations: 1.558 MB / 3.201 GB, free: 39.56 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001474/7.978, allocations: 482.5 kB / 3.201 GB, free: 39.07 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005693/7.979, allocations: 32 kB / 3.201 GB, free: 39.04 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002282/7.981, allocations: 131.9 kB / 3.201 GB, free: 38.91 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005492/7.982, allocations: 121.3 kB / 3.201 GB, free: 38.79 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000209/7.982, allocations: 64.08 kB / 3.201 GB, free: 38.73 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.001819/7.984, allocations: 0.817 MB / 3.202 GB, free: 37.91 MB / 0.8698 GB Notification: Performance of sort global known variables: time 9.32e-07/7.984, allocations: 4 kB / 3.202 GB, free: 37.9 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.002588/7.986, allocations: 0.5183 MB / 3.203 GB, free: 37.38 MB / 0.8698 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.007696/7.994, allocations: 3.145 MB / 3.206 GB, free: 34.35 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.003897/7.998, allocations: 1.343 MB / 3.207 GB, free: 32.97 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 9.418e-06/7.998, allocations: 0 / 3.207 GB, free: 32.97 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.002352/8.001, allocations: 0.9158 MB / 3.208 GB, free: 32.03 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003734/8.004, allocations: 480.1 kB / 3.209 GB, free: 31.57 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01298/8.017, allocations: 2.842 MB / 3.211 GB, free: 28.67 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001204/8.019, allocations: 1.312 MB / 3.213 GB, free: 27.33 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.002984/8.022, allocations: 0.4994 MB / 3.213 GB, free: 26.82 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001775/8.024, allocations: 0.6593 MB / 3.214 GB, free: 26.16 MB / 0.8698 GB Notification: Performance of SimCode: time 2.034e-06/8.024, allocations: 0 / 3.214 GB, free: 26.16 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7861/8.81, allocations: 48.2 MB / 3.261 GB, free: 253.2 MB / 0.8698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002855/8.81, allocations: 240.5 kB / 3.261 GB, free: 252.9 MB / 0.8698 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 7.0.1/Resources/C-Sources" -c -o Buildings_7_0_0_Buildings_BoundaryConditions_WeatherData_Examples_ReaderTMY3.o Buildings_7_0_0_Buildings_BoundaryConditions_WeatherData_Examples_ReaderTMY3.c In file included from Buildings_7_0_0_Buildings_BoundaryConditions_WeatherData_Examples_ReaderTMY3.c:7: In file included from ./Buildings_7_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 7.0.1/Resources/C-Sources" -c -o Buildings_7_0_0_Buildings_BoundaryConditions_WeatherData_Examples_ReaderTMY3_functions.o Buildings_7_0_0_Buildings_BoundaryConditions_WeatherData_Examples_ReaderTMY3_functions.c In file included from Buildings_7_0_0_Buildings_BoundaryConditions_WeatherData_Examples_ReaderTMY3_functions.c:2: In file included from ./Buildings_7_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_7_0_0_Buildings_BoundaryConditions_WeatherData_Examples_ReaderTMY3_functions.c:7: In file included from ./Buildings_7_0_0_Buildings_BoundaryConditions_WeatherData_Examples_ReaderTMY3_includes.h:4: /home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/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_7_0_0_Buildings_BoundaryConditions_WeatherData_Examples_ReaderTMY3_functions.o' failed make: *** [Buildings_7_0_0_Buildings_BoundaryConditions_WeatherData_Examples_ReaderTMY3_functions.o] Error 1