Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData.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.Fluid.Sources.Examples.MassFlowSource_WeatherData,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_Sources_Examples_MassFlowSource_WeatherData",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData,fileNamePrefix="Buildings_8_0_0_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.0.0/package.mo): time 2.561/2.561, allocations: 287.3 MB / 302.3 MB, free: 8.336 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.001541/0.00154, allocations: 178.8 kB / 370.8 MB, free: 10.83 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.074/2.074, allocations: 205.4 MB / 0.6295 GB, free: 10.6 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.001125/0.001125, allocations: 103.6 kB / 0.7428 GB, free: 6.578 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004927/0.0004926, allocations: 13.31 kB / 0.8657 GB, free: 140.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2168/0.2173, allocations: 115.3 MB / 0.9783 GB, free: 28.29 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.76/6.978, allocations: 2.101 GB / 3.079 GB, free: 174.1 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003343/6.978, allocations: 91.02 kB / 3.079 GB, free: 174.1 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 2.044/9.022, allocations: 404.3 MB / 3.474 GB, free: 151.2 MB / 0.948 GB Notification: Performance of FrontEnd: time 3.056e-06/9.022, allocations: 0 / 3.474 GB, free: 151.2 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0001452/9.022, allocations: 39.98 kB / 3.474 GB, free: 151.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: 328 * Number of variables: 328 Notification: Performance of Generate backend data structure: time 0.005414/9.027, allocations: 1.753 MB / 3.476 GB, free: 149.4 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.941e-05/9.027, allocations: 8.031 kB / 3.476 GB, free: 149.4 MB / 0.948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006235/9.028, allocations: 198.2 kB / 3.476 GB, free: 149.2 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004227/9.032, allocations: 393.7 kB / 3.476 GB, free: 148.8 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004249/9.037, allocations: 1.168 MB / 3.478 GB, free: 147.6 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.619e-05/9.037, allocations: 98.56 kB / 3.478 GB, free: 147.5 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002846/9.037, allocations: 132 kB / 3.478 GB, free: 147.3 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003793/9.041, allocations: 1.421 MB / 3.479 GB, free: 145.8 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.619e-05/9.041, allocations: 0 / 3.479 GB, free: 145.8 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002201/9.041, allocations: 59.94 kB / 3.479 GB, free: 145.8 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.855e-05/9.041, allocations: 36 kB / 3.479 GB, free: 145.7 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004156/9.045, allocations: 1.524 MB / 3.481 GB, free: 144.2 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.01055/9.056, allocations: 4.847 MB / 3.485 GB, free: 139.1 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003857/9.06, allocations: 1.47 MB / 3.487 GB, free: 137.6 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009565/9.061, allocations: 421.4 kB / 3.487 GB, free: 137.1 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001732/9.063, allocations: 0.6302 MB / 3.488 GB, free: 136.4 MB / 0.948 GB Notification: Performance of pre-optimization done (n=98): time 3.988e-06/9.063, allocations: 0 / 3.488 GB, free: 136.4 MB / 0.948 GB Notification: Performance of matching and sorting (n=98): time 0.006597/9.069, allocations: 1.595 MB / 3.489 GB, free: 134.8 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.742e-05/9.07, allocations: 248.3 kB / 3.49 GB, free: 134.5 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001663/9.071, allocations: 0.7863 MB / 3.49 GB, free: 133.7 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0002843/9.072, allocations: 45.7 kB / 3.491 GB, free: 133.7 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005341/9.072, allocations: 0.5583 MB / 3.491 GB, free: 133.1 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003539/9.072, allocations: 335.1 kB / 3.491 GB, free: 132.8 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001088/9.073, allocations: 20 kB / 3.491 GB, free: 132.8 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 9.034e-05/9.073, allocations: 341.9 kB / 3.492 GB, free: 132.4 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001208/9.074, allocations: 361.8 kB / 3.492 GB, free: 132.1 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001307/9.075, allocations: 0.5533 MB / 3.493 GB, free: 131.4 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001291/9.077, allocations: 433.6 kB / 3.493 GB, free: 131 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.602e-06/9.077, allocations: 0 / 3.493 GB, free: 131 MB / 0.948 GB Notification: Performance of matching and sorting (n=112) (initialization): time 0.004059/9.081, allocations: 1.133 MB / 3.494 GB, free: 129.9 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 2.833e-05/9.081, allocations: 4 kB / 3.494 GB, free: 129.9 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.408e-05/9.081, allocations: 4.375 kB / 3.494 GB, free: 129.9 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001004/9.082, allocations: 92.75 kB / 3.494 GB, free: 129.8 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002006/9.084, allocations: 235.7 kB / 3.494 GB, free: 129.5 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002698/9.086, allocations: 1.548 MB / 3.496 GB, free: 127.8 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001899/9.088, allocations: 143 kB / 3.496 GB, free: 127.7 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001391/9.089, allocations: 35.98 kB / 3.496 GB, free: 127.7 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.001028/9.09, allocations: 321.6 kB / 3.496 GB, free: 127.3 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003456/9.09, allocations: 118.6 kB / 3.497 GB, free: 127.2 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004908/9.095, allocations: 1.388 MB / 3.498 GB, free: 125.8 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.666e-05/9.095, allocations: 12 kB / 3.498 GB, free: 125.8 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.899e-06/9.095, allocations: 0 / 3.498 GB, free: 125.8 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.615e-05/9.095, allocations: 7.984 kB / 3.498 GB, free: 125.8 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007549/9.103, allocations: 2.707 MB / 3.501 GB, free: 123 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.458e-06/9.103, allocations: 0 / 3.501 GB, free: 123 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001876/9.105, allocations: 219.7 kB / 3.501 GB, free: 122.8 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008712/9.105, allocations: 84.77 kB / 3.501 GB, free: 122.7 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001281/9.106, allocations: 35.94 kB / 3.501 GB, free: 122.7 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00246/9.108, allocations: 1.575 MB / 3.502 GB, free: 121 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.365e-06/9.108, allocations: 0 / 3.502 GB, free: 121 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004139/9.112, allocations: 1.257 MB / 3.504 GB, free: 119.7 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009753/9.113, allocations: 371.2 kB / 3.504 GB, free: 119.3 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002572/9.114, allocations: 16 kB / 3.504 GB, free: 119.3 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001641/9.115, allocations: 99.83 kB / 3.504 GB, free: 119.2 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002275/9.115, allocations: 76.89 kB / 3.504 GB, free: 119.1 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001453/9.116, allocations: 43.97 kB / 3.504 GB, free: 119.1 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.001227/9.117, allocations: 0.625 MB / 3.505 GB, free: 118.5 MB / 0.948 GB Notification: Performance of sort global known variables: time 2.064e-06/9.117, allocations: 0 / 3.505 GB, free: 118.5 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.002537/9.119, allocations: 0.5963 MB / 3.505 GB, free: 117.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.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.009083/9.128, allocations: 3.578 MB / 3.509 GB, free: 114.4 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.003944/9.133, allocations: 1.058 MB / 3.51 GB, free: 113.3 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 9.698e-06/9.133, allocations: 4 kB / 3.51 GB, free: 113.3 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.002052/9.135, allocations: 0.6602 MB / 3.511 GB, free: 112.7 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003939/9.139, allocations: 457.6 kB / 3.511 GB, free: 112.2 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01969/9.158, allocations: 8.896 MB / 3.52 GB, free: 103 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008202/9.159, allocations: 1.205 MB / 3.521 GB, free: 101.8 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.002473/9.162, allocations: 381.1 kB / 3.521 GB, free: 101.4 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001095/9.163, allocations: 0.5188 MB / 3.522 GB, free: 100.9 MB / 0.948 GB Notification: Performance of SimCode: time 2.645e-06/9.163, allocations: 3.938 kB / 3.522 GB, free: 100.9 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1595/9.322, allocations: 53.11 MB / 3.574 GB, free: 48.13 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001746/9.323, allocations: 262.5 kB / 3.574 GB, free: 47.77 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_Fluid_Sources_Examples_MassFlowSource_WeatherData.o Buildings_8_0_0_Buildings_Fluid_Sources_Examples_MassFlowSource_WeatherData.c In file included from Buildings_8_0_0_Buildings_Fluid_Sources_Examples_MassFlowSource_WeatherData.c:7: In file included from ./Buildings_8_0_0_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 -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_Fluid_Sources_Examples_MassFlowSource_WeatherData_functions.o Buildings_8_0_0_Buildings_Fluid_Sources_Examples_MassFlowSource_WeatherData_functions.c In file included from Buildings_8_0_0_Buildings_Fluid_Sources_Examples_MassFlowSource_WeatherData_functions.c:2: In file included from ./Buildings_8_0_0_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_0_0_Buildings_Fluid_Sources_Examples_MassFlowSource_WeatherData_functions.c:7: In file included from ./Buildings_8_0_0_Buildings_Fluid_Sources_Examples_MassFlowSource_WeatherData_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_Fluid_Sources_Examples_MassFlowSource_WeatherData_functions.o' failed make: *** [Buildings_8_0_0_Buildings_Fluid_Sources_Examples_MassFlowSource_WeatherData_functions.o] Error 1