Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Sources.Examples.Outside.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.Outside,fileNamePrefix="Buildings_8_Buildings_Fluid_Sources_Examples_Outside",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sources.Examples.Outside,fileNamePrefix="Buildings_8_Buildings_Fluid_Sources_Examples_Outside",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.731/1.731, allocations: 292.6 MB / 307.5 MB, free: 5.168 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.00194/0.00194, allocations: 185 kB / 377.1 MB, free: 1.523 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.735/1.735, allocations: 205.4 MB / 0.6366 GB, free: 8.5 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.0008975/0.0008974, allocations: 91.67 kB / 0.7509 GB, free: 63.16 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003675/0.0003678, allocations: 8 kB / 0.8749 GB, free: 11.08 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3001/0.3005, allocations: 116.3 MB / 0.9884 GB, free: 6.629 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.699/5.999, allocations: 2.102 GB / 3.091 GB, free: 116.1 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003152/6, allocations: 92.61 kB / 3.091 GB, free: 116 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 1.513/7.513, allocations: 394.3 MB / 3.476 GB, free: 95.16 MB / 0.948 GB Notification: Performance of FrontEnd: time 2.906e-06/7.513, allocations: 11.94 kB / 3.476 GB, free: 95.14 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0001721/7.513, allocations: 32 kB / 3.476 GB, free: 95.11 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: 279 * Number of variables: 279 Notification: Performance of Generate backend data structure: time 0.00469/7.517, allocations: 1.653 MB / 3.478 GB, free: 93.4 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.497e-05/7.518, allocations: 8.031 kB / 3.478 GB, free: 93.39 MB / 0.948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005124/7.518, allocations: 180.9 kB / 3.478 GB, free: 93.2 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002463/7.521, allocations: 345.4 kB / 3.478 GB, free: 92.87 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00294/7.524, allocations: 1.113 MB / 3.479 GB, free: 91.71 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.331e-05/7.524, allocations: 94.14 kB / 3.479 GB, free: 91.61 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003035/7.524, allocations: 111.9 kB / 3.479 GB, free: 91.5 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002464/7.526, allocations: 1.202 MB / 3.481 GB, free: 90.23 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.906e-05/7.526, allocations: 1.031 kB / 3.481 GB, free: 90.23 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001384/7.527, allocations: 48 kB / 3.481 GB, free: 90.19 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.848e-05/7.527, allocations: 28 kB / 3.481 GB, free: 90.16 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002275/7.529, allocations: 1.388 MB / 3.482 GB, free: 88.77 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.006383/7.535, allocations: 3.696 MB / 3.486 GB, free: 84.93 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002009/7.537, allocations: 1.164 MB / 3.487 GB, free: 83.73 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006197/7.538, allocations: 425.3 kB / 3.487 GB, free: 83.24 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009045/7.539, allocations: 0.5826 MB / 3.488 GB, free: 82.64 MB / 0.948 GB Notification: Performance of pre-optimization done (n=97): time 3.026e-06/7.539, allocations: 0 / 3.488 GB, free: 82.64 MB / 0.948 GB Notification: Performance of matching and sorting (n=97): time 0.003765/7.543, allocations: 1.525 MB / 3.489 GB, free: 81.09 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.236e-05/7.543, allocations: 252.3 kB / 3.489 GB, free: 80.79 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001275/7.544, allocations: 0.7784 MB / 3.49 GB, free: 79.99 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0001182/7.544, allocations: 41.7 kB / 3.49 GB, free: 79.94 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003765/7.545, allocations: 0.4964 MB / 3.491 GB, free: 79.44 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002361/7.545, allocations: 327.2 kB / 3.491 GB, free: 79.11 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.622e-05/7.545, allocations: 16 kB / 3.491 GB, free: 79.1 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 7.638e-05/7.545, allocations: 342.2 kB / 3.491 GB, free: 78.76 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005746/7.546, allocations: 341.8 kB / 3.492 GB, free: 78.43 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006669/7.546, allocations: 0.4887 MB / 3.492 GB, free: 77.89 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006801/7.547, allocations: 410.8 kB / 3.493 GB, free: 77.49 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.508e-06/7.547, allocations: 0 / 3.493 GB, free: 77.49 MB / 0.948 GB Notification: Performance of matching and sorting (n=109) (initialization): time 0.002231/7.549, allocations: 1.059 MB / 3.494 GB, free: 76.42 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.902e-05/7.549, allocations: 8.062 kB / 3.494 GB, free: 76.41 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.997e-06/7.549, allocations: 4 kB / 3.494 GB, free: 76.41 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000615/7.55, allocations: 84.77 kB / 3.494 GB, free: 76.32 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008922/7.551, allocations: 203.7 kB / 3.494 GB, free: 76.12 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001838/7.553, allocations: 1.544 MB / 3.495 GB, free: 74.44 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001025/7.554, allocations: 119 kB / 3.495 GB, free: 74.32 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001036/7.554, allocations: 39.97 kB / 3.496 GB, free: 74.29 MB / 0.948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 (107): * Single equations (assignments): 106 * 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.0007337/7.554, allocations: 314.8 kB / 3.496 GB, free: 73.97 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002869/7.555, allocations: 106.7 kB / 3.496 GB, free: 73.86 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002965/7.558, allocations: 1.444 MB / 3.497 GB, free: 72.39 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.767e-06/7.558, allocations: 8 kB / 3.497 GB, free: 72.39 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.931e-06/7.558, allocations: 3.953 kB / 3.497 GB, free: 72.38 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.178e-05/7.558, allocations: 7.984 kB / 3.497 GB, free: 72.38 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005416/7.563, allocations: 2.678 MB / 3.5 GB, free: 69.6 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.176e-05/7.563, allocations: 4 kB / 3.5 GB, free: 69.59 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009245/7.564, allocations: 199.7 kB / 3.5 GB, free: 69.4 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005655/7.565, allocations: 84.95 kB / 3.5 GB, free: 69.31 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001064/7.565, allocations: 27.98 kB / 3.5 GB, free: 69.29 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001936/7.567, allocations: 1.575 MB / 3.502 GB, free: 67.57 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.122e-06/7.567, allocations: 7.953 kB / 3.502 GB, free: 67.57 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004087/7.571, allocations: 1.827 MB / 3.504 GB, free: 65.66 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001248/7.572, allocations: 359.2 kB / 3.504 GB, free: 65.29 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005383/7.573, allocations: 27.94 kB / 3.504 GB, free: 65.27 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001275/7.574, allocations: 91.92 kB / 3.504 GB, free: 65.18 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001999/7.574, allocations: 72.84 kB / 3.504 GB, free: 65.11 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001144/7.574, allocations: 43.97 kB / 3.504 GB, free: 65.06 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.001343/7.576, allocations: 0.6362 MB / 3.505 GB, free: 64.41 MB / 0.948 GB Notification: Performance of sort global known variables: time 2.4e-07/7.576, allocations: 0 / 3.505 GB, free: 64.41 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.002126/7.578, allocations: 0.5537 MB / 3.505 GB, free: 63.86 MB / 0.948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 3 (senTem.T,senRelHum.phi,senMasFra.X) * 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 (105): * Single equations (assignments): 102 * 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.006539/7.584, allocations: 4.551 MB / 3.51 GB, free: 59.31 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.001969/7.586, allocations: 1.011 MB / 3.511 GB, free: 58.28 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 7.895e-06/7.587, allocations: 0 / 3.511 GB, free: 58.28 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.001023/7.588, allocations: 0.6255 MB / 3.511 GB, free: 57.64 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002277/7.59, allocations: 461.4 kB / 3.512 GB, free: 57.2 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01296/7.603, allocations: 7.577 MB / 3.519 GB, free: 49.36 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006952/7.604, allocations: 1.154 MB / 3.52 GB, free: 48.17 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.001518/7.605, allocations: 364.9 kB / 3.521 GB, free: 47.81 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007035/7.606, allocations: 495.2 kB / 3.521 GB, free: 47.33 MB / 0.948 GB Notification: Performance of SimCode: time 8.21e-07/7.606, allocations: 0 / 3.521 GB, free: 47.33 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5905/8.196, allocations: 51.88 MB / 3.572 GB, free: 183.6 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000157/8.197, allocations: 243.2 kB / 3.572 GB, free: 183.3 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_Outside.o Buildings_8_Buildings_Fluid_Sources_Examples_Outside.c In file included from Buildings_8_Buildings_Fluid_Sources_Examples_Outside.c:7: In file included from ./Buildings_8_Buildings_Fluid_Sources_Examples_Outside_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_Outside_functions.o Buildings_8_Buildings_Fluid_Sources_Examples_Outside_functions.c In file included from Buildings_8_Buildings_Fluid_Sources_Examples_Outside_functions.c:2: In file included from ./Buildings_8_Buildings_Fluid_Sources_Examples_Outside_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_Outside_functions.c:7: In file included from ./Buildings_8_Buildings_Fluid_Sources_Examples_Outside_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_Outside_functions.o] Error 1