Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Utilities.IO.Python27.Functions.Examples.Exchange.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.IO.Python27.Functions.Examples.Exchange,fileNamePrefix="Buildings_6_0_0_Buildings_Utilities_IO_Python27_Functions_Examples_Exchange",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.397/4.397, allocations: 432.6 MB / 445.2 MB, free: 15.81 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 5.747e-05/5.751e-05, allocations: 5.328 kB / 0.5383 GB, free: 10.28 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2576/0.2577, allocations: 98.73 MB / 0.6347 GB, free: 1.863 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2749/0.5326, allocations: 127.3 MB / 0.759 GB, free: 2.391 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003525/0.5331, allocations: 91.94 kB / 0.7591 GB, free: 2.301 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.05156/0.5846, allocations: 10.71 MB / 0.7696 GB, free: 7.551 MB / 0.6511 GB Notification: Performance of FrontEnd: time 1.694e-06/0.5847, allocations: 0 / 0.7696 GB, free: 7.551 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 1.661e-05/0.5847, allocations: 4 kB / 0.7696 GB, free: 7.547 MB / 0.6511 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0005365/0.5853, allocations: 420.1 kB / 0.77 GB, free: 7.086 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 5.023e-05/0.5853, allocations: 15.97 kB / 0.77 GB, free: 7.07 MB / 0.6511 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.388e-05/0.5854, allocations: 42.56 kB / 0.77 GB, free: 7.02 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.993e-05/0.5855, allocations: 11.86 kB / 0.7701 GB, free: 7.008 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001559/0.5857, allocations: 178.9 kB / 0.7702 GB, free: 6.793 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.951e-05/0.5857, allocations: 4 kB / 0.7702 GB, free: 6.789 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.946e-05/0.5857, allocations: 4 kB / 0.7702 GB, free: 6.785 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003271/0.5861, allocations: 125.6 kB / 0.7704 GB, free: 6.656 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.077e-06/0.5861, allocations: 0 / 0.7704 GB, free: 6.656 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.876e-05/0.5861, allocations: 4 kB / 0.7704 GB, free: 6.652 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.569e-06/0.5862, allocations: 0 / 0.7704 GB, free: 6.652 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001792/0.5863, allocations: 71.91 kB / 0.7704 GB, free: 6.582 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001835/0.5865, allocations: 153.7 kB / 0.7706 GB, free: 6.383 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002798/0.5868, allocations: 118.5 kB / 0.7707 GB, free: 6.258 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002203/0.5871, allocations: 104.9 kB / 0.7708 GB, free: 6.152 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 9.338e-06/0.5871, allocations: 0 / 0.7708 GB, free: 6.152 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.356e-05/0.5871, allocations: 30.56 kB / 0.7708 GB, free: 6.113 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=6): time 1.823e-06/0.5871, allocations: 0 / 0.7708 GB, free: 6.113 MB / 0.6511 GB Notification: Performance of matching and sorting (n=6): time 0.0006085/0.5878, allocations: 219.2 kB / 0.771 GB, free: 5.887 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.258e-05/0.5878, allocations: 85.11 kB / 0.7711 GB, free: 5.785 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001343/0.588, allocations: 124.8 kB / 0.7712 GB, free: 5.656 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 4.008e-05/0.588, allocations: 29.7 kB / 0.7713 GB, free: 5.621 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 4.908e-05/0.5881, allocations: 88.14 kB / 0.7713 GB, free: 5.531 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 5.212e-05/0.5882, allocations: 11.81 kB / 0.7714 GB, free: 5.52 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.162e-05/0.5882, allocations: 0 / 0.7714 GB, free: 5.52 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001197/0.5883, allocations: 327.1 kB / 0.7717 GB, free: 5.191 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001749/0.5885, allocations: 60 kB / 0.7717 GB, free: 5.133 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001674/0.5887, allocations: 63.89 kB / 0.7718 GB, free: 5.07 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001903/0.5889, allocations: 93.7 kB / 0.7719 GB, free: 4.973 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.354e-06/0.5889, allocations: 0 / 0.7719 GB, free: 4.973 MB / 0.6511 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0005443/0.5895, allocations: 207.3 kB / 0.7721 GB, free: 4.758 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 7.473e-05/0.5896, allocations: 46.06 kB / 0.7721 GB, free: 4.707 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.661e-06/0.5896, allocations: 0 / 0.7721 GB, free: 4.707 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.582e-05/0.5896, allocations: 0 / 0.7721 GB, free: 4.707 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.473e-06/0.5896, allocations: 0 / 0.7721 GB, free: 4.707 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.254e-06/0.5896, allocations: 7.938 kB / 0.7721 GB, free: 4.699 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003955/0.59, allocations: 23.89 kB / 0.7721 GB, free: 4.676 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.996e-05/0.5901, allocations: 15.98 kB / 0.7722 GB, free: 4.66 MB / 0.6511 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 (yI1[1],yI2[1],yI2[2]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000194/0.5903, allocations: 158.6 kB / 0.7723 GB, free: 4.492 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.557e-05/0.5904, allocations: 11.91 kB / 0.7723 GB, free: 4.48 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.597e-05/0.5904, allocations: 8.625 kB / 0.7723 GB, free: 4.469 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.747e-06/0.5904, allocations: 0 / 0.7723 GB, free: 4.469 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.22e-06/0.5905, allocations: 0 / 0.7723 GB, free: 4.469 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.256e-06/0.5905, allocations: 0 / 0.7723 GB, free: 4.469 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001855/0.5907, allocations: 173.6 kB / 0.7725 GB, free: 4.25 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.024e-06/0.5907, allocations: 4 kB / 0.7725 GB, free: 4.246 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.233e-06/0.5907, allocations: 0 / 0.7725 GB, free: 4.246 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.786e-06/0.5907, allocations: 0 / 0.7725 GB, free: 4.246 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.305e-05/0.5907, allocations: 15.98 kB / 0.7725 GB, free: 4.23 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.874e-06/0.5908, allocations: 0 / 0.7725 GB, free: 4.23 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.703e-06/0.5908, allocations: 0 / 0.7725 GB, free: 4.23 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006903/0.5915, allocations: 274.5 kB / 0.7728 GB, free: 3.938 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 7.827e-05/0.5916, allocations: 89 kB / 0.7729 GB, free: 3.832 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.31e-05/0.5916, allocations: 12.03 kB / 0.7729 GB, free: 3.82 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000363/0.592, allocations: 15.92 kB / 0.7729 GB, free: 3.805 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.077e-05/0.5921, allocations: 11.98 kB / 0.7729 GB, free: 3.793 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.724e-05/0.5921, allocations: 16 kB / 0.7729 GB, free: 3.777 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 9.208e-05/0.5922, allocations: 99.2 kB / 0.773 GB, free: 3.68 MB / 0.6511 GB Notification: Performance of sort global known variables: time 4.61e-07/0.5923, allocations: 0 / 0.773 GB, free: 3.68 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0005767/0.5928, allocations: 107.9 kB / 0.7731 GB, free: 3.574 MB / 0.6511 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 (yI1[1],yI2[1],yI2[2]) * Number of discrete states: 3 (yI2[2],yI2[1],yI1[1]) * Top-level inputs: 0 Notification: Strong component statistics for simulation (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002205/0.5951, allocations: 1.112 MB / 0.7742 GB, free: 2.5 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0007511/0.5959, allocations: 291.3 kB / 0.7745 GB, free: 2.203 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 4.418e-06/0.5959, allocations: 0 / 0.7745 GB, free: 2.203 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.000364/0.5963, allocations: 211.4 kB / 0.7747 GB, free: 1.984 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001648/0.5965, allocations: 4 kB / 0.7747 GB, free: 1.98 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002168/0.5986, allocations: 0.5524 MB / 0.7752 GB, free: 1.391 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004027/0.5991, allocations: 0.6809 MB / 0.7759 GB, free: 0.6836 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0001358/0.5992, allocations: 63.8 kB / 0.7759 GB, free: 0.6211 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.353e-05/0.5993, allocations: 11.44 kB / 0.776 GB, free: 0.6133 MB / 0.6511 GB Notification: Performance of SimCode: time 1.793e-06/0.5993, allocations: 4 kB / 0.776 GB, free: 0.6094 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6768/1.276, allocations: 4.669 MB / 0.7805 GB, free: 139.2 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002569/1.276, allocations: 240.1 kB / 0.7808 GB, free: 138.9 MB / 0.6511 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' "-I/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/Resources/C-Sources" -c -o Buildings_6_0_0_Buildings_Utilities_IO_Python27_Functions_Examples_Exchange.o Buildings_6_0_0_Buildings_Utilities_IO_Python27_Functions_Examples_Exchange.c In file included from Buildings_6_0_0_Buildings_Utilities_IO_Python27_Functions_Examples_Exchange.c:7: In file included from ./Buildings_6_0_0_Buildings_Utilities_IO_Python27_Functions_Examples_Exchange_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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' "-I/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/Resources/C-Sources" -c -o Buildings_6_0_0_Buildings_Utilities_IO_Python27_Functions_Examples_Exchange_functions.o Buildings_6_0_0_Buildings_Utilities_IO_Python27_Functions_Examples_Exchange_functions.c In file included from Buildings_6_0_0_Buildings_Utilities_IO_Python27_Functions_Examples_Exchange_functions.c:2: In file included from ./Buildings_6_0_0_Buildings_Utilities_IO_Python27_Functions_Examples_Exchange_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_6_0_0_Buildings_Utilities_IO_Python27_Functions_Examples_Exchange_functions.c:7: In file included from ./Buildings_6_0_0_Buildings_Utilities_IO_Python27_Functions_Examples_Exchange_includes.h:4: /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/Resources/C-Sources/python27Wrapper.c:21:10: fatal error: 'ModelicaUtilities.h' file not found #include ^~~~~~~~~~~~~~~~~~~~~ 2 warnings and 1 error generated. : recipe for target 'Buildings_6_0_0_Buildings_Utilities_IO_Python27_Functions_Examples_Exchange_functions.o' failed make: *** [Buildings_6_0_0_Buildings_Utilities_IO_Python27_Functions_Examples_Exchange_functions.o] Error 1