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.705/2.705, allocations: 284.7 MB / 297.2 MB, free: 6.391 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.001462/0.001462, allocations: 176.8 kB / 365.6 MB, free: 2.652 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.125/2.125, allocations: 205.1 MB / 0.624 GB, free: 8.223 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.001133/0.001133, allocations: 101.5 kB / 0.7371 GB, free: 40.81 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 5.345e-05/5.364e-05, allocations: 4 kB / 0.8574 GB, free: 13.7 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9558/0.9559, allocations: 115.2 MB / 0.9699 GB, free: 78.16 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.247/7.203, allocations: 2.072 GB / 3.042 GB, free: 25.52 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003057/7.204, allocations: 85.52 kB / 3.042 GB, free: 25.48 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 0.9063/8.11, allocations: 58.03 MB / 3.098 GB, free: 326.9 MB / 0.948 GB Notification: Performance of FrontEnd: time 2.916e-06/8.11, allocations: 1.625 kB / 3.098 GB, free: 326.9 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0001081/8.11, allocations: 21.44 kB / 3.098 GB, free: 326.9 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.003163/8.113, allocations: 1.095 MB / 3.1 GB, free: 326.2 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 5.348e-05/8.113, allocations: 9.219 kB / 3.1 GB, free: 326.2 MB / 0.948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003103/8.114, allocations: 114.9 kB / 3.1 GB, free: 326.2 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002025/8.116, allocations: 205.3 kB / 3.1 GB, free: 326.2 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001936/8.118, allocations: 0.6077 MB / 3.1 GB, free: 325.8 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.744e-05/8.118, allocations: 49.38 kB / 3.1 GB, free: 325.8 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001716/8.118, allocations: 68.19 kB / 3.101 GB, free: 325.7 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002177/8.12, allocations: 0.7775 MB / 3.101 GB, free: 325.3 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.406e-05/8.12, allocations: 3.75 kB / 3.101 GB, free: 325.3 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001349/8.12, allocations: 27.72 kB / 3.101 GB, free: 325.3 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.819e-05/8.12, allocations: 17.28 kB / 3.101 GB, free: 325.3 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002932/8.123, allocations: 1.009 MB / 3.102 GB, free: 325.1 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007098/8.131, allocations: 2.362 MB / 3.105 GB, free: 323.8 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002048/8.133, allocations: 0.6977 MB / 3.105 GB, free: 323.5 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008486/8.134, allocations: 274.8 kB / 3.106 GB, free: 323.4 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001545/8.134, allocations: 33.77 kB / 3.106 GB, free: 323.4 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001298/8.135, allocations: 433.7 kB / 3.106 GB, free: 323.2 MB / 0.948 GB Notification: Performance of pre-optimization done (n=73): time 4.228e-06/8.135, allocations: 1.062 kB / 3.106 GB, free: 323.2 MB / 0.948 GB Notification: Performance of matching and sorting (n=73): time 0.003306/8.138, allocations: 0.7056 MB / 3.107 GB, free: 322.9 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001039/8.139, allocations: 245.9 kB / 3.107 GB, free: 322.6 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001376/8.14, allocations: 0.5722 MB / 3.108 GB, free: 322.3 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.000295/8.14, allocations: 41.92 kB / 3.108 GB, free: 322.3 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004157/8.141, allocations: 358.6 kB / 3.108 GB, free: 322 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004189/8.141, allocations: 239 kB / 3.108 GB, free: 321.8 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.331e-05/8.141, allocations: 14.25 kB / 3.108 GB, free: 321.8 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0001738/8.141, allocations: 379.7 kB / 3.108 GB, free: 321.5 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006859/8.142, allocations: 209.3 kB / 3.109 GB, free: 321.4 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008036/8.143, allocations: 333.2 kB / 3.109 GB, free: 321.2 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007743/8.144, allocations: 253.7 kB / 3.109 GB, free: 321.1 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.121e-06/8.144, allocations: 3.953 kB / 3.109 GB, free: 321.1 MB / 0.948 GB Notification: Performance of matching and sorting (n=78) (initialization): time 0.002946/8.147, allocations: 0.7169 MB / 3.11 GB, free: 320.8 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 3.169e-05/8.147, allocations: 5.125 kB / 3.11 GB, free: 320.8 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.209e-05/8.147, allocations: 1.375 kB / 3.11 GB, free: 320.8 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001002/8.148, allocations: 86.11 kB / 3.11 GB, free: 320.8 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001446/8.149, allocations: 164.1 kB / 3.11 GB, free: 320.8 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002699/8.152, allocations: 1.525 MB / 3.112 GB, free: 319.4 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00144/8.153, allocations: 92.36 kB / 3.112 GB, free: 319.3 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001279/8.154, allocations: 30.62 kB / 3.112 GB, free: 319.3 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.0002892/8.154, allocations: 140.4 kB / 3.112 GB, free: 319.2 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002698/8.154, allocations: 84.16 kB / 3.112 GB, free: 319.2 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004329/8.159, allocations: 1.052 MB / 3.113 GB, free: 318.8 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.074e-05/8.159, allocations: 12.33 kB / 3.113 GB, free: 318.8 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.869e-06/8.159, allocations: 0 / 3.113 GB, free: 318.8 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.869e-05/8.159, allocations: 5.188 kB / 3.113 GB, free: 318.8 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001832/8.16, allocations: 0.8711 MB / 3.114 GB, free: 318.3 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.426e-06/8.161, allocations: 0.8438 kB / 3.114 GB, free: 318.3 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001375/8.162, allocations: 163.2 kB / 3.114 GB, free: 318.3 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008785/8.163, allocations: 81.95 kB / 3.114 GB, free: 318.3 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001185/8.163, allocations: 26.97 kB / 3.114 GB, free: 318.3 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002457/8.165, allocations: 1.557 MB / 3.116 GB, free: 316.8 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.826e-06/8.165, allocations: 0 / 3.116 GB, free: 316.8 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003074/8.169, allocations: 0.8298 MB / 3.117 GB, free: 316.5 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008113/8.169, allocations: 295.8 kB / 3.117 GB, free: 316.3 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002085/8.17, allocations: 16.27 kB / 3.117 GB, free: 316.2 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001123/8.171, allocations: 76.08 kB / 3.117 GB, free: 316.2 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002332/8.171, allocations: 72.83 kB / 3.117 GB, free: 316.2 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000106/8.171, allocations: 31.7 kB / 3.117 GB, free: 316.2 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.0009366/8.172, allocations: 471.7 kB / 3.117 GB, free: 316 MB / 0.948 GB Notification: Performance of sort global known variables: time 4.81e-07/8.172, allocations: 1.5 kB / 3.117 GB, free: 316 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.001925/8.174, allocations: 340.7 kB / 3.118 GB, free: 315.9 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.00571/8.18, allocations: 2.271 MB / 3.12 GB, free: 314.8 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.002448/8.182, allocations: 0.7139 MB / 3.121 GB, free: 314.5 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 6.021e-06/8.182, allocations: 1.094 kB / 3.121 GB, free: 314.5 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.001258/8.184, allocations: 487.6 kB / 3.121 GB, free: 314.3 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001987/8.186, allocations: 244.7 kB / 3.121 GB, free: 314.2 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006695/8.192, allocations: 1.543 MB / 3.123 GB, free: 313.5 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007006/8.193, allocations: 1.008 MB / 3.124 GB, free: 312.8 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.001743/8.195, allocations: 264.2 kB / 3.124 GB, free: 312.8 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008457/8.196, allocations: 335.4 kB / 3.124 GB, free: 312.6 MB / 0.948 GB Notification: Performance of SimCode: time 1.422e-06/8.196, allocations: 1.031 kB / 3.124 GB, free: 312.6 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1119/8.308, allocations: 31.2 MB / 3.155 GB, free: 302.2 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000281/8.308, allocations: 244.3 kB / 3.155 GB, free: 301.8 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_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: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_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: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_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