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.665/1.665, allocations: 289.7 MB / 302.2 MB, free: 2.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.002712/0.002711, allocations: 184.3 kB / 371.6 MB, free: 3.418 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.731/1.731, allocations: 205.1 MB / 0.6309 GB, free: 11.8 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.001004/0.001004, allocations: 92.31 kB / 0.745 GB, free: 54.59 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 4.74e-05/4.744e-05, allocations: 0 / 0.8663 GB, free: 15.02 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2754/0.2755, allocations: 116.3 MB / 0.9799 GB, free: 10.56 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.498/5.774, allocations: 2.102 GB / 3.082 GB, free: 137.8 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003161/5.774, allocations: 88.52 kB / 3.082 GB, free: 137.7 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 1.444/7.218, allocations: 393.7 MB / 3.467 GB, free: 115.8 MB / 0.948 GB Notification: Performance of FrontEnd: time 3.216e-06/7.218, allocations: 0 / 3.467 GB, free: 115.8 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0001152/7.218, allocations: 39.94 kB / 3.467 GB, free: 115.8 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.003235/7.221, allocations: 1.491 MB / 3.468 GB, free: 114.2 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 5.741e-05/7.221, allocations: 8.031 kB / 3.468 GB, free: 114.2 MB / 0.948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001769/7.222, allocations: 164.9 kB / 3.468 GB, free: 114 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001953/7.224, allocations: 349.9 kB / 3.469 GB, free: 113.7 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002187/7.226, allocations: 1.102 MB / 3.47 GB, free: 112.6 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.142e-05/7.226, allocations: 86.2 kB / 3.47 GB, free: 112.5 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001331/7.226, allocations: 116 kB / 3.47 GB, free: 112.4 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001663/7.228, allocations: 1.162 MB / 3.471 GB, free: 111.1 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.118e-05/7.228, allocations: 7.938 kB / 3.471 GB, free: 111.1 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001012/7.228, allocations: 49.03 kB / 3.471 GB, free: 111.1 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.619e-05/7.228, allocations: 28 kB / 3.471 GB, free: 111.1 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001642/7.229, allocations: 1.324 MB / 3.472 GB, free: 109.7 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.005047/7.234, allocations: 3.689 MB / 3.476 GB, free: 105.9 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001573/7.236, allocations: 1.102 MB / 3.477 GB, free: 104.8 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005016/7.237, allocations: 402.1 kB / 3.478 GB, free: 104.4 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006195/7.237, allocations: 429.1 kB / 3.478 GB, free: 103.9 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007087/7.238, allocations: 0.5597 MB / 3.478 GB, free: 103.3 MB / 0.948 GB Notification: Performance of pre-optimization done (n=97): time 2.916e-06/7.238, allocations: 0 / 3.478 GB, free: 103.3 MB / 0.948 GB Notification: Performance of matching and sorting (n=97): time 0.00203/7.24, allocations: 0.9722 MB / 3.479 GB, free: 102.3 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.621e-05/7.24, allocations: 240.1 kB / 3.48 GB, free: 102 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008247/7.241, allocations: 0.7747 MB / 3.48 GB, free: 101.2 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 7.254e-05/7.241, allocations: 45.7 kB / 3.48 GB, free: 101.2 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002703/7.241, allocations: 0.4885 MB / 3.481 GB, free: 100.7 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001865/7.241, allocations: 331.2 kB / 3.481 GB, free: 100.3 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.222e-05/7.242, allocations: 16 kB / 3.481 GB, free: 100.3 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 7.252e-05/7.242, allocations: 341.9 kB / 3.482 GB, free: 99.99 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004235/7.242, allocations: 309.9 kB / 3.482 GB, free: 99.69 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005161/7.243, allocations: 467.7 kB / 3.482 GB, free: 99.18 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005284/7.243, allocations: 380.8 kB / 3.483 GB, free: 98.82 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.166e-06/7.243, allocations: 0 / 3.483 GB, free: 98.82 MB / 0.948 GB Notification: Performance of matching and sorting (n=109) (initialization): time 0.00173/7.245, allocations: 1.005 MB / 3.484 GB, free: 97.8 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 2.005e-05/7.245, allocations: 8 kB / 3.484 GB, free: 97.79 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.536e-06/7.245, allocations: 7.984 kB / 3.484 GB, free: 97.79 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005745/7.245, allocations: 96.75 kB / 3.484 GB, free: 97.69 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008068/7.246, allocations: 203.8 kB / 3.484 GB, free: 97.49 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001628/7.248, allocations: 1.524 MB / 3.485 GB, free: 95.82 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007525/7.249, allocations: 123 kB / 3.486 GB, free: 95.7 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.569e-05/7.249, allocations: 43.97 kB / 3.486 GB, free: 95.66 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 () * 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.0001687/7.249, allocations: 152.8 kB / 3.486 GB, free: 95.5 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001417/7.249, allocations: 110.7 kB / 3.486 GB, free: 95.39 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002319/7.251, allocations: 1.389 MB / 3.487 GB, free: 93.98 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.347e-06/7.251, allocations: 12 kB / 3.487 GB, free: 93.97 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.628e-06/7.251, allocations: 7.953 kB / 3.487 GB, free: 93.96 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.089e-05/7.251, allocations: 3.984 kB / 3.487 GB, free: 93.96 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003482/7.255, allocations: 2.627 MB / 3.49 GB, free: 91.23 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.058e-06/7.255, allocations: 0 / 3.49 GB, free: 91.23 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007852/7.256, allocations: 191.8 kB / 3.49 GB, free: 91.05 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004548/7.256, allocations: 92.95 kB / 3.49 GB, free: 90.95 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.256e-05/7.256, allocations: 27.98 kB / 3.49 GB, free: 90.93 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001435/7.258, allocations: 1.56 MB / 3.492 GB, free: 89.23 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.368e-06/7.258, allocations: 7.953 kB / 3.492 GB, free: 89.22 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002311/7.26, allocations: 1.746 MB / 3.493 GB, free: 87.4 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005298/7.261, allocations: 359.3 kB / 3.494 GB, free: 87.03 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001336/7.261, allocations: 16 kB / 3.494 GB, free: 87.02 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007634/7.262, allocations: 103.8 kB / 3.494 GB, free: 86.91 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001442/7.262, allocations: 76.78 kB / 3.494 GB, free: 86.84 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.626e-05/7.262, allocations: 43.97 kB / 3.494 GB, free: 86.8 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.0006813/7.262, allocations: 0.6247 MB / 3.495 GB, free: 86.16 MB / 0.948 GB Notification: Performance of sort global known variables: time 3.51e-07/7.263, allocations: 0 / 3.495 GB, free: 86.16 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.001675/7.264, allocations: 0.5498 MB / 3.495 GB, free: 85.61 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) * 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.005299/7.269, allocations: 4.442 MB / 3.499 GB, free: 81.14 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.001459/7.271, allocations: 0.9449 MB / 3.5 GB, free: 80.18 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 3.496e-06/7.271, allocations: 256 / 3.5 GB, free: 80.18 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0007851/7.272, allocations: 0.6016 MB / 3.501 GB, free: 79.57 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001888/7.274, allocations: 464 kB / 3.501 GB, free: 79.12 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004771/7.278, allocations: 2.243 MB / 3.504 GB, free: 76.82 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005403/7.279, allocations: 1.154 MB / 3.505 GB, free: 75.63 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.001285/7.28, allocations: 368.9 kB / 3.505 GB, free: 75.27 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006053/7.281, allocations: 487.2 kB / 3.506 GB, free: 74.79 MB / 0.948 GB Notification: Performance of SimCode: time 1.583e-06/7.281, allocations: 0 / 3.506 GB, free: 74.79 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09053/7.371, allocations: 55.56 MB / 3.56 GB, free: 19.45 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001508/7.372, allocations: 212.6 kB / 3.56 GB, free: 19.22 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_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: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_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: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_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