Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.Sources.Examples.Outside.conf.json 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 7.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Sources.Examples.Outside,fileNamePrefix="Buildings_7_0_0_Buildings_Fluid_Sources_Examples_Outside",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.221/2.221, allocations: 248.5 MB / 261.1 MB, free: 6.074 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001495/0.001494, allocations: 197.8 kB / 320.4 MB, free: 15.33 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.937/1.937, allocations: 205.2 MB / 0.571 GB, free: 11.74 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001093/0.001093, allocations: 101.4 kB / 0.6754 GB, free: 0.8242 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.663e-05/3.665e-05, allocations: 8 kB / 0.7869 GB, free: 97.79 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2017/0.2017, allocations: 106.2 MB / 0.8907 GB, free: 7.438 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 7.054/7.256, allocations: 2.219 GB / 3.11 GB, free: 130.5 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002964/7.257, allocations: 91.31 kB / 3.11 GB, free: 130.4 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 1.964/9.221, allocations: 383.3 MB / 3.484 GB, free: 90.52 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.944e-06/9.221, allocations: 0 / 3.484 GB, free: 90.52 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 0.0001408/9.221, allocations: 39.94 kB / 3.485 GB, free: 90.48 MB / 0.8698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 281 * Number of variables: 281 Notification: Performance of Generate backend data structure: time 0.004182/9.225, allocations: 1.508 MB / 3.486 GB, free: 88.92 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 5.046e-05/9.225, allocations: 8.031 kB / 3.486 GB, free: 88.91 MB / 0.8698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00035/9.226, allocations: 169 kB / 3.486 GB, free: 88.73 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003321/9.229, allocations: 342.3 kB / 3.486 GB, free: 88.4 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003799/9.233, allocations: 1.113 MB / 3.488 GB, free: 87.24 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.441e-05/9.233, allocations: 86.22 kB / 3.488 GB, free: 87.16 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002398/9.233, allocations: 111.9 kB / 3.488 GB, free: 87.05 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00287/9.236, allocations: 1.179 MB / 3.489 GB, free: 85.8 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.794e-05/9.236, allocations: 0 / 3.489 GB, free: 85.8 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001812/9.237, allocations: 48 kB / 3.489 GB, free: 85.75 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.577e-05/9.237, allocations: 28 kB / 3.489 GB, free: 85.73 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003078/9.24, allocations: 1.328 MB / 3.49 GB, free: 84.39 MB / 0.8698 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.009097/9.249, allocations: 3.74 MB / 3.494 GB, free: 80.49 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002843/9.252, allocations: 1.108 MB / 3.495 GB, free: 79.36 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009082/9.253, allocations: 408.7 kB / 3.495 GB, free: 78.96 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009749/9.254, allocations: 421.2 kB / 3.496 GB, free: 78.48 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00126/9.255, allocations: 0.5714 MB / 3.496 GB, free: 77.89 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=97): time 4.078e-06/9.255, allocations: 4 kB / 3.496 GB, free: 77.88 MB / 0.8698 GB Notification: Performance of matching and sorting (n=97): time 0.003839/9.259, allocations: 0.9605 MB / 3.497 GB, free: 76.91 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001114/9.259, allocations: 252.1 kB / 3.498 GB, free: 76.61 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001778/9.261, allocations: 0.7673 MB / 3.498 GB, free: 75.82 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 0.0004056/9.261, allocations: 49.64 kB / 3.498 GB, free: 75.77 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005457/9.262, allocations: 0.4886 MB / 3.499 GB, free: 75.27 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.000521/9.262, allocations: 339.1 kB / 3.499 GB, free: 74.93 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.861e-05/9.262, allocations: 20 kB / 3.499 GB, free: 74.91 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001032/9.263, allocations: 345.9 kB / 3.499 GB, free: 74.57 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008762/9.263, allocations: 305.9 kB / 3.5 GB, free: 74.27 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001015/9.264, allocations: 468.6 kB / 3.5 GB, free: 73.77 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001045/9.266, allocations: 372.8 kB / 3.501 GB, free: 73.41 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.642e-06/9.266, allocations: 0 / 3.501 GB, free: 73.41 MB / 0.8698 GB Notification: Performance of matching and sorting (n=109) (initialization): time 0.003592/9.269, allocations: 0.993 MB / 3.502 GB, free: 72.4 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 3.01e-05/9.269, allocations: 8 kB / 3.502 GB, free: 72.39 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.357e-05/9.269, allocations: 0 / 3.502 GB, free: 72.39 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009978/9.27, allocations: 88.78 kB / 3.502 GB, free: 72.3 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001899/9.272, allocations: 215.6 kB / 3.502 GB, free: 72.09 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00266/9.275, allocations: 1.524 MB / 3.503 GB, free: 70.43 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001704/9.277, allocations: 123.2 kB / 3.503 GB, free: 70.3 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001488/9.277, allocations: 39.97 kB / 3.503 GB, free: 70.27 MB / 0.8698 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.0003308/9.277, allocations: 170.2 kB / 3.504 GB, free: 70.09 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002504/9.277, allocations: 106.7 kB / 3.504 GB, free: 69.99 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004177/9.282, allocations: 1.385 MB / 3.505 GB, free: 68.58 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.224e-05/9.282, allocations: 8 kB / 3.505 GB, free: 68.57 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.909e-06/9.282, allocations: 0 / 3.505 GB, free: 68.57 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.523e-05/9.282, allocations: 3.984 kB / 3.505 GB, free: 68.57 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006347/9.288, allocations: 2.62 MB / 3.508 GB, free: 65.85 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.028e-06/9.288, allocations: 8.188 kB / 3.508 GB, free: 65.84 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001684/9.29, allocations: 207.6 kB / 3.508 GB, free: 65.64 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008363/9.291, allocations: 84.77 kB / 3.508 GB, free: 65.55 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001076/9.291, allocations: 31.98 kB / 3.508 GB, free: 65.52 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002295/9.293, allocations: 1.56 MB / 3.51 GB, free: 63.82 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.777e-06/9.293, allocations: 8 kB / 3.51 GB, free: 63.82 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004371/9.298, allocations: 1.744 MB / 3.511 GB, free: 62 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008902/9.298, allocations: 355.4 kB / 3.512 GB, free: 61.63 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002436/9.299, allocations: 20 kB / 3.512 GB, free: 61.61 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001504/9.3, allocations: 91.83 kB / 3.512 GB, free: 61.52 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002092/9.3, allocations: 72.86 kB / 3.512 GB, free: 61.45 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001271/9.301, allocations: 48.03 kB / 3.512 GB, free: 61.41 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.001185/9.302, allocations: 0.6367 MB / 3.512 GB, free: 60.75 MB / 0.8698 GB Notification: Performance of sort global known variables: time 1.322e-06/9.302, allocations: 0 / 3.512 GB, free: 60.75 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.002207/9.304, allocations: 0.5537 MB / 3.513 GB, free: 60.2 MB / 0.8698 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.008103/9.312, allocations: 4.428 MB / 3.517 GB, free: 55.8 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.002651/9.315, allocations: 0.9484 MB / 3.518 GB, free: 54.84 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 7.775e-06/9.315, allocations: 3.938 kB / 3.518 GB, free: 54.83 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.001388/9.316, allocations: 0.5904 MB / 3.519 GB, free: 54.23 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003605/9.32, allocations: 460.3 kB / 3.519 GB, free: 53.79 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007694/9.328, allocations: 2.251 MB / 3.521 GB, free: 51.47 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007118/9.328, allocations: 1.168 MB / 3.523 GB, free: 50.28 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.002148/9.331, allocations: 364.9 kB / 3.523 GB, free: 49.92 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009712/9.332, allocations: 495.2 kB / 3.523 GB, free: 49.43 MB / 0.8698 GB Notification: Performance of SimCode: time 9.22e-07/9.332, allocations: 0 / 3.523 GB, free: 49.43 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7535/10.09, allocations: 55.65 MB / 3.578 GB, free: 192.7 MB / 0.8698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002519/10.09, allocations: 213.3 kB / 3.578 GB, free: 192.4 MB / 0.8698 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 7.0.1/Resources/C-Sources" -c -o Buildings_7_0_0_Buildings_Fluid_Sources_Examples_Outside.o Buildings_7_0_0_Buildings_Fluid_Sources_Examples_Outside.c In file included from Buildings_7_0_0_Buildings_Fluid_Sources_Examples_Outside.c:7: In file included from ./Buildings_7_0_0_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 -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 7.0.1/Resources/C-Sources" -c -o Buildings_7_0_0_Buildings_Fluid_Sources_Examples_Outside_functions.o Buildings_7_0_0_Buildings_Fluid_Sources_Examples_Outside_functions.c In file included from Buildings_7_0_0_Buildings_Fluid_Sources_Examples_Outside_functions.c:2: In file included from ./Buildings_7_0_0_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_7_0_0_Buildings_Fluid_Sources_Examples_Outside_functions.c:7: In file included from ./Buildings_7_0_0_Buildings_Fluid_Sources_Examples_Outside_includes.h:4: /home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/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_7_0_0_Buildings_Fluid_Sources_Examples_Outside_functions.o' failed make: *** [Buildings_7_0_0_Buildings_Fluid_Sources_Examples_Outside_functions.o] Error 1