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.49/2.49, allocations: 251 MB / 265.9 MB, free: 11.7 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001637/0.001636, allocations: 183.9 kB / 325.5 MB, free: 2.902 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.468/2.468, allocations: 205.4 MB / 0.5764 GB, free: 20.79 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.001262/0.001261, allocations: 88.19 kB / 0.6809 GB, free: 13.64 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004915/0.0004914, allocations: 9.062 kB / 0.795 GB, free: 135.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2203/0.2208, allocations: 106.3 MB / 0.8988 GB, free: 65.46 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 7.961/8.182, allocations: 2.19 GB / 3.089 GB, free: 247.3 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003331/8.182, allocations: 89.3 kB / 3.089 GB, free: 247.3 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 0.2296/8.412, allocations: 57.97 MB / 3.145 GB, free: 242.3 MB / 0.8855 GB Notification: Performance of FrontEnd: time 2.716e-06/8.412, allocations: 0 / 3.145 GB, free: 242.3 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 0.0001034/8.412, allocations: 19.53 kB / 3.145 GB, free: 242.3 MB / 0.8855 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.003682/8.416, allocations: 1.212 MB / 3.147 GB, free: 241.5 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 5.079e-05/8.416, allocations: 7.656 kB / 3.147 GB, free: 241.5 MB / 0.8855 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004484/8.416, allocations: 116.8 kB / 3.147 GB, free: 241.5 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002048/8.418, allocations: 207.2 kB / 3.147 GB, free: 241.4 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001755/8.42, allocations: 0.5984 MB / 3.147 GB, free: 241.1 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.89e-05/8.42, allocations: 50.22 kB / 3.148 GB, free: 241.1 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001494/8.421, allocations: 63.59 kB / 3.148 GB, free: 241.1 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002395/8.423, allocations: 0.832 MB / 3.148 GB, free: 240.9 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.175e-05/8.423, allocations: 0 / 3.148 GB, free: 240.9 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00013/8.423, allocations: 28.69 kB / 3.148 GB, free: 240.9 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.864e-05/8.423, allocations: 19.53 kB / 3.148 GB, free: 240.9 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003267/8.426, allocations: 1.087 MB / 3.149 GB, free: 240.9 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006124/8.433, allocations: 2.379 MB / 3.152 GB, free: 240 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002286/8.435, allocations: 0.7585 MB / 3.153 GB, free: 240 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001452/8.435, allocations: 38.73 kB / 3.153 GB, free: 240 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00141/8.437, allocations: 466 kB / 3.153 GB, free: 239.9 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=73): time 3.477e-06/8.437, allocations: 3.938 kB / 3.153 GB, free: 239.9 MB / 0.8855 GB Notification: Performance of matching and sorting (n=73): time 0.005782/8.442, allocations: 1.195 MB / 3.154 GB, free: 239.7 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.404e-05/8.443, allocations: 243.9 kB / 3.154 GB, free: 239.4 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001236/8.444, allocations: 0.5781 MB / 3.155 GB, free: 239.3 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 0.0002489/8.444, allocations: 38.61 kB / 3.155 GB, free: 239.3 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003321/8.444, allocations: 355.1 kB / 3.155 GB, free: 239.1 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003028/8.445, allocations: 234 kB / 3.156 GB, free: 238.9 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.683e-05/8.445, allocations: 18.16 kB / 3.156 GB, free: 238.9 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001453/8.445, allocations: 380.9 kB / 3.156 GB, free: 238.6 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00108/8.446, allocations: 250.4 kB / 3.156 GB, free: 238.6 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001164/8.447, allocations: 370.4 kB / 3.157 GB, free: 238.5 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001098/8.448, allocations: 294.4 kB / 3.157 GB, free: 238.5 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.421e-06/8.448, allocations: 0 / 3.157 GB, free: 238.5 MB / 0.8855 GB Notification: Performance of matching and sorting (n=78) (initialization): time 0.003507/8.452, allocations: 0.8063 MB / 3.158 GB, free: 238.4 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 2.605e-05/8.452, allocations: 3.812 kB / 3.158 GB, free: 238.4 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.037e-05/8.452, allocations: 0 / 3.158 GB, free: 238.4 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009903/8.453, allocations: 84.78 kB / 3.158 GB, free: 238.4 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001355/8.454, allocations: 157.8 kB / 3.158 GB, free: 238.4 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002731/8.457, allocations: 1.549 MB / 3.159 GB, free: 237.1 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001378/8.459, allocations: 85.34 kB / 3.159 GB, free: 237 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001399/8.459, allocations: 34.08 kB / 3.16 GB, free: 237 MB / 0.8855 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.0007178/8.459, allocations: 255.3 kB / 3.16 GB, free: 236.9 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003106/8.46, allocations: 78.22 kB / 3.16 GB, free: 236.9 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004601/8.464, allocations: 1.135 MB / 3.161 GB, free: 236.7 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.485e-05/8.464, allocations: 11.81 kB / 3.161 GB, free: 236.7 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.24e-06/8.464, allocations: 0 / 3.161 GB, free: 236.7 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.867e-05/8.465, allocations: 7.75 kB / 3.161 GB, free: 236.7 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001738/8.466, allocations: 0.8657 MB / 3.162 GB, free: 236.4 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.913e-06/8.466, allocations: 3.969 kB / 3.162 GB, free: 236.4 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001324/8.468, allocations: 160 kB / 3.162 GB, free: 236.4 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000874/8.469, allocations: 85.5 kB / 3.162 GB, free: 236.4 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001343/8.469, allocations: 20.77 kB / 3.162 GB, free: 236.4 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002559/8.471, allocations: 1.572 MB / 3.164 GB, free: 235.1 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.487e-06/8.471, allocations: 3.953 kB / 3.164 GB, free: 235.1 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00364/8.475, allocations: 0.9177 MB / 3.164 GB, free: 235 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007922/8.476, allocations: 291 kB / 3.165 GB, free: 234.8 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001993/8.476, allocations: 17.97 kB / 3.165 GB, free: 234.8 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001142/8.477, allocations: 78.56 kB / 3.165 GB, free: 234.8 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002112/8.477, allocations: 62.53 kB / 3.165 GB, free: 234.8 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001018/8.478, allocations: 34.33 kB / 3.165 GB, free: 234.8 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.0009/8.478, allocations: 481.9 kB / 3.165 GB, free: 234.7 MB / 0.8855 GB Notification: Performance of sort global known variables: time 3.91e-07/8.478, allocations: 0 / 3.165 GB, free: 234.7 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.001653/8.48, allocations: 353 kB / 3.166 GB, free: 234.6 MB / 0.8855 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.005976/8.486, allocations: 2.413 MB / 3.168 GB, free: 233.6 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.00298/8.489, allocations: 0.7897 MB / 3.169 GB, free: 233.4 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 6.612e-06/8.489, allocations: 3.906 kB / 3.169 GB, free: 233.4 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.001534/8.491, allocations: 0.5208 MB / 3.169 GB, free: 233.3 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001895/8.493, allocations: 243 kB / 3.17 GB, free: 233.3 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01484/8.508, allocations: 5.254 MB / 3.175 GB, free: 231.3 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005705/8.508, allocations: 1.018 MB / 3.176 GB, free: 230.6 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.001621/8.51, allocations: 264.8 kB / 3.176 GB, free: 230.5 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007293/8.511, allocations: 341 kB / 3.176 GB, free: 230.5 MB / 0.8855 GB Notification: Performance of SimCode: time 1.082e-06/8.511, allocations: 0 / 3.176 GB, free: 230.5 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08107/8.592, allocations: 29.52 MB / 3.205 GB, free: 216.5 MB / 0.8855 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003042/8.592, allocations: 274.4 kB / 3.205 GB, free: 216.1 MB / 0.8855 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 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: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 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: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_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