Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor.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.Validation.ReaderTMY3HDirNor,fileNamePrefix="Buildings_7_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 7.0.1/package.mo): time 2.197/2.197, allocations: 248.5 MB / 261.1 MB, free: 5.965 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.002225/0.002225, allocations: 184 kB / 320.4 MB, free: 15.34 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.085/2.085, allocations: 205.2 MB / 0.571 GB, free: 11.81 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.001192/0.001191, allocations: 97.42 kB / 0.6754 GB, free: 0.8867 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 4.359e-05/4.37e-05, allocations: 4 kB / 0.7869 GB, free: 97.82 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2199/0.22, allocations: 106.3 MB / 0.8907 GB, free: 7.469 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 7.246/7.466, allocations: 2.19 GB / 3.08 GB, free: 144.1 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004028/7.467, allocations: 84.77 kB / 3.081 GB, free: 144.1 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.2689/7.736, allocations: 57.66 MB / 3.137 GB, free: 91.1 MB / 0.8698 GB Notification: Performance of FrontEnd: time 2.294e-06/7.736, allocations: 4 kB / 3.137 GB, free: 91.09 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 8.855e-05/7.736, allocations: 16 kB / 3.137 GB, free: 91.08 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: 174 * Number of variables: 174 Notification: Performance of Generate backend data structure: time 0.002789/7.739, allocations: 1.096 MB / 3.138 GB, free: 89.93 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 5.285e-05/7.739, allocations: 8.031 kB / 3.138 GB, free: 89.92 MB / 0.8698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002077/7.739, allocations: 114.5 kB / 3.138 GB, free: 89.8 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001843/7.741, allocations: 198.6 kB / 3.138 GB, free: 89.61 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001555/7.743, allocations: 0.5959 MB / 3.139 GB, free: 88.97 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.112e-05/7.743, allocations: 57.98 kB / 3.139 GB, free: 88.91 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001406/7.743, allocations: 68 kB / 3.139 GB, free: 88.85 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001826/7.745, allocations: 0.7827 MB / 3.14 GB, free: 88.02 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.884e-05/7.745, allocations: 0 / 3.14 GB, free: 88.02 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001211/7.745, allocations: 32 kB / 3.14 GB, free: 87.99 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.85e-05/7.745, allocations: 16 kB / 3.14 GB, free: 87.97 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002175/7.747, allocations: 1.007 MB / 3.141 GB, free: 86.97 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006114/7.753, allocations: 2.379 MB / 3.143 GB, free: 84.51 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001769/7.755, allocations: 0.688 MB / 3.144 GB, free: 83.81 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006428/7.756, allocations: 279.1 kB / 3.144 GB, free: 83.54 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000133/7.756, allocations: 40.73 kB / 3.144 GB, free: 83.5 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001001/7.757, allocations: 422.4 kB / 3.144 GB, free: 83.07 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=73): time 3.887e-06/7.757, allocations: 4 kB / 3.144 GB, free: 83.07 MB / 0.8698 GB Notification: Performance of matching and sorting (n=73): time 0.002724/7.76, allocations: 0.7187 MB / 3.145 GB, free: 82.34 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.799e-05/7.76, allocations: 240.1 kB / 3.145 GB, free: 82.05 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001387/7.761, allocations: 0.5738 MB / 3.146 GB, free: 81.47 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 0.0001967/7.761, allocations: 37.7 kB / 3.146 GB, free: 81.43 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003139/7.762, allocations: 348.5 kB / 3.146 GB, free: 81.08 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002478/7.762, allocations: 244.5 kB / 3.147 GB, free: 80.84 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.309e-05/7.762, allocations: 12 kB / 3.147 GB, free: 80.82 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001267/7.762, allocations: 382.8 kB / 3.147 GB, free: 80.44 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005919/7.763, allocations: 213.5 kB / 3.147 GB, free: 80.23 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006925/7.764, allocations: 322 kB / 3.147 GB, free: 79.89 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000666/7.764, allocations: 258 kB / 3.148 GB, free: 79.63 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.37e-06/7.764, allocations: 4 kB / 3.148 GB, free: 79.63 MB / 0.8698 GB Notification: Performance of matching and sorting (n=78) (initialization): time 0.002603/7.767, allocations: 0.7188 MB / 3.148 GB, free: 78.9 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 2.648e-05/7.767, allocations: 4 kB / 3.148 GB, free: 78.89 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.003e-05/7.767, allocations: 0 / 3.148 GB, free: 78.89 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009603/7.768, allocations: 88.86 kB / 3.148 GB, free: 78.8 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001352/7.769, allocations: 151.8 kB / 3.149 GB, free: 78.66 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002626/7.772, allocations: 1.536 MB / 3.15 GB, free: 76.98 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001374/7.773, allocations: 91.45 kB / 3.15 GB, free: 76.89 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001718/7.774, allocations: 28.05 kB / 3.15 GB, free: 76.86 MB / 0.8698 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.0002952/7.774, allocations: 144.8 kB / 3.15 GB, free: 76.71 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002853/7.774, allocations: 87 kB / 3.15 GB, free: 76.63 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003951/7.778, allocations: 1.043 MB / 3.151 GB, free: 75.57 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.556e-05/7.778, allocations: 12 kB / 3.151 GB, free: 75.55 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.25e-06/7.778, allocations: 0 / 3.151 GB, free: 75.55 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.903e-05/7.778, allocations: 11.94 kB / 3.151 GB, free: 75.54 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001581/7.78, allocations: 0.8563 MB / 3.152 GB, free: 74.64 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.075e-06/7.78, allocations: 4 kB / 3.152 GB, free: 74.63 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001349/7.781, allocations: 163.8 kB / 3.152 GB, free: 74.47 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008683/7.782, allocations: 84.77 kB / 3.153 GB, free: 74.39 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001549/7.782, allocations: 23.98 kB / 3.153 GB, free: 74.36 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002388/7.785, allocations: 1.559 MB / 3.154 GB, free: 72.67 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.134e-06/7.785, allocations: 4.062 kB / 3.154 GB, free: 72.66 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002762/7.787, allocations: 0.8284 MB / 3.155 GB, free: 71.81 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007185/7.788, allocations: 287.8 kB / 3.155 GB, free: 71.51 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000191/7.788, allocations: 20 kB / 3.155 GB, free: 71.49 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001104/7.79, allocations: 75.94 kB / 3.155 GB, free: 71.42 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002101/7.79, allocations: 60.69 kB / 3.155 GB, free: 71.36 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001056/7.79, allocations: 35.91 kB / 3.155 GB, free: 71.32 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.0008293/7.791, allocations: 475.1 kB / 3.156 GB, free: 70.87 MB / 0.8698 GB Notification: Performance of sort global known variables: time 4.5e-07/7.791, allocations: 0 / 3.156 GB, free: 70.87 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.001535/7.792, allocations: 351.2 kB / 3.156 GB, free: 70.52 MB / 0.8698 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.005266/7.798, allocations: 2.292 MB / 3.158 GB, free: 68.35 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.002147/7.8, allocations: 0.7058 MB / 3.159 GB, free: 67.63 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 7.194e-06/7.8, allocations: 4.188 kB / 3.159 GB, free: 67.62 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.001244/7.801, allocations: 491 kB / 3.16 GB, free: 67.13 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00189/7.803, allocations: 239.5 kB / 3.16 GB, free: 66.89 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006168/7.809, allocations: 1.536 MB / 3.161 GB, free: 65.32 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005283/7.81, allocations: 1.006 MB / 3.162 GB, free: 64.29 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.001556/7.811, allocations: 266.1 kB / 3.163 GB, free: 64.02 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007824/7.812, allocations: 335.3 kB / 3.163 GB, free: 63.7 MB / 0.8698 GB Notification: Performance of SimCode: time 1.383e-06/7.812, allocations: 0 / 3.163 GB, free: 63.7 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08913/7.901, allocations: 31.19 MB / 3.193 GB, free: 32.7 MB / 0.8698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002982/7.902, allocations: 252.4 kB / 3.194 GB, free: 32.36 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_Validation_ReaderTMY3HDirNor.o Buildings_7_0_0_Buildings_BoundaryConditions_WeatherData_Validation_ReaderTMY3HDirNor.c In file included from Buildings_7_0_0_Buildings_BoundaryConditions_WeatherData_Validation_ReaderTMY3HDirNor.c:7: In file included from ./Buildings_7_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 7.0.1/Resources/C-Sources" -c -o Buildings_7_0_0_Buildings_BoundaryConditions_WeatherData_Validation_ReaderTMY3HDirNor_functions.o Buildings_7_0_0_Buildings_BoundaryConditions_WeatherData_Validation_ReaderTMY3HDirNor_functions.c In file included from Buildings_7_0_0_Buildings_BoundaryConditions_WeatherData_Validation_ReaderTMY3HDirNor_functions.c:2: In file included from ./Buildings_7_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_7_0_0_Buildings_BoundaryConditions_WeatherData_Validation_ReaderTMY3HDirNor_functions.c:7: In file included from ./Buildings_7_0_0_Buildings_BoundaryConditions_WeatherData_Validation_ReaderTMY3HDirNor_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_Validation_ReaderTMY3HDirNor_functions.o' failed make: *** [Buildings_7_0_0_Buildings_BoundaryConditions_WeatherData_Validation_ReaderTMY3HDirNor_functions.o] Error 1