Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData.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.Fluid.Sources.Examples.MassFlowSource_WeatherData,fileNamePrefix="Buildings_8_Buildings_Fluid_Sources_Examples_MassFlowSource_WeatherData",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData,fileNamePrefix="Buildings_8_Buildings_Fluid_Sources_Examples_MassFlowSource_WeatherData",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.717/1.717, allocations: 292.6 MB / 307.5 MB, free: 5.199 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.001103/0.001103, allocations: 181.1 kB / 377.1 MB, free: 1.516 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.746/1.746, allocations: 205.4 MB / 0.6366 GB, free: 9.551 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.000903/0.000903, allocations: 85.67 kB / 0.7509 GB, free: 62.69 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003626/0.0003627, allocations: 12 kB / 0.8749 GB, free: 11.23 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2836/0.284, allocations: 116.3 MB / 0.9884 GB, free: 6.777 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.516/5.801, allocations: 2.102 GB / 3.09 GB, free: 116.8 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002601/5.801, allocations: 92.61 kB / 3.09 GB, free: 116.7 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 1.498/7.299, allocations: 404.3 MB / 3.485 GB, free: 85.41 MB / 0.948 GB Notification: Performance of FrontEnd: time 2.294e-06/7.299, allocations: 0 / 3.485 GB, free: 85.41 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0001096/7.299, allocations: 39.94 kB / 3.485 GB, free: 85.38 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: 328 * Number of variables: 328 Notification: Performance of Generate backend data structure: time 0.003655/7.302, allocations: 1.753 MB / 3.487 GB, free: 83.57 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 5.03e-05/7.303, allocations: 8.031 kB / 3.487 GB, free: 83.56 MB / 0.948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000219/7.303, allocations: 198.2 kB / 3.487 GB, free: 83.36 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002451/7.305, allocations: 393.7 kB / 3.488 GB, free: 82.97 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002334/7.308, allocations: 1.17 MB / 3.489 GB, free: 81.76 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.198e-05/7.308, allocations: 94.58 kB / 3.489 GB, free: 81.66 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001364/7.308, allocations: 128.8 kB / 3.489 GB, free: 81.54 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00216/7.31, allocations: 1.421 MB / 3.49 GB, free: 80.04 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.638e-05/7.31, allocations: 3.938 kB / 3.49 GB, free: 80.04 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001196/7.31, allocations: 56.34 kB / 3.49 GB, free: 79.98 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.235e-05/7.31, allocations: 39.94 kB / 3.49 GB, free: 79.94 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00215/7.312, allocations: 1.52 MB / 3.492 GB, free: 78.41 MB / 0.948 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006397/7.319, allocations: 4.846 MB / 3.497 GB, free: 73.33 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002034/7.321, allocations: 1.466 MB / 3.498 GB, free: 71.79 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006636/7.321, allocations: 425.4 kB / 3.499 GB, free: 71.3 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000941/7.322, allocations: 0.6372 MB / 3.499 GB, free: 70.64 MB / 0.948 GB Notification: Performance of pre-optimization done (n=98): time 3.467e-06/7.322, allocations: 0 / 3.499 GB, free: 70.64 MB / 0.948 GB Notification: Performance of matching and sorting (n=98): time 0.003775/7.326, allocations: 1.591 MB / 3.501 GB, free: 69.02 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001018/7.326, allocations: 248.3 kB / 3.501 GB, free: 68.73 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001023/7.327, allocations: 0.7941 MB / 3.502 GB, free: 67.91 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 9.176e-05/7.327, allocations: 45.7 kB / 3.502 GB, free: 67.86 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004093/7.328, allocations: 0.5621 MB / 3.502 GB, free: 67.29 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002292/7.328, allocations: 327.2 kB / 3.503 GB, free: 66.96 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.667e-05/7.328, allocations: 16 kB / 3.503 GB, free: 66.95 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 8.658e-05/7.328, allocations: 345.9 kB / 3.503 GB, free: 66.61 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005918/7.329, allocations: 357.8 kB / 3.503 GB, free: 66.26 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007222/7.33, allocations: 0.5454 MB / 3.504 GB, free: 65.64 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007/7.33, allocations: 442.7 kB / 3.504 GB, free: 65.21 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.038e-06/7.33, allocations: 0 / 3.504 GB, free: 65.21 MB / 0.948 GB Notification: Performance of matching and sorting (n=112) (initialization): time 0.002199/7.333, allocations: 1.125 MB / 3.505 GB, free: 64.07 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 2.485e-05/7.333, allocations: 5.875 kB / 3.505 GB, free: 64.07 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.154e-05/7.333, allocations: 11.89 kB / 3.505 GB, free: 64.06 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006335/7.333, allocations: 89.14 kB / 3.505 GB, free: 63.97 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00105/7.334, allocations: 227.7 kB / 3.506 GB, free: 63.75 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001893/7.336, allocations: 1.552 MB / 3.507 GB, free: 62.05 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001141/7.337, allocations: 139 kB / 3.507 GB, free: 61.91 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.988e-05/7.337, allocations: 43.97 kB / 3.507 GB, free: 61.87 MB / 0.948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * 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 (110): * Single equations (assignments): 109 * 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.0008865/7.338, allocations: 323.5 kB / 3.508 GB, free: 61.54 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001853/7.339, allocations: 114.6 kB / 3.508 GB, free: 61.43 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002811/7.341, allocations: 1.388 MB / 3.509 GB, free: 60.03 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.385e-06/7.341, allocations: 8 kB / 3.509 GB, free: 60.02 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.808e-06/7.341, allocations: 4 kB / 3.509 GB, free: 60.02 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.113e-05/7.341, allocations: 3.984 kB / 3.509 GB, free: 60.02 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004433/7.346, allocations: 2.719 MB / 3.512 GB, free: 57.23 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.554e-06/7.346, allocations: 7.953 kB / 3.512 GB, free: 57.23 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009679/7.347, allocations: 215.7 kB / 3.512 GB, free: 57.02 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005267/7.347, allocations: 88.77 kB / 3.512 GB, free: 56.93 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.577e-05/7.347, allocations: 31.97 kB / 3.512 GB, free: 56.89 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001603/7.349, allocations: 1.567 MB / 3.514 GB, free: 55.19 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.043e-06/7.349, allocations: 0 / 3.514 GB, free: 55.19 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002323/7.351, allocations: 1.265 MB / 3.515 GB, free: 53.91 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006216/7.352, allocations: 367.2 kB / 3.515 GB, free: 53.53 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001355/7.352, allocations: 20 kB / 3.515 GB, free: 53.51 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009099/7.353, allocations: 103.8 kB / 3.515 GB, free: 53.41 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001368/7.353, allocations: 72.89 kB / 3.515 GB, free: 53.34 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001375/7.353, allocations: 47.91 kB / 3.515 GB, free: 53.29 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.0007612/7.354, allocations: 0.629 MB / 3.516 GB, free: 52.65 MB / 0.948 GB Notification: Performance of sort global known variables: time 1.6e-07/7.354, allocations: 0 / 3.516 GB, free: 52.65 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.001843/7.356, allocations: 0.5847 MB / 3.517 GB, free: 52.06 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.conTim.tNext,weaDat.conTimMin.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (109): * Single equations (assignments): 106 * 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.005452/7.362, allocations: 3.577 MB / 3.52 GB, free: 48.55 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.001905/7.363, allocations: 1.066 MB / 3.521 GB, free: 47.47 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 5.41e-06/7.363, allocations: 0 / 3.521 GB, free: 47.47 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.00097/7.364, allocations: 0.6485 MB / 3.522 GB, free: 46.81 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002015/7.366, allocations: 460.6 kB / 3.522 GB, free: 46.36 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01168/7.378, allocations: 8.893 MB / 3.531 GB, free: 37.17 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006017/7.379, allocations: 1.203 MB / 3.532 GB, free: 35.94 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.001481/7.38, allocations: 385.1 kB / 3.532 GB, free: 35.56 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006593/7.381, allocations: 0.5227 MB / 3.533 GB, free: 35.04 MB / 0.948 GB Notification: Performance of SimCode: time 1.583e-06/7.381, allocations: 0 / 3.533 GB, free: 35.04 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7238/8.105, allocations: 53.09 MB / 3.585 GB, free: 177.8 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002657/8.105, allocations: 273 kB / 3.585 GB, free: 177.5 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_Fluid_Sources_Examples_MassFlowSource_WeatherData.o Buildings_8_Buildings_Fluid_Sources_Examples_MassFlowSource_WeatherData.c In file included from Buildings_8_Buildings_Fluid_Sources_Examples_MassFlowSource_WeatherData.c:7: In file included from ./Buildings_8_Buildings_Fluid_Sources_Examples_MassFlowSource_WeatherData_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_Fluid_Sources_Examples_MassFlowSource_WeatherData_functions.o Buildings_8_Buildings_Fluid_Sources_Examples_MassFlowSource_WeatherData_functions.c In file included from Buildings_8_Buildings_Fluid_Sources_Examples_MassFlowSource_WeatherData_functions.c:2: In file included from ./Buildings_8_Buildings_Fluid_Sources_Examples_MassFlowSource_WeatherData_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_Fluid_Sources_Examples_MassFlowSource_WeatherData_functions.c:7: In file included from ./Buildings_8_Buildings_Fluid_Sources_Examples_MassFlowSource_WeatherData_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_Fluid_Sources_Examples_MassFlowSource_WeatherData_functions.o] Error 1