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.722/1.722, allocations: 289.7 MB / 302.2 MB, free: 2.168 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.00109/0.00109, allocations: 186.4 kB / 371.6 MB, free: 3.387 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.73/1.73, allocations: 205.1 MB / 0.6309 GB, free: 11.75 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.001025/0.001024, allocations: 93.94 kB / 0.745 GB, free: 54.65 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 4.385e-05/4.387e-05, allocations: 4 kB / 0.8663 GB, free: 14.96 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3407/0.3408, allocations: 116.3 MB / 0.9799 GB, free: 10.5 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.419/6.76, allocations: 2.074 GB / 3.054 GB, free: 167.4 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002833/6.76, allocations: 93.03 kB / 3.054 GB, free: 167.3 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 0.1331/6.894, allocations: 62.46 MB / 3.115 GB, free: 104.7 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.873e-06/6.894, allocations: 0 / 3.115 GB, free: 104.7 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0001535/6.894, allocations: 35.94 kB / 3.115 GB, free: 104.7 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.002693/6.896, allocations: 1.2 MB / 3.116 GB, free: 103.5 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 6.028e-05/6.897, allocations: 9.719 kB / 3.116 GB, free: 103.5 MB / 0.948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003211/6.897, allocations: 143.8 kB / 3.116 GB, free: 103.3 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001228/6.898, allocations: 218.2 kB / 3.116 GB, free: 103.1 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001747/6.9, allocations: 0.7717 MB / 3.117 GB, free: 102.3 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.046e-05/6.9, allocations: 70 kB / 3.117 GB, free: 102.2 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001297/6.9, allocations: 84 kB / 3.117 GB, free: 102.1 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001614/6.902, allocations: 0.9263 MB / 3.118 GB, free: 101.2 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.509e-05/6.902, allocations: 0 / 3.118 GB, free: 101.2 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001002/6.902, allocations: 40 kB / 3.118 GB, free: 101.1 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.976e-05/6.902, allocations: 24 kB / 3.118 GB, free: 101.1 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001587/6.903, allocations: 1.065 MB / 3.119 GB, free: 100 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003825/6.907, allocations: 2.714 MB / 3.122 GB, free: 97.25 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00086/6.908, allocations: 0.6795 MB / 3.123 GB, free: 96.56 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003087/6.909, allocations: 251.2 kB / 3.123 GB, free: 96.31 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 7.261e-05/6.909, allocations: 24.59 kB / 3.123 GB, free: 96.29 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005433/6.909, allocations: 401.9 kB / 3.123 GB, free: 95.88 MB / 0.948 GB Notification: Performance of pre-optimization done (n=69): time 3.106e-06/6.909, allocations: 0 / 3.123 GB, free: 95.88 MB / 0.948 GB Notification: Performance of matching and sorting (n=69): time 0.001471/6.911, allocations: 0.6832 MB / 3.124 GB, free: 95.18 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.171e-05/6.911, allocations: 245.1 kB / 3.124 GB, free: 94.89 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007867/6.912, allocations: 0.6999 MB / 3.125 GB, free: 94.19 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 5.358e-05/6.912, allocations: 41.7 kB / 3.125 GB, free: 94.14 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002715/6.912, allocations: 488 kB / 3.125 GB, free: 93.66 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001258/6.912, allocations: 228.7 kB / 3.126 GB, free: 93.43 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.796e-05/6.912, allocations: 12 kB / 3.126 GB, free: 93.42 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 7.149e-05/6.912, allocations: 329.9 kB / 3.126 GB, free: 93.09 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002712/6.912, allocations: 193.5 kB / 3.126 GB, free: 92.9 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003324/6.913, allocations: 305 kB / 3.126 GB, free: 92.57 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003306/6.913, allocations: 242 kB / 3.127 GB, free: 92.34 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.776e-06/6.913, allocations: 0 / 3.127 GB, free: 92.34 MB / 0.948 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.001248/6.914, allocations: 0.6835 MB / 3.127 GB, free: 91.64 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 2.124e-05/6.914, allocations: 13.16 kB / 3.127 GB, free: 91.63 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.133e-06/6.914, allocations: 0 / 3.127 GB, free: 91.63 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005624/6.915, allocations: 84.78 kB / 3.127 GB, free: 91.55 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005127/6.916, allocations: 131.8 kB / 3.127 GB, free: 91.42 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001726/6.917, allocations: 1.532 MB / 3.129 GB, free: 89.74 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005537/6.918, allocations: 75.44 kB / 3.129 GB, free: 89.66 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.03e-05/6.918, allocations: 28.05 kB / 3.129 GB, free: 89.64 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 () * 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.0001661/6.918, allocations: 151.1 kB / 3.129 GB, free: 89.48 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001229/6.918, allocations: 94.78 kB / 3.129 GB, free: 89.39 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001822/6.92, allocations: 0.9435 MB / 3.13 GB, free: 88.43 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.221e-06/6.92, allocations: 8 kB / 3.13 GB, free: 88.43 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.184e-06/6.92, allocations: 0 / 3.13 GB, free: 88.43 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.01e-05/6.92, allocations: 7.984 kB / 3.13 GB, free: 88.42 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009748/6.921, allocations: 0.9501 MB / 3.131 GB, free: 87.41 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.731e-06/6.921, allocations: 5.016 kB / 3.131 GB, free: 87.41 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004793/6.922, allocations: 131.9 kB / 3.131 GB, free: 87.28 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004674/6.922, allocations: 92.69 kB / 3.131 GB, free: 87.19 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.318e-05/6.922, allocations: 27.98 kB / 3.131 GB, free: 87.16 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001431/6.924, allocations: 1.556 MB / 3.133 GB, free: 85.47 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/6.924, allocations: 0 / 3.133 GB, free: 85.47 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001319/6.925, allocations: 0.7964 MB / 3.134 GB, free: 84.64 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003527/6.925, allocations: 299.5 kB / 3.134 GB, free: 84.33 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.764e-05/6.925, allocations: 12 kB / 3.134 GB, free: 84.32 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000497/6.926, allocations: 67.95 kB / 3.134 GB, free: 84.25 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001131/6.926, allocations: 60.69 kB / 3.134 GB, free: 84.2 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.052e-05/6.926, allocations: 24.64 kB / 3.134 GB, free: 84.17 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.0006387/6.927, allocations: 0.5616 MB / 3.135 GB, free: 83.61 MB / 0.948 GB Notification: Performance of sort global known variables: time 4.41e-07/6.927, allocations: 0 / 3.135 GB, free: 83.61 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.001041/6.928, allocations: 347 kB / 3.135 GB, free: 83.27 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) * 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.003336/6.931, allocations: 2.233 MB / 3.137 GB, free: 81.14 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.001338/6.932, allocations: 0.6669 MB / 3.138 GB, free: 80.46 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 4.829e-06/6.932, allocations: 0 / 3.138 GB, free: 80.46 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0006838/6.933, allocations: 466.9 kB / 3.138 GB, free: 79.99 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001854/6.935, allocations: 387.1 kB / 3.139 GB, free: 79.62 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004634/6.94, allocations: 1.725 MB / 3.14 GB, free: 77.85 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006028/6.94, allocations: 1.09 MB / 3.141 GB, free: 76.73 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.0009295/6.941, allocations: 278.9 kB / 3.142 GB, free: 76.45 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005046/6.942, allocations: 431.3 kB / 3.142 GB, free: 76.03 MB / 0.948 GB Notification: Performance of SimCode: time 1.543e-06/6.942, allocations: 0 / 3.142 GB, free: 76.03 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06275/7.005, allocations: 34.07 MB / 3.175 GB, free: 42.16 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002066/7.005, allocations: 228.5 kB / 3.176 GB, free: 41.85 MB / 0.948 GB Error: Error building simulator. Build log: clang -Os -fPIC -falign-functions -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 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: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 -falign-functions -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 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: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_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