Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation,fileNamePrefix="Buildings_8_0_0_Buildings_Utilities_IO_SignalExchange_Examples_WeatherStation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation,fileNamePrefix="Buildings_8_0_0_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.0.0/package.mo): time 2.761/2.761, allocations: 287.3 MB / 302.3 MB, free: 8.312 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.001475/0.001475, allocations: 186.2 kB / 370.8 MB, free: 10.86 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.113/2.113, allocations: 205.4 MB / 0.6295 GB, free: 10.53 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001111/0.001111, allocations: 90.88 kB / 0.7428 GB, free: 6.539 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005077/0.0005077, allocations: 11.36 kB / 0.8657 GB, free: 140.9 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2406/0.2412, allocations: 115.3 MB / 0.9783 GB, free: 28.31 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.932/7.173, allocations: 2.073 GB / 3.051 GB, free: 201.9 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003507/7.173, allocations: 101.5 kB / 3.051 GB, free: 201.9 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 0.2335/7.407, allocations: 62.75 MB / 3.113 GB, free: 148.2 MB / 0.948 GB Notification: Performance of FrontEnd: time 2.494e-06/7.407, allocations: 0 / 3.113 GB, free: 148.2 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0001423/7.407, allocations: 35.94 kB / 3.113 GB, free: 148.2 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.003622/7.411, allocations: 1.35 MB / 3.114 GB, free: 146.8 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 5.15e-05/7.411, allocations: 12.02 kB / 3.114 GB, free: 146.8 MB / 0.948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004655/7.411, allocations: 151.8 kB / 3.114 GB, free: 146.6 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001646/7.413, allocations: 214.2 kB / 3.114 GB, free: 146.4 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002245/7.415, allocations: 0.7717 MB / 3.115 GB, free: 145.6 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.38e-05/7.415, allocations: 66 kB / 3.115 GB, free: 145.5 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001687/7.415, allocations: 92 kB / 3.115 GB, free: 145.4 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002435/7.418, allocations: 0.9534 MB / 3.116 GB, free: 144.5 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.933e-05/7.418, allocations: 0 / 3.116 GB, free: 144.5 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001409/7.418, allocations: 40 kB / 3.116 GB, free: 144.4 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.282e-05/7.418, allocations: 31.89 kB / 3.116 GB, free: 144.4 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002706/7.421, allocations: 1.116 MB / 3.117 GB, free: 143.3 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006723/7.428, allocations: 2.703 MB / 3.12 GB, free: 140.5 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002011/7.43, allocations: 0.7217 MB / 3.121 GB, free: 139.8 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001248/7.43, allocations: 32.59 kB / 3.121 GB, free: 139.7 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001251/7.431, allocations: 417.7 kB / 3.121 GB, free: 139.3 MB / 0.948 GB Notification: Performance of pre-optimization done (n=69): time 3.757e-06/7.431, allocations: 0 / 3.121 GB, free: 139.3 MB / 0.948 GB Notification: Performance of matching and sorting (n=69): time 0.004672/7.436, allocations: 1.091 MB / 3.122 GB, free: 138.2 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001001/7.436, allocations: 247.8 kB / 3.122 GB, free: 137.9 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001469/7.437, allocations: 0.7076 MB / 3.123 GB, free: 137.2 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0002053/7.438, allocations: 37.7 kB / 3.123 GB, free: 137.1 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004478/7.438, allocations: 488 kB / 3.123 GB, free: 136.6 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.000249/7.438, allocations: 228.6 kB / 3.124 GB, free: 136.4 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.587e-05/7.439, allocations: 16 kB / 3.124 GB, free: 136.4 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 7.166e-05/7.439, allocations: 326 kB / 3.124 GB, free: 136.1 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007053/7.439, allocations: 213.2 kB / 3.124 GB, free: 135.9 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00078/7.44, allocations: 319.7 kB / 3.125 GB, free: 135.5 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007834/7.441, allocations: 263.1 kB / 3.125 GB, free: 135.3 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.428e-06/7.441, allocations: 0 / 3.125 GB, free: 135.3 MB / 0.948 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.003984/7.445, allocations: 0.7351 MB / 3.126 GB, free: 134.5 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 2.958e-05/7.445, allocations: 4 kB / 3.126 GB, free: 134.5 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.077e-05/7.445, allocations: 3.938 kB / 3.126 GB, free: 134.5 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009861/7.446, allocations: 88.78 kB / 3.126 GB, free: 134.4 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001076/7.447, allocations: 131.8 kB / 3.126 GB, free: 134.3 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002703/7.45, allocations: 1.54 MB / 3.127 GB, free: 132.6 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001129/7.451, allocations: 75.52 kB / 3.127 GB, free: 132.5 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001321/7.451, allocations: 23.98 kB / 3.127 GB, free: 132.5 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.0008279/7.452, allocations: 284 kB / 3.128 GB, free: 132.2 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003292/7.452, allocations: 94.78 kB / 3.128 GB, free: 132.1 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003771/7.456, allocations: 0.9953 MB / 3.129 GB, free: 131.1 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.31e-05/7.456, allocations: 8 kB / 3.129 GB, free: 131.1 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.448e-06/7.456, allocations: 0 / 3.129 GB, free: 131.1 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.3e-05/7.456, allocations: 3.984 kB / 3.129 GB, free: 131.1 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001656/7.458, allocations: 0.9586 MB / 3.13 GB, free: 130.1 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.28e-06/7.458, allocations: 0 / 3.13 GB, free: 130.1 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001017/7.459, allocations: 139.8 kB / 3.13 GB, free: 130 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008411/7.46, allocations: 80.78 kB / 3.13 GB, free: 129.9 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.661e-05/7.46, allocations: 19.98 kB / 3.13 GB, free: 129.9 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002437/7.462, allocations: 1.579 MB / 3.131 GB, free: 128.1 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.693e-06/7.462, allocations: 0 / 3.131 GB, free: 128.1 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002927/7.465, allocations: 0.8529 MB / 3.132 GB, free: 127.3 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005708/7.466, allocations: 295.5 kB / 3.133 GB, free: 127 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001839/7.466, allocations: 16 kB / 3.133 GB, free: 127 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009439/7.467, allocations: 67.94 kB / 3.133 GB, free: 126.9 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000171/7.467, allocations: 56.92 kB / 3.133 GB, free: 126.8 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.936e-05/7.467, allocations: 27.98 kB / 3.133 GB, free: 126.8 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.001054/7.468, allocations: 0.5693 MB / 3.133 GB, free: 126.2 MB / 0.948 GB Notification: Performance of sort global known variables: time 4.11e-07/7.468, allocations: 0 / 3.133 GB, free: 126.2 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.001422/7.47, allocations: 358.9 kB / 3.134 GB, free: 125.9 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.005328/7.475, allocations: 2.312 MB / 3.136 GB, free: 123.7 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.002417/7.478, allocations: 0.7203 MB / 3.137 GB, free: 123 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 7.044e-06/7.478, allocations: 0 / 3.137 GB, free: 123 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.001346/7.479, allocations: 480.4 kB / 3.137 GB, free: 122.5 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002762/7.482, allocations: 388.4 kB / 3.137 GB, free: 122.1 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01554/7.497, allocations: 5.837 MB / 3.143 GB, free: 116.1 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006661/7.498, allocations: 1.086 MB / 3.144 GB, free: 115 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.001572/7.5, allocations: 278.9 kB / 3.144 GB, free: 114.7 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009537/7.501, allocations: 439.2 kB / 3.145 GB, free: 114.3 MB / 0.948 GB Notification: Performance of SimCode: time 8.22e-07/7.501, allocations: 0 / 3.145 GB, free: 114.3 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1123/7.613, allocations: 32.42 MB / 3.176 GB, free: 82.16 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002693/7.613, allocations: 268 kB / 3.177 GB, free: 81.8 MB / 0.948 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 8.0.0/Resources/C-Sources" -c -o Buildings_8_0_0_Buildings_Utilities_IO_SignalExchange_Examples_WeatherStation.o Buildings_8_0_0_Buildings_Utilities_IO_SignalExchange_Examples_WeatherStation.c In file included from Buildings_8_0_0_Buildings_Utilities_IO_SignalExchange_Examples_WeatherStation.c:7: In file included from ./Buildings_8_0_0_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 -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.0.0/Resources/C-Sources" -c -o Buildings_8_0_0_Buildings_Utilities_IO_SignalExchange_Examples_WeatherStation_functions.o Buildings_8_0_0_Buildings_Utilities_IO_SignalExchange_Examples_WeatherStation_functions.c In file included from Buildings_8_0_0_Buildings_Utilities_IO_SignalExchange_Examples_WeatherStation_functions.c:2: In file included from ./Buildings_8_0_0_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_0_0_Buildings_Utilities_IO_SignalExchange_Examples_WeatherStation_functions.c:7: In file included from ./Buildings_8_0_0_Buildings_Utilities_IO_SignalExchange_Examples_WeatherStation_includes.h:4: /home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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_8_0_0_Buildings_Utilities_IO_SignalExchange_Examples_WeatherStation_functions.o' failed make: *** [Buildings_8_0_0_Buildings_Utilities_IO_SignalExchange_Examples_WeatherStation_functions.o] Error 1