Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation.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.Utilities.IO.SignalExchange.Examples.WeatherStation,fileNamePrefix="Buildings_8_Buildings_Utilities_IO_SignalExchange_Examples_WeatherStation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation,fileNamePrefix="Buildings_8_Buildings_Utilities_IO_SignalExchange_Examples_WeatherStation",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.904/1.904, allocations: 292.6 MB / 307.5 MB, free: 5.191 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.001214/0.001213, allocations: 181 kB / 377.1 MB, free: 1.527 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.661/1.661, allocations: 205.4 MB / 0.6366 GB, free: 8.555 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.0009478/0.0009478, allocations: 82.73 kB / 0.7509 GB, free: 63.05 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003826/0.0003826, allocations: 8 kB / 0.8749 GB, free: 11.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3099/0.3103, allocations: 116.3 MB / 0.9884 GB, free: 6.648 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.637/5.948, allocations: 2.074 GB / 3.062 GB, free: 107.5 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002629/5.948, allocations: 100.4 kB / 3.062 GB, free: 107.5 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 0.1287/6.077, allocations: 62.77 MB / 3.124 GB, free: 45.86 MB / 0.948 GB Notification: Performance of FrontEnd: time 2.665e-06/6.077, allocations: 0 / 3.124 GB, free: 45.86 MB / 0.948 GB Notification: Performance of Transformations before backend: time 9.092e-05/6.077, allocations: 39.88 kB / 3.124 GB, free: 45.82 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: 235 * Number of variables: 235 Notification: Performance of Generate backend data structure: time 0.002043/6.079, allocations: 1.347 MB / 3.125 GB, free: 44.42 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.618e-05/6.079, allocations: 12.02 kB / 3.125 GB, free: 44.41 MB / 0.948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001508/6.079, allocations: 147.8 kB / 3.125 GB, free: 44.26 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000839/6.08, allocations: 218.2 kB / 3.125 GB, free: 44.04 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001198/6.081, allocations: 0.7678 MB / 3.126 GB, free: 43.23 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.45e-05/6.081, allocations: 70 kB / 3.126 GB, free: 43.16 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.521e-05/6.081, allocations: 92.56 kB / 3.126 GB, free: 43.07 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001348/6.083, allocations: 0.9496 MB / 3.127 GB, free: 42.09 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.15e-05/6.083, allocations: 3.938 kB / 3.127 GB, free: 42.08 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.798e-05/6.083, allocations: 44 kB / 3.127 GB, free: 42.04 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.608e-05/6.083, allocations: 20 kB / 3.127 GB, free: 42.02 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00141/6.084, allocations: 1.121 MB / 3.128 GB, free: 40.89 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003361/6.088, allocations: 2.707 MB / 3.131 GB, free: 38.12 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001039/6.089, allocations: 0.7178 MB / 3.132 GB, free: 37.39 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 8.038e-05/6.089, allocations: 28.61 kB / 3.132 GB, free: 37.36 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006827/6.09, allocations: 425.8 kB / 3.132 GB, free: 36.93 MB / 0.948 GB Notification: Performance of pre-optimization done (n=69): time 3.517e-06/6.09, allocations: 0 / 3.132 GB, free: 36.93 MB / 0.948 GB Notification: Performance of matching and sorting (n=69): time 0.002715/6.092, allocations: 1.087 MB / 3.133 GB, free: 35.82 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.118e-05/6.092, allocations: 239.9 kB / 3.134 GB, free: 35.52 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008354/6.093, allocations: 0.7038 MB / 3.134 GB, free: 34.82 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 6.066e-05/6.093, allocations: 45.69 kB / 3.134 GB, free: 34.77 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003324/6.094, allocations: 484 kB / 3.135 GB, free: 34.29 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001636/6.094, allocations: 228.6 kB / 3.135 GB, free: 34.06 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.433e-05/6.094, allocations: 16.84 kB / 3.135 GB, free: 34.04 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 9.309e-05/6.094, allocations: 325.9 kB / 3.135 GB, free: 33.72 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003981/6.094, allocations: 217.1 kB / 3.135 GB, free: 33.51 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005231/6.095, allocations: 323.7 kB / 3.136 GB, free: 33.16 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004858/6.095, allocations: 259.1 kB / 3.136 GB, free: 32.91 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.296e-06/6.095, allocations: 0 / 3.136 GB, free: 32.91 MB / 0.948 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.001659/6.097, allocations: 0.7273 MB / 3.137 GB, free: 32.17 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 2.306e-05/6.097, allocations: 8 kB / 3.137 GB, free: 32.16 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.668e-06/6.097, allocations: 1.219 kB / 3.137 GB, free: 32.16 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006154/6.098, allocations: 84.83 kB / 3.137 GB, free: 32.08 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005318/6.098, allocations: 131.8 kB / 3.137 GB, free: 31.95 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001875/6.1, allocations: 1.547 MB / 3.138 GB, free: 30.26 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006165/6.101, allocations: 79.58 kB / 3.139 GB, free: 30.18 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.968e-05/6.101, allocations: 23.98 kB / 3.139 GB, free: 30.16 MB / 0.948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition2,$whenCondition1,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (71): * Single equations (assignments): 70 * 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.0005399/6.101, allocations: 278.3 kB / 3.139 GB, free: 29.88 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001243/6.102, allocations: 99.62 kB / 3.139 GB, free: 29.78 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001963/6.103, allocations: 0.9955 MB / 3.14 GB, free: 28.77 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.553e-06/6.104, allocations: 8 kB / 3.14 GB, free: 28.76 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.983e-06/6.104, allocations: 4 kB / 3.14 GB, free: 28.76 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.427e-06/6.104, allocations: 7.969 kB / 3.14 GB, free: 28.75 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009431/6.104, allocations: 0.9543 MB / 3.141 GB, free: 27.74 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.731e-06/6.104, allocations: 3.953 kB / 3.141 GB, free: 27.74 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005134/6.105, allocations: 139.8 kB / 3.141 GB, free: 27.6 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004929/6.106, allocations: 84.77 kB / 3.141 GB, free: 27.52 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.766e-05/6.106, allocations: 26.05 kB / 3.141 GB, free: 27.49 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001463/6.107, allocations: 1.567 MB / 3.143 GB, free: 25.79 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.254e-06/6.107, allocations: 3.938 kB / 3.143 GB, free: 25.78 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001468/6.109, allocations: 0.8412 MB / 3.143 GB, free: 24.92 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003592/6.109, allocations: 295.5 kB / 3.144 GB, free: 24.61 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.88e-05/6.109, allocations: 16 kB / 3.144 GB, free: 24.59 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005212/6.11, allocations: 71.94 kB / 3.144 GB, free: 24.52 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001051/6.11, allocations: 60.86 kB / 3.144 GB, free: 24.46 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.804e-05/6.11, allocations: 23.98 kB / 3.144 GB, free: 24.44 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.0005914/6.11, allocations: 0.5732 MB / 3.144 GB, free: 23.87 MB / 0.948 GB Notification: Performance of sort global known variables: time 2.91e-07/6.11, allocations: 0 / 3.144 GB, free: 23.87 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0009777/6.111, allocations: 355 kB / 3.145 GB, free: 23.52 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,weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Number of discrete states: 2 (weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (80): * Single equations (assignments): 77 * 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.003354/6.115, allocations: 2.32 MB / 3.147 GB, free: 21.3 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.001244/6.116, allocations: 0.7088 MB / 3.148 GB, free: 20.58 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 2.484e-06/6.116, allocations: 4 kB / 3.148 GB, free: 20.57 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0006882/6.117, allocations: 484.3 kB / 3.148 GB, free: 20.09 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001216/6.118, allocations: 374.9 kB / 3.149 GB, free: 19.73 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008331/6.126, allocations: 5.834 MB / 3.154 GB, free: 13.72 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000469/6.127, allocations: 1.094 MB / 3.155 GB, free: 12.59 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.0008822/6.128, allocations: 282.9 kB / 3.156 GB, free: 12.31 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004846/6.128, allocations: 427.3 kB / 3.156 GB, free: 11.89 MB / 0.948 GB Notification: Performance of SimCode: time 6.71e-07/6.128, allocations: 4 kB / 3.156 GB, free: 11.89 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5167/6.645, allocations: 32.42 MB / 3.188 GB, free: 241.4 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001954/6.645, allocations: 257.9 kB / 3.188 GB, free: 241 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_Utilities_IO_SignalExchange_Examples_WeatherStation.o Buildings_8_Buildings_Utilities_IO_SignalExchange_Examples_WeatherStation.c In file included from Buildings_8_Buildings_Utilities_IO_SignalExchange_Examples_WeatherStation.c:7: In file included from ./Buildings_8_Buildings_Utilities_IO_SignalExchange_Examples_WeatherStation_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_Utilities_IO_SignalExchange_Examples_WeatherStation_functions.o Buildings_8_Buildings_Utilities_IO_SignalExchange_Examples_WeatherStation_functions.c In file included from Buildings_8_Buildings_Utilities_IO_SignalExchange_Examples_WeatherStation_functions.c:2: In file included from ./Buildings_8_Buildings_Utilities_IO_SignalExchange_Examples_WeatherStation_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_Utilities_IO_SignalExchange_Examples_WeatherStation_functions.c:7: In file included from ./Buildings_8_Buildings_Utilities_IO_SignalExchange_Examples_WeatherStation_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_Utilities_IO_SignalExchange_Examples_WeatherStation_functions.o] Error 1