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.495/2.495, allocations: 284.7 MB / 297.2 MB, free: 6.375 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.001483/0.001482, allocations: 173 kB / 365.6 MB, free: 2.633 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.983/1.983, allocations: 205.1 MB / 0.624 GB, free: 8.223 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.001014/0.001014, allocations: 97.52 kB / 0.7371 GB, free: 40.82 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 4.524e-05/4.537e-05, allocations: 4 kB / 0.8574 GB, free: 13.69 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8006/0.8007, allocations: 115.2 MB / 0.9699 GB, free: 78.06 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.628/7.429, allocations: 2.101 GB / 3.071 GB, free: 282.8 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002968/7.429, allocations: 88.41 kB / 3.071 GB, free: 282.8 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 2.137/9.567, allocations: 403.7 MB / 3.465 GB, free: 222.2 MB / 0.948 GB Notification: Performance of FrontEnd: time 2.364e-06/9.567, allocations: 0 / 3.465 GB, free: 222.2 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0001759/9.567, allocations: 41.02 kB / 3.465 GB, free: 222.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.005054/9.572, allocations: 1.586 MB / 3.467 GB, free: 221.5 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.964e-05/9.572, allocations: 11.03 kB / 3.467 GB, free: 221.5 MB / 0.948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005212/9.573, allocations: 193.7 kB / 3.467 GB, free: 221.5 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004375/9.577, allocations: 395.2 kB / 3.467 GB, free: 221.4 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005315/9.582, allocations: 1.151 MB / 3.468 GB, free: 221.1 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001731/9.583, allocations: 99.12 kB / 3.468 GB, free: 221.1 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005943/9.583, allocations: 125.3 kB / 3.469 GB, free: 221.1 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004673/9.588, allocations: 1.379 MB / 3.47 GB, free: 220.9 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.681e-05/9.588, allocations: 2.875 kB / 3.47 GB, free: 220.9 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000264/9.588, allocations: 55.59 kB / 3.47 GB, free: 220.9 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.017e-05/9.588, allocations: 31.62 kB / 3.47 GB, free: 220.9 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004532/9.593, allocations: 1.449 MB / 3.471 GB, free: 220.9 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.01223/9.605, allocations: 4.843 MB / 3.476 GB, free: 218.9 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003587/9.609, allocations: 1.39 MB / 3.477 GB, free: 218.5 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00121/9.61, allocations: 434.7 kB / 3.478 GB, free: 218.5 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001054/9.611, allocations: 426.8 kB / 3.478 GB, free: 218.1 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001672/9.613, allocations: 0.5952 MB / 3.479 GB, free: 218 MB / 0.948 GB Notification: Performance of pre-optimization done (n=98): time 3.998e-06/9.613, allocations: 0 / 3.479 GB, free: 218 MB / 0.948 GB Notification: Performance of matching and sorting (n=98): time 0.004163/9.617, allocations: 1.015 MB / 3.48 GB, free: 217.9 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.489e-05/9.617, allocations: 249.6 kB / 3.48 GB, free: 217.6 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001862/9.619, allocations: 0.7757 MB / 3.481 GB, free: 217.5 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0003246/9.619, allocations: 46.61 kB / 3.481 GB, free: 217.4 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006284/9.62, allocations: 0.5678 MB / 3.481 GB, free: 217.3 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004474/9.62, allocations: 329.9 kB / 3.482 GB, free: 217.1 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.066e-05/9.621, allocations: 19.91 kB / 3.482 GB, free: 217.1 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0001001/9.621, allocations: 341.1 kB / 3.482 GB, free: 216.8 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009804/9.622, allocations: 328.8 kB / 3.482 GB, free: 216.8 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00117/9.623, allocations: 0.52 MB / 3.483 GB, free: 216.6 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001153/9.624, allocations: 402.5 kB / 3.483 GB, free: 216.6 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.192e-06/9.624, allocations: 0.875 kB / 3.483 GB, free: 216.6 MB / 0.948 GB Notification: Performance of matching and sorting (n=112) (initialization): time 0.003866/9.628, allocations: 1.069 MB / 3.484 GB, free: 216.5 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 2.837e-05/9.628, allocations: 4.812 kB / 3.484 GB, free: 216.5 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.331e-05/9.628, allocations: 4.203 kB / 3.484 GB, free: 216.5 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001001/9.629, allocations: 86.05 kB / 3.484 GB, free: 216.5 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002168/9.631, allocations: 229.3 kB / 3.485 GB, free: 216.5 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002757/9.634, allocations: 1.538 MB / 3.486 GB, free: 215.2 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002072/9.636, allocations: 138.8 kB / 3.486 GB, free: 215.1 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001862/9.636, allocations: 43.47 kB / 3.486 GB, free: 215.1 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.0003925/9.637, allocations: 159.3 kB / 3.487 GB, free: 215 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003641/9.637, allocations: 119.6 kB / 3.487 GB, free: 215 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004659/9.642, allocations: 1.315 MB / 3.488 GB, free: 214.9 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.525e-05/9.642, allocations: 16.59 kB / 3.488 GB, free: 214.9 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.232e-06/9.642, allocations: 0.7031 kB / 3.488 GB, free: 214.9 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.052e-05/9.642, allocations: 5.062 kB / 3.488 GB, free: 214.9 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007887/9.65, allocations: 2.653 MB / 3.491 GB, free: 214.5 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.228e-06/9.65, allocations: 6.484 kB / 3.491 GB, free: 214.5 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00212/9.652, allocations: 218.2 kB / 3.491 GB, free: 214.5 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008663/9.653, allocations: 81.08 kB / 3.491 GB, free: 214.5 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001831/9.653, allocations: 34.36 kB / 3.491 GB, free: 214.5 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002424/9.655, allocations: 1.558 MB / 3.492 GB, free: 213.2 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.994e-06/9.655, allocations: 0 / 3.492 GB, free: 213.2 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003872/9.659, allocations: 1.193 MB / 3.494 GB, free: 213 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001217/9.661, allocations: 368.6 kB / 3.494 GB, free: 212.8 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003393/9.661, allocations: 18.84 kB / 3.494 GB, free: 212.8 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001859/9.663, allocations: 107.5 kB / 3.494 GB, free: 212.8 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002566/9.663, allocations: 70.39 kB / 3.494 GB, free: 212.8 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001757/9.663, allocations: 50.58 kB / 3.494 GB, free: 212.8 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.001314/9.665, allocations: 0.6126 MB / 3.495 GB, free: 212.7 MB / 0.948 GB Notification: Performance of sort global known variables: time 4.91e-07/9.665, allocations: 0 / 3.495 GB, free: 212.7 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.002886/9.668, allocations: 0.5893 MB / 3.495 GB, free: 212.7 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.00807/9.676, allocations: 3.476 MB / 3.499 GB, free: 211.6 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.003262/9.679, allocations: 1.006 MB / 3.5 GB, free: 211.5 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 9.047e-06/9.679, allocations: 1.125 kB / 3.5 GB, free: 211.5 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.001762/9.681, allocations: 0.6132 MB / 3.5 GB, free: 211.3 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004062/9.685, allocations: 471.7 kB / 3.501 GB, free: 211.3 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009008/9.694, allocations: 2.135 MB / 3.503 GB, free: 210.8 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009715/9.695, allocations: 1.2 MB / 3.504 GB, free: 210.1 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.00273/9.698, allocations: 378.7 kB / 3.504 GB, free: 210.1 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001374/9.699, allocations: 0.5142 MB / 3.505 GB, free: 210.1 MB / 0.948 GB Notification: Performance of SimCode: time 1.122e-06/9.699, allocations: 3.281 kB / 3.505 GB, free: 210.1 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1706/9.87, allocations: 56.84 MB / 3.56 GB, free: 206.7 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003018/9.87, allocations: 227.7 kB / 3.561 GB, free: 206.4 MB / 0.948 GB Error: Error building simulator. Build log: clang -Os -fPIC -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.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: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 -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.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: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_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