Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor.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.Validation.ReaderTMY3HDirNor,fileNamePrefix="Buildings_8_0_0_Buildings_BoundaryConditions_WeatherData_Validation_ReaderTMY3HDirNor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor,fileNamePrefix="Buildings_8_0_0_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.0.0/package.mo): time 2.527/2.527, allocations: 287.3 MB / 302.3 MB, free: 8.328 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.001577/0.001576, allocations: 178.9 kB / 370.8 MB, free: 10.87 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.109/2.109, allocations: 205.4 MB / 0.6295 GB, free: 10.64 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001165/0.001165, allocations: 93.95 kB / 0.7428 GB, free: 6.641 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0006374/0.0006376, allocations: 11.5 kB / 0.8657 GB, free: 140.7 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2626/0.2632, allocations: 115.3 MB / 0.9783 GB, free: 28.33 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 7.125/7.388, allocations: 2.072 GB / 3.05 GB, free: 201.8 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003046/7.388, allocations: 93.44 kB / 3.05 GB, free: 201.7 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 0.2203/7.609, allocations: 58.33 MB / 3.107 GB, free: 152.7 MB / 0.948 GB Notification: Performance of FrontEnd: time 2.936e-06/7.609, allocations: 0 / 3.107 GB, free: 152.7 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0001005/7.609, allocations: 20 kB / 3.107 GB, free: 152.6 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.003351/7.612, allocations: 1.219 MB / 3.108 GB, free: 151.4 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.93e-05/7.612, allocations: 12.03 kB / 3.108 GB, free: 151.4 MB / 0.948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003733/7.613, allocations: 114.1 kB / 3.108 GB, free: 151.3 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001972/7.615, allocations: 210.6 kB / 3.109 GB, free: 151.1 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00171/7.616, allocations: 0.5958 MB / 3.109 GB, free: 150.5 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.135e-05/7.616, allocations: 54 kB / 3.109 GB, free: 150.4 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001602/7.617, allocations: 71.92 kB / 3.109 GB, free: 150.4 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002567/7.619, allocations: 0.8255 MB / 3.11 GB, free: 149.5 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.123e-05/7.619, allocations: 0 / 3.11 GB, free: 149.5 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001375/7.619, allocations: 35.95 kB / 3.11 GB, free: 149.4 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.841e-05/7.62, allocations: 16 kB / 3.11 GB, free: 149.4 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003399/7.623, allocations: 1.089 MB / 3.111 GB, free: 148.3 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006372/7.629, allocations: 2.38 MB / 3.114 GB, free: 145.9 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002379/7.632, allocations: 0.7553 MB / 3.114 GB, free: 145.1 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001476/7.632, allocations: 32.67 kB / 3.114 GB, free: 145.1 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001685/7.634, allocations: 468.3 kB / 3.115 GB, free: 144.6 MB / 0.948 GB Notification: Performance of pre-optimization done (n=73): time 5.471e-06/7.634, allocations: 0 / 3.115 GB, free: 144.6 MB / 0.948 GB Notification: Performance of matching and sorting (n=73): time 0.00648/7.64, allocations: 1.202 MB / 3.116 GB, free: 143.4 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001053/7.64, allocations: 244 kB / 3.116 GB, free: 143.1 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001237/7.642, allocations: 0.5775 MB / 3.117 GB, free: 142.5 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0002434/7.642, allocations: 41.7 kB / 3.117 GB, free: 142.5 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.000328/7.642, allocations: 352.4 kB / 3.117 GB, free: 142.1 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002791/7.643, allocations: 240.5 kB / 3.117 GB, free: 141.9 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.386e-05/7.643, allocations: 12 kB / 3.117 GB, free: 141.9 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0001335/7.643, allocations: 382.7 kB / 3.118 GB, free: 141.5 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001066/7.644, allocations: 253.2 kB / 3.118 GB, free: 141.2 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001166/7.645, allocations: 368.4 kB / 3.118 GB, free: 140.8 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001224/7.646, allocations: 295.1 kB / 3.119 GB, free: 140.6 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.362e-06/7.646, allocations: 3.938 kB / 3.119 GB, free: 140.6 MB / 0.948 GB Notification: Performance of matching and sorting (n=78) (initialization): time 0.003845/7.65, allocations: 0.7939 MB / 3.119 GB, free: 139.8 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 3e-05/7.65, allocations: 4 kB / 3.119 GB, free: 139.7 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.211e-05/7.65, allocations: 4 kB / 3.119 GB, free: 139.7 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009934/7.651, allocations: 84.86 kB / 3.12 GB, free: 139.7 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001401/7.653, allocations: 163.8 kB / 3.12 GB, free: 139.5 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002821/7.656, allocations: 1.548 MB / 3.121 GB, free: 137.8 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001323/7.657, allocations: 99.47 kB / 3.121 GB, free: 137.7 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001699/7.657, allocations: 23.98 kB / 3.121 GB, free: 137.7 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 () * Number of clocked 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.0006835/7.658, allocations: 249.6 kB / 3.122 GB, free: 137.4 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002821/7.658, allocations: 79.06 kB / 3.122 GB, free: 137.4 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004872/7.663, allocations: 1.127 MB / 3.123 GB, free: 136.2 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.526e-05/7.663, allocations: 8 kB / 3.123 GB, free: 136.2 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.54e-06/7.663, allocations: 0 / 3.123 GB, free: 136.2 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.987e-05/7.663, allocations: 11.98 kB / 3.123 GB, free: 136.2 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001665/7.665, allocations: 0.8642 MB / 3.124 GB, free: 135.3 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.057e-06/7.665, allocations: 0 / 3.124 GB, free: 135.3 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001351/7.666, allocations: 159.8 kB / 3.124 GB, free: 135.1 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008891/7.667, allocations: 88.77 kB / 3.124 GB, free: 135 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001381/7.667, allocations: 19.98 kB / 3.124 GB, free: 135 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002526/7.67, allocations: 1.583 MB / 3.125 GB, free: 133.3 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.184e-06/7.67, allocations: 0 / 3.125 GB, free: 133.3 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003716/7.674, allocations: 0.92 MB / 3.126 GB, free: 132.3 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007429/7.674, allocations: 287.8 kB / 3.127 GB, free: 132 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002233/7.675, allocations: 19.95 kB / 3.127 GB, free: 132 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001142/7.676, allocations: 79.92 kB / 3.127 GB, free: 131.9 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002285/7.676, allocations: 64.91 kB / 3.127 GB, free: 131.9 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001028/7.676, allocations: 27.98 kB / 3.127 GB, free: 131.9 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.000964/7.677, allocations: 483 kB / 3.127 GB, free: 131.4 MB / 0.948 GB Notification: Performance of sort global known variables: time 4.31e-07/7.677, allocations: 3.938 kB / 3.127 GB, free: 131.4 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.001691/7.679, allocations: 343.3 kB / 3.128 GB, free: 131.1 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) * Number of clocked states: 0 () * 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.006286/7.685, allocations: 2.416 MB / 3.13 GB, free: 128.8 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.002993/7.688, allocations: 0.7943 MB / 3.131 GB, free: 128 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 6.543e-06/7.688, allocations: 0 / 3.131 GB, free: 128 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.001633/7.69, allocations: 0.5198 MB / 3.131 GB, free: 127.5 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001894/7.692, allocations: 234.9 kB / 3.131 GB, free: 127.2 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01555/7.707, allocations: 5.271 MB / 3.137 GB, free: 121.9 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005709/7.708, allocations: 1.003 MB / 3.138 GB, free: 120.9 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.001616/7.71, allocations: 270.1 kB / 3.138 GB, free: 120.6 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007854/7.711, allocations: 339.3 kB / 3.138 GB, free: 120.3 MB / 0.948 GB Notification: Performance of SimCode: time 1.112e-06/7.711, allocations: 4 kB / 3.138 GB, free: 120.3 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1117/7.822, allocations: 29.52 MB / 3.167 GB, free: 91.05 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003953/7.823, allocations: 278.6 kB / 3.167 GB, free: 90.69 MB / 0.948 GB Error: Error building simulator. Build log: clang -Os -fPIC -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 8.0.0/Resources/C-Sources" -c -o Buildings_8_0_0_Buildings_BoundaryConditions_WeatherData_Validation_ReaderTMY3HDirNor.o Buildings_8_0_0_Buildings_BoundaryConditions_WeatherData_Validation_ReaderTMY3HDirNor.c In file included from Buildings_8_0_0_Buildings_BoundaryConditions_WeatherData_Validation_ReaderTMY3HDirNor.c:7: In file included from ./Buildings_8_0_0_Buildings_BoundaryConditions_WeatherData_Validation_ReaderTMY3HDirNor_model.h:5: In file included from ./openmodelica.h:71: In file included from ./gc/../openmodelica_types.h:149: ./gc/omc_gc.h:222:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:226: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 -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 8.0.0/Resources/C-Sources" -c -o Buildings_8_0_0_Buildings_BoundaryConditions_WeatherData_Validation_ReaderTMY3HDirNor_functions.o Buildings_8_0_0_Buildings_BoundaryConditions_WeatherData_Validation_ReaderTMY3HDirNor_functions.c In file included from Buildings_8_0_0_Buildings_BoundaryConditions_WeatherData_Validation_ReaderTMY3HDirNor_functions.c:2: In file included from ./Buildings_8_0_0_Buildings_BoundaryConditions_WeatherData_Validation_ReaderTMY3HDirNor_functions.h:3: In file included from ./meta/meta_modelica.h:49: ./gc/omc_gc.h:222:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:226: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_Validation_ReaderTMY3HDirNor_functions.c:7: In file included from ./Buildings_8_0_0_Buildings_BoundaryConditions_WeatherData_Validation_ReaderTMY3HDirNor_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_Validation_ReaderTMY3HDirNor_functions.o' failed make: *** [Buildings_8_0_0_Buildings_BoundaryConditions_WeatherData_Validation_ReaderTMY3HDirNor_functions.o] Error 1