Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor.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.Validation.ReaderTMY3HDirNor,fileNamePrefix="Buildings_8_Buildings_BoundaryConditions_WeatherData_Validation_ReaderTMY3HDirNor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor,fileNamePrefix="Buildings_8_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.1.4-maint.8.1.x/package.mo): time 1.791/1.791, allocations: 292.6 MB / 307.5 MB, free: 5.203 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.001326/0.001327, allocations: 185 kB / 377.1 MB, free: 1.512 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.951/1.951, allocations: 205.4 MB / 0.6366 GB, free: 8.625 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.0008196/0.0008196, allocations: 83.28 kB / 0.7509 GB, free: 63.26 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004761/0.0004762, allocations: 8 kB / 0.8748 GB, free: 11.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2793/0.2798, allocations: 116.3 MB / 0.9884 GB, free: 6.652 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.534/6.813, allocations: 2.073 GB / 3.061 GB, free: 108.6 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002491/6.814, allocations: 88.8 kB / 3.061 GB, free: 108.6 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 0.1321/6.946, allocations: 58.65 MB / 3.119 GB, free: 51.22 MB / 0.948 GB Notification: Performance of FrontEnd: time 2.414e-06/6.946, allocations: 0 / 3.119 GB, free: 51.22 MB / 0.948 GB Notification: Performance of Transformations before backend: time 7.08e-05/6.946, allocations: 23.94 kB / 3.119 GB, free: 51.2 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.002232/6.948, allocations: 1.205 MB / 3.12 GB, free: 49.93 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.748e-05/6.948, allocations: 20 kB / 3.12 GB, free: 49.91 MB / 0.948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000132/6.948, allocations: 126.4 kB / 3.12 GB, free: 49.78 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001039/6.949, allocations: 202.6 kB / 3.12 GB, free: 49.58 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008999/6.95, allocations: 0.6035 MB / 3.121 GB, free: 48.94 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.68e-05/6.95, allocations: 54 kB / 3.121 GB, free: 48.89 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.992e-05/6.951, allocations: 64 kB / 3.121 GB, free: 48.82 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001336/6.952, allocations: 0.8216 MB / 3.122 GB, free: 47.96 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.09e-05/6.952, allocations: 0 / 3.122 GB, free: 47.96 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.966e-05/6.952, allocations: 35.94 kB / 3.122 GB, free: 47.92 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.612e-05/6.952, allocations: 19.95 kB / 3.122 GB, free: 47.9 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001558/6.954, allocations: 1.093 MB / 3.123 GB, free: 46.81 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003735/6.957, allocations: 2.372 MB / 3.125 GB, free: 44.37 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001875/6.959, allocations: 0.7533 MB / 3.126 GB, free: 43.61 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001083/6.959, allocations: 32.67 kB / 3.126 GB, free: 43.57 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001218/6.961, allocations: 464.3 kB / 3.126 GB, free: 43.11 MB / 0.948 GB Notification: Performance of pre-optimization done (n=73): time 4.098e-06/6.961, allocations: 0 / 3.126 GB, free: 43.11 MB / 0.948 GB Notification: Performance of matching and sorting (n=73): time 0.005531/6.966, allocations: 1.202 MB / 3.128 GB, free: 41.88 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001003/6.966, allocations: 248 kB / 3.128 GB, free: 41.58 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001334/6.968, allocations: 0.5853 MB / 3.128 GB, free: 40.99 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0001107/6.968, allocations: 41.7 kB / 3.128 GB, free: 40.95 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003716/6.968, allocations: 344.5 kB / 3.129 GB, free: 40.6 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002598/6.968, allocations: 244.5 kB / 3.129 GB, free: 40.36 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.291e-05/6.968, allocations: 8 kB / 3.129 GB, free: 40.35 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0001337/6.969, allocations: 386.8 kB / 3.129 GB, free: 39.96 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009593/6.97, allocations: 249.2 kB / 3.13 GB, free: 39.72 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001136/6.971, allocations: 372.4 kB / 3.13 GB, free: 39.32 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001124/6.972, allocations: 295.1 kB / 3.13 GB, free: 39.04 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.049e-06/6.972, allocations: 0 / 3.13 GB, free: 39.04 MB / 0.948 GB Notification: Performance of matching and sorting (n=78) (initialization): time 0.003499/6.975, allocations: 0.8017 MB / 3.131 GB, free: 38.22 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 2.81e-05/6.976, allocations: 4 kB / 3.131 GB, free: 38.22 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.355e-05/6.976, allocations: 0 / 3.131 GB, free: 38.22 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001038/6.977, allocations: 88.81 kB / 3.131 GB, free: 38.13 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001199/6.978, allocations: 155.8 kB / 3.131 GB, free: 37.98 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002807/6.981, allocations: 1.547 MB / 3.133 GB, free: 36.29 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001287/6.982, allocations: 95.42 kB / 3.133 GB, free: 36.19 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000136/6.982, allocations: 27.98 kB / 3.133 GB, free: 36.16 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.0007923/6.983, allocations: 251.2 kB / 3.133 GB, free: 35.91 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003799/6.983, allocations: 79.02 kB / 3.133 GB, free: 35.83 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00487/6.988, allocations: 1.134 MB / 3.134 GB, free: 34.68 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.372e-05/6.988, allocations: 8 kB / 3.134 GB, free: 34.67 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.247e-06/6.988, allocations: 0 / 3.134 GB, free: 34.67 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.751e-05/6.988, allocations: 3.984 kB / 3.134 GB, free: 34.66 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001947/6.99, allocations: 0.8567 MB / 3.135 GB, free: 33.76 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.506e-05/6.99, allocations: 7.984 kB / 3.135 GB, free: 33.75 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001224/6.992, allocations: 155.8 kB / 3.135 GB, free: 33.6 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009245/6.992, allocations: 92.72 kB / 3.135 GB, free: 33.5 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001031/6.993, allocations: 23.97 kB / 3.135 GB, free: 33.48 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002645/6.995, allocations: 1.571 MB / 3.137 GB, free: 31.77 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.31e-06/6.995, allocations: 3.984 kB / 3.137 GB, free: 31.77 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003819/6.999, allocations: 0.9278 MB / 3.138 GB, free: 30.82 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009184/7, allocations: 283.8 kB / 3.138 GB, free: 30.52 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003219/7, allocations: 23.98 kB / 3.138 GB, free: 30.5 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001326/7.002, allocations: 79.89 kB / 3.138 GB, free: 30.42 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002199/7.002, allocations: 60.91 kB / 3.138 GB, free: 30.36 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001354/7.002, allocations: 31.98 kB / 3.138 GB, free: 30.33 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.001271/7.003, allocations: 483 kB / 3.139 GB, free: 29.86 MB / 0.948 GB Notification: Performance of sort global known variables: time 4.71e-07/7.003, allocations: 0 / 3.139 GB, free: 29.86 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.002011/7.006, allocations: 339.3 kB / 3.139 GB, free: 29.53 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.007199/7.013, allocations: 2.409 MB / 3.141 GB, free: 27.21 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.002903/7.016, allocations: 0.7945 MB / 3.142 GB, free: 26.41 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 7.203e-06/7.016, allocations: 4.188 kB / 3.142 GB, free: 26.4 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.001466/7.017, allocations: 0.5276 MB / 3.143 GB, free: 25.86 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001861/7.019, allocations: 228.5 kB / 3.143 GB, free: 25.64 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01197/7.031, allocations: 5.276 MB / 3.148 GB, free: 20.3 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006498/7.032, allocations: 0.9996 MB / 3.149 GB, free: 19.27 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.001209/7.033, allocations: 262.2 kB / 3.149 GB, free: 19.01 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000545/7.034, allocations: 339.3 kB / 3.15 GB, free: 18.68 MB / 0.948 GB Notification: Performance of SimCode: time 1.473e-06/7.034, allocations: 0 / 3.15 GB, free: 18.68 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6276/7.661, allocations: 29.51 MB / 3.178 GB, free: 248.3 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001744/7.661, allocations: 270.2 kB / 3.179 GB, free: 247.9 MB / 0.948 GB Error: Error building simulator. Build log: clang -Os -fPIC -falign-functions -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.1.4-maint.8.1.x/Resources/C-Sources" -c -o Buildings_8_Buildings_BoundaryConditions_WeatherData_Validation_ReaderTMY3HDirNor.o Buildings_8_Buildings_BoundaryConditions_WeatherData_Validation_ReaderTMY3HDirNor.c In file included from Buildings_8_Buildings_BoundaryConditions_WeatherData_Validation_ReaderTMY3HDirNor.c:7: In file included from ./Buildings_8_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 -falign-functions -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.1.4-maint.8.1.x/Resources/C-Sources" -c -o Buildings_8_Buildings_BoundaryConditions_WeatherData_Validation_ReaderTMY3HDirNor_functions.o Buildings_8_Buildings_BoundaryConditions_WeatherData_Validation_ReaderTMY3HDirNor_functions.c In file included from Buildings_8_Buildings_BoundaryConditions_WeatherData_Validation_ReaderTMY3HDirNor_functions.c:2: In file included from ./Buildings_8_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_Buildings_BoundaryConditions_WeatherData_Validation_ReaderTMY3HDirNor_functions.c:7: In file included from ./Buildings_8_Buildings_BoundaryConditions_WeatherData_Validation_ReaderTMY3HDirNor_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_Validation_ReaderTMY3HDirNor_functions.o] Error 1