Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.BoundaryConditions.WeatherData.Examples.ReaderTMY3.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.Examples.ReaderTMY3,fileNamePrefix="Buildings_7_0_0_Buildings_BoundaryConditions_WeatherData_Examples_ReaderTMY3",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.233/2.233, allocations: 251 MB / 265.9 MB, free: 11.75 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.001617/0.001617, allocations: 173.8 kB / 325.5 MB, free: 2.941 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.453/2.453, allocations: 205.4 MB / 0.5764 GB, free: 20.85 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.001245/0.001244, allocations: 97.98 kB / 0.6809 GB, free: 13.68 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0007084/0.0007087, allocations: 13.09 kB / 0.795 GB, free: 135.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2461/0.2469, allocations: 106.3 MB / 0.8988 GB, free: 65.54 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 7.455/7.702, allocations: 2.19 GB / 3.088 GB, free: 247.5 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003401/7.703, allocations: 87.7 kB / 3.088 GB, free: 247.5 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 0.3767/8.079, allocations: 89.98 MB / 3.176 GB, free: 232.7 MB / 0.8855 GB Notification: Performance of FrontEnd: time 3.717e-06/8.079, allocations: 0 / 3.176 GB, free: 232.7 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 0.0001636/8.08, allocations: 46.98 kB / 3.176 GB, free: 232.7 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: 335 * Number of variables: 335 Notification: Performance of Generate backend data structure: time 0.005092/8.085, allocations: 1.845 MB / 3.178 GB, free: 231.4 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 5.149e-05/8.085, allocations: 7.812 kB / 3.178 GB, free: 231.4 MB / 0.8855 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005001/8.085, allocations: 197.9 kB / 3.178 GB, free: 231.4 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003074/8.088, allocations: 380.2 kB / 3.179 GB, free: 231.2 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00271/8.091, allocations: 1.012 MB / 3.18 GB, free: 230.6 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.555e-05/8.091, allocations: 99.77 kB / 3.18 GB, free: 230.6 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002677/8.091, allocations: 123.1 kB / 3.18 GB, free: 230.6 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004033/8.096, allocations: 1.497 MB / 3.181 GB, free: 230 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.068e-05/8.096, allocations: 7.844 kB / 3.181 GB, free: 230 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002236/8.096, allocations: 59.53 kB / 3.181 GB, free: 230 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.059e-05/8.096, allocations: 35.16 kB / 3.181 GB, free: 230 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005144/8.101, allocations: 2.043 MB / 3.183 GB, free: 229.4 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01059/8.112, allocations: 4.472 MB / 3.188 GB, free: 227.1 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004479/8.116, allocations: 1.439 MB / 3.189 GB, free: 226.8 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002192/8.116, allocations: 59.22 kB / 3.189 GB, free: 226.8 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002253/8.119, allocations: 0.8069 MB / 3.19 GB, free: 226.5 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=136): time 4.358e-06/8.119, allocations: 0 / 3.19 GB, free: 226.5 MB / 0.8855 GB Notification: Performance of matching and sorting (n=136): time 0.009624/8.128, allocations: 2.152 MB / 3.192 GB, free: 225.9 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000161/8.129, allocations: 461.7 kB / 3.193 GB, free: 225.3 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00222/8.131, allocations: 1.051 MB / 3.194 GB, free: 225 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 0.0002889/8.131, allocations: 51.98 kB / 3.194 GB, free: 225 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005861/8.132, allocations: 0.6079 MB / 3.194 GB, free: 224.7 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004489/8.132, allocations: 446.3 kB / 3.195 GB, free: 224.4 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001332/8.132, allocations: 22.59 kB / 3.195 GB, free: 224.4 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001045/8.132, allocations: 355.9 kB / 3.195 GB, free: 224 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001612/8.134, allocations: 435.9 kB / 3.195 GB, free: 224 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001765/8.136, allocations: 0.6587 MB / 3.196 GB, free: 223.7 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001722/8.138, allocations: 0.529 MB / 3.197 GB, free: 223.6 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.873e-06/8.138, allocations: 0 / 3.197 GB, free: 223.6 MB / 0.8855 GB Notification: Performance of matching and sorting (n=147) (initialization): time 0.005856/8.143, allocations: 1.424 MB / 3.198 GB, free: 223.3 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 2.8e-05/8.144, allocations: 5.969 kB / 3.198 GB, free: 223.3 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.368e-05/8.144, allocations: 8.188 kB / 3.198 GB, free: 223.3 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001889/8.145, allocations: 166.5 kB / 3.198 GB, free: 223.2 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00228/8.148, allocations: 272.9 kB / 3.198 GB, free: 223.1 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005313/8.153, allocations: 3.087 MB / 3.201 GB, free: 220.4 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002385/8.156, allocations: 163.6 kB / 3.202 GB, free: 220.3 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002261/8.156, allocations: 52.88 kB / 3.202 GB, free: 220.3 MB / 0.8855 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 12 ($whenCondition4,$whenCondition3,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext,$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 (143): * Single equations (assignments): 141 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 2,1 2} Notification: Performance of prepare postOptimizeDAE: time 0.001232/8.157, allocations: 382.8 kB / 3.202 GB, free: 220.2 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005332/8.158, allocations: 151.2 kB / 3.202 GB, free: 220.1 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007959/8.166, allocations: 2.011 MB / 3.204 GB, free: 219.5 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.369e-05/8.166, allocations: 23.44 kB / 3.204 GB, free: 219.5 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.957e-06/8.166, allocations: 0 / 3.204 GB, free: 219.5 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.819e-05/8.166, allocations: 7.969 kB / 3.204 GB, free: 219.5 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003234/8.169, allocations: 1.516 MB / 3.206 GB, free: 218.8 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.397e-05/8.169, allocations: 4 kB / 3.206 GB, free: 218.8 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002294/8.171, allocations: 276.3 kB / 3.206 GB, free: 218.8 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001738/8.173, allocations: 177 kB / 3.206 GB, free: 218.7 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003315/8.173, allocations: 42.12 kB / 3.206 GB, free: 218.7 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004897/8.178, allocations: 3.142 MB / 3.209 GB, free: 215.9 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.939e-06/8.178, allocations: 3.938 kB / 3.209 GB, free: 215.9 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006381/8.185, allocations: 1.651 MB / 3.211 GB, free: 215.1 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001485/8.186, allocations: 485 kB / 3.211 GB, free: 214.7 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003634/8.187, allocations: 31.38 kB / 3.211 GB, free: 214.7 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001954/8.189, allocations: 141.1 kB / 3.211 GB, free: 214.6 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003531/8.189, allocations: 120.2 kB / 3.212 GB, free: 214.5 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001949/8.189, allocations: 54.38 kB / 3.212 GB, free: 214.5 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.001752/8.191, allocations: 0.8361 MB / 3.212 GB, free: 214 MB / 0.8855 GB Notification: Performance of sort global known variables: time 4.31e-07/8.191, allocations: 0 / 3.212 GB, free: 214 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.002529/8.194, allocations: 0.511 MB / 3.213 GB, free: 213.9 MB / 0.8855 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition4,$whenCondition3,weaDat.conTimMin.tNext,weaDat.conTim.tNext,$whenCondition2,$whenCondition1,weaDatInpCon.conTimMin.tNext,weaDatInpCon.conTim.tNext) * Number of discrete states: 4 (weaDatInpCon.conTimMin.tNext,weaDatInpCon.conTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (161): * Single equations (assignments): 155 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 3,1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.008932/8.203, allocations: 3.279 MB / 3.216 GB, free: 211.9 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.00523/8.208, allocations: 1.448 MB / 3.218 GB, free: 211.1 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 1.351e-05/8.208, allocations: 7.812 kB / 3.218 GB, free: 211.1 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.00309/8.211, allocations: 0.9738 MB / 3.219 GB, free: 210.5 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003838/8.215, allocations: 468.6 kB / 3.219 GB, free: 210.3 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0309/8.246, allocations: 10.19 MB / 3.229 GB, free: 202.7 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009895/8.247, allocations: 1.316 MB / 3.23 GB, free: 201.4 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.0031/8.25, allocations: 0.4994 MB / 3.231 GB, free: 200.9 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001753/8.252, allocations: 0.6632 MB / 3.231 GB, free: 200.2 MB / 0.8855 GB Notification: Performance of SimCode: time 1.092e-06/8.252, allocations: 0 / 3.231 GB, free: 200.2 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1262/8.378, allocations: 46.45 MB / 3.277 GB, free: 154 MB / 0.8855 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002499/8.378, allocations: 260.3 kB / 3.277 GB, free: 153.7 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_Examples_ReaderTMY3.o Buildings_7_0_0_Buildings_BoundaryConditions_WeatherData_Examples_ReaderTMY3.c In file included from Buildings_7_0_0_Buildings_BoundaryConditions_WeatherData_Examples_ReaderTMY3.c:7: In file included from ./Buildings_7_0_0_Buildings_BoundaryConditions_WeatherData_Examples_ReaderTMY3_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_Examples_ReaderTMY3_functions.o Buildings_7_0_0_Buildings_BoundaryConditions_WeatherData_Examples_ReaderTMY3_functions.c In file included from Buildings_7_0_0_Buildings_BoundaryConditions_WeatherData_Examples_ReaderTMY3_functions.c:2: In file included from ./Buildings_7_0_0_Buildings_BoundaryConditions_WeatherData_Examples_ReaderTMY3_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_Examples_ReaderTMY3_functions.c:7: In file included from ./Buildings_7_0_0_Buildings_BoundaryConditions_WeatherData_Examples_ReaderTMY3_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_Examples_ReaderTMY3_functions.o' failed make: *** [Buildings_7_0_0_Buildings_BoundaryConditions_WeatherData_Examples_ReaderTMY3_functions.o] Error 1