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.903/1.903, allocations: 289.7 MB / 302.2 MB, free: 2.184 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.001097/0.001097, allocations: 184.2 kB / 371.6 MB, free: 3.438 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.63/1.63, allocations: 205.1 MB / 0.6309 GB, free: 11.77 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.00094/0.0009401, allocations: 94.19 kB / 0.745 GB, free: 54.46 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 3.59e-05/3.603e-05, allocations: 4 kB / 0.8663 GB, free: 14.97 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2802/0.2802, allocations: 116.3 MB / 0.9799 GB, free: 10.51 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.873/6.153, allocations: 2.102 GB / 3.082 GB, free: 94.03 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002935/6.154, allocations: 90.36 kB / 3.082 GB, free: 93.98 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 1.641/7.795, allocations: 403.7 MB / 3.476 GB, free: 69.96 MB / 0.948 GB Notification: Performance of FrontEnd: time 2.775e-06/7.795, allocations: 0 / 3.476 GB, free: 69.96 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.000151/7.795, allocations: 47.86 kB / 3.476 GB, free: 69.91 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.003931/7.799, allocations: 1.584 MB / 3.478 GB, free: 68.27 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 6.561e-05/7.799, allocations: 12.03 kB / 3.478 GB, free: 68.26 MB / 0.948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002591/7.799, allocations: 198.2 kB / 3.478 GB, free: 68.06 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002922/7.802, allocations: 389.7 kB / 3.478 GB, free: 67.68 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003898/7.806, allocations: 1.152 MB / 3.479 GB, free: 66.48 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001169/7.806, allocations: 98.56 kB / 3.479 GB, free: 66.38 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002199/7.806, allocations: 124.9 kB / 3.48 GB, free: 66.26 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003579/7.81, allocations: 1.371 MB / 3.481 GB, free: 64.81 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.698e-05/7.81, allocations: 0 / 3.481 GB, free: 64.81 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002416/7.81, allocations: 59.95 kB / 3.481 GB, free: 64.75 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.799e-05/7.81, allocations: 32 kB / 3.481 GB, free: 64.72 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002862/7.813, allocations: 1.454 MB / 3.482 GB, free: 63.26 MB / 0.948 GB Warning: The model contains alias variables with conflicting start and/or 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.01001/7.823, allocations: 4.834 MB / 3.487 GB, free: 58.2 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002267/7.826, allocations: 1.402 MB / 3.489 GB, free: 56.71 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007229/7.826, allocations: 438.9 kB / 3.489 GB, free: 56.29 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007904/7.827, allocations: 421.2 kB / 3.489 GB, free: 55.8 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00109/7.828, allocations: 0.6066 MB / 3.49 GB, free: 55.18 MB / 0.948 GB Notification: Performance of pre-optimization done (n=98): time 8.927e-06/7.828, allocations: 3.938 kB / 3.49 GB, free: 55.17 MB / 0.948 GB Notification: Performance of matching and sorting (n=98): time 0.002957/7.831, allocations: 1.015 MB / 3.491 GB, free: 54.14 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001304/7.831, allocations: 240.1 kB / 3.491 GB, free: 53.85 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001871/7.833, allocations: 0.7866 MB / 3.492 GB, free: 53.04 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0001618/7.833, allocations: 41.7 kB / 3.492 GB, free: 52.99 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007196/7.834, allocations: 0.5584 MB / 3.493 GB, free: 52.43 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003919/7.835, allocations: 335.1 kB / 3.493 GB, free: 52.09 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.73e-05/7.835, allocations: 24 kB / 3.493 GB, free: 52.07 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0001479/7.835, allocations: 337.9 kB / 3.493 GB, free: 51.73 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005741/7.835, allocations: 325.9 kB / 3.493 GB, free: 51.42 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007425/7.836, allocations: 0.5189 MB / 3.494 GB, free: 50.82 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007462/7.837, allocations: 408.7 kB / 3.494 GB, free: 50.43 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.003e-06/7.837, allocations: 0 / 3.494 GB, free: 50.43 MB / 0.948 GB Notification: Performance of matching and sorting (n=112) (initialization): time 0.002694/7.84, allocations: 1.071 MB / 3.495 GB, free: 49.35 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 3.565e-05/7.84, allocations: 8 kB / 3.495 GB, free: 49.34 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.766e-05/7.84, allocations: 0 / 3.495 GB, free: 49.34 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006838/7.84, allocations: 89 kB / 3.496 GB, free: 49.25 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001113/7.842, allocations: 231.7 kB / 3.496 GB, free: 49.02 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002339/7.844, allocations: 1.529 MB / 3.497 GB, free: 47.35 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00147/7.845, allocations: 139 kB / 3.497 GB, free: 47.21 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001329/7.846, allocations: 47.95 kB / 3.497 GB, free: 47.17 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 () * 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.0003738/7.846, allocations: 164.9 kB / 3.498 GB, free: 47 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005092/7.846, allocations: 118.5 kB / 3.498 GB, free: 46.88 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003287/7.85, allocations: 1.314 MB / 3.499 GB, free: 45.56 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.52e-05/7.85, allocations: 12 kB / 3.499 GB, free: 45.55 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.464e-06/7.85, allocations: 3.938 kB / 3.499 GB, free: 45.54 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.585e-05/7.85, allocations: 3.984 kB / 3.499 GB, free: 45.54 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006383/7.856, allocations: 2.661 MB / 3.502 GB, free: 42.82 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.071e-05/7.856, allocations: 4 kB / 3.502 GB, free: 42.81 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001071/7.857, allocations: 215.7 kB / 3.502 GB, free: 42.6 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005444/7.858, allocations: 88.7 kB / 3.502 GB, free: 42.51 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001135/7.858, allocations: 27.98 kB / 3.502 GB, free: 42.48 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002026/7.86, allocations: 1.552 MB / 3.503 GB, free: 40.8 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.438e-06/7.86, allocations: 8.094 kB / 3.503 GB, free: 40.79 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002516/7.863, allocations: 1.191 MB / 3.505 GB, free: 39.58 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009654/7.864, allocations: 367.2 kB / 3.505 GB, free: 39.2 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003691/7.864, allocations: 16 kB / 3.505 GB, free: 39.18 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001262/7.865, allocations: 103.8 kB / 3.505 GB, free: 39.08 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001823/7.866, allocations: 72.89 kB / 3.505 GB, free: 39.01 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001442/7.866, allocations: 51.92 kB / 3.505 GB, free: 38.96 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.001277/7.867, allocations: 0.6176 MB / 3.506 GB, free: 38.33 MB / 0.948 GB Notification: Performance of sort global known variables: time 1.81e-07/7.867, allocations: 0 / 3.506 GB, free: 38.33 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.003042/7.87, allocations: 0.5925 MB / 3.506 GB, free: 37.73 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) * 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.008189/7.878, allocations: 3.46 MB / 3.51 GB, free: 34.29 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.003094/7.881, allocations: 1.004 MB / 3.511 GB, free: 33.27 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.493e-05/7.881, allocations: 4 kB / 3.511 GB, free: 33.27 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.001415/7.883, allocations: 0.6134 MB / 3.511 GB, free: 32.65 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003449/7.886, allocations: 455.5 kB / 3.512 GB, free: 32.21 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008651/7.895, allocations: 2.133 MB / 3.514 GB, free: 30.03 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001584/7.897, allocations: 1.205 MB / 3.515 GB, free: 28.8 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.002303/7.899, allocations: 385 kB / 3.515 GB, free: 28.42 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001/7.9, allocations: 0.5188 MB / 3.516 GB, free: 27.9 MB / 0.948 GB Notification: Performance of SimCode: time 4.138e-06/7.9, allocations: 0 / 3.516 GB, free: 27.9 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.9238/8.824, allocations: 56.84 MB / 3.571 GB, free: 172.1 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001802/8.824, allocations: 226 kB / 3.572 GB, free: 171.9 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_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: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_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: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_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