Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Utilities.IO.Python36.Functions.Examples.Exchange.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.Utilities.IO.Python36.Functions.Examples.Exchange,fileNamePrefix="Buildings_8_0_0_Buildings_Utilities_IO_Python36_Functions_Examples_Exchange",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.IO.Python36.Functions.Examples.Exchange,fileNamePrefix="Buildings_8_0_0_Buildings_Utilities_IO_Python36_Functions_Examples_Exchange",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 3.04/3.04, allocations: 287.3 MB / 302.3 MB, free: 8.359 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.001653/0.001653, allocations: 179.7 kB / 370.8 MB, free: 10.88 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.138/2.138, allocations: 205.4 MB / 0.6295 GB, free: 10.56 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001108/0.001108, allocations: 91.92 kB / 0.7428 GB, free: 6.562 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004976/0.0004978, allocations: 15.33 kB / 0.8657 GB, free: 140.9 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2136/0.2142, allocations: 115.3 MB / 0.9783 GB, free: 28.33 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9598/1.174, allocations: 140.8 MB / 1.116 GB, free: 15.74 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003405/1.174, allocations: 97.53 kB / 1.116 GB, free: 15.73 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.04583/1.22, allocations: 10.91 MB / 1.127 GB, free: 30.81 MB / 0.698 GB Notification: Performance of FrontEnd: time 3.456e-06/1.22, allocations: 0 / 1.127 GB, free: 30.81 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.389e-05/1.22, allocations: 4 kB / 1.127 GB, free: 30.8 MB / 0.698 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.0009293/1.221, allocations: 442.9 kB / 1.127 GB, free: 30.38 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 7.369e-05/1.221, allocations: 15.61 kB / 1.127 GB, free: 30.37 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001115/1.222, allocations: 34.53 kB / 1.127 GB, free: 30.33 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.73e-05/1.222, allocations: 7.797 kB / 1.127 GB, free: 30.33 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002396/1.222, allocations: 172.8 kB / 1.127 GB, free: 30.13 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.841e-05/1.222, allocations: 3.812 kB / 1.127 GB, free: 30.13 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.515e-05/1.222, allocations: 3.906 kB / 1.127 GB, free: 30.13 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005638/1.223, allocations: 128.1 kB / 1.127 GB, free: 30.1 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.519e-05/1.223, allocations: 4 kB / 1.127 GB, free: 30.09 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.287e-05/1.223, allocations: 3.875 kB / 1.127 GB, free: 30.09 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.165e-06/1.223, allocations: 0 / 1.127 GB, free: 30.09 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003489/1.223, allocations: 61.8 kB / 1.127 GB, free: 30.09 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003199/1.224, allocations: 163.6 kB / 1.128 GB, free: 29.9 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003578/1.224, allocations: 116.3 kB / 1.128 GB, free: 29.88 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.168e-05/1.224, allocations: 0 / 1.128 GB, free: 29.88 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.213e-05/1.224, allocations: 38.41 kB / 1.128 GB, free: 29.83 MB / 0.698 GB Notification: Performance of pre-optimization done (n=6): time 3.657e-06/1.224, allocations: 3.938 kB / 1.128 GB, free: 29.83 MB / 0.698 GB Notification: Performance of matching and sorting (n=6): time 0.001246/1.225, allocations: 357.5 kB / 1.128 GB, free: 29.67 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001324/1.226, allocations: 87.25 kB / 1.128 GB, free: 29.57 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002284/1.226, allocations: 121.6 kB / 1.128 GB, free: 29.48 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 9.399e-05/1.226, allocations: 29.52 kB / 1.128 GB, free: 29.45 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 7.82e-05/1.226, allocations: 83.52 kB / 1.128 GB, free: 29.36 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 9.562e-05/1.226, allocations: 18.3 kB / 1.128 GB, free: 29.36 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.875e-05/1.226, allocations: 3.906 kB / 1.128 GB, free: 29.36 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0002459/1.226, allocations: 318.8 kB / 1.129 GB, free: 29.04 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003027/1.227, allocations: 63.48 kB / 1.129 GB, free: 29.04 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002603/1.227, allocations: 64.44 kB / 1.129 GB, free: 29.04 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000281/1.227, allocations: 93.25 kB / 1.129 GB, free: 29 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.24e-06/1.227, allocations: 384 / 1.129 GB, free: 29 MB / 0.698 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0008342/1.228, allocations: 213.2 kB / 1.129 GB, free: 28.93 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 9.032e-05/1.228, allocations: 42.2 kB / 1.129 GB, free: 28.9 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.987e-06/1.228, allocations: 0 / 1.129 GB, free: 28.9 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.115e-05/1.228, allocations: 7.812 kB / 1.129 GB, free: 28.89 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.054e-06/1.228, allocations: 4.062 kB / 1.129 GB, free: 28.89 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.038e-06/1.228, allocations: 2.766 kB / 1.129 GB, free: 28.89 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005631/1.229, allocations: 14.52 kB / 1.129 GB, free: 28.89 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001107/1.229, allocations: 18.02 kB / 1.129 GB, free: 28.89 MB / 0.698 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 () * Number of clocked 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.0003739/1.23, allocations: 168.3 kB / 1.129 GB, free: 28.74 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.178e-05/1.23, allocations: 11.69 kB / 1.129 GB, free: 28.74 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.431e-05/1.23, allocations: 7.516 kB / 1.129 GB, free: 28.73 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.384e-06/1.23, allocations: 3.875 kB / 1.129 GB, free: 28.73 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.121e-06/1.23, allocations: 7.938 kB / 1.129 GB, free: 28.73 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.781e-06/1.23, allocations: 0 / 1.129 GB, free: 28.73 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002483/1.23, allocations: 176.3 kB / 1.13 GB, free: 28.53 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.418e-06/1.23, allocations: 3.844 kB / 1.13 GB, free: 28.53 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.084e-06/1.23, allocations: 0 / 1.13 GB, free: 28.53 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.921e-06/1.23, allocations: 0 / 1.13 GB, free: 28.53 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.435e-05/1.23, allocations: 10.75 kB / 1.13 GB, free: 28.53 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.951e-06/1.23, allocations: 0 / 1.13 GB, free: 28.53 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.975e-06/1.23, allocations: 3.938 kB / 1.13 GB, free: 28.53 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009375/1.231, allocations: 280.8 kB / 1.13 GB, free: 28.42 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 9.959e-05/1.231, allocations: 88.08 kB / 1.13 GB, free: 28.32 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.728e-05/1.231, allocations: 10.69 kB / 1.13 GB, free: 28.32 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005606/1.232, allocations: 10.33 kB / 1.13 GB, free: 28.32 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.059e-05/1.232, allocations: 18.28 kB / 1.13 GB, free: 28.32 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.118e-05/1.232, allocations: 10.05 kB / 1.13 GB, free: 28.32 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0001325/1.232, allocations: 99.97 kB / 1.13 GB, free: 28.25 MB / 0.698 GB Notification: Performance of sort global known variables: time 3.5e-07/1.232, allocations: 0 / 1.13 GB, free: 28.25 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0006256/1.233, allocations: 102.9 kB / 1.13 GB, free: 28.22 MB / 0.698 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]) * Number of clocked states: 0 () * 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.002197/1.235, allocations: 1.122 MB / 1.131 GB, free: 27.49 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0006319/1.236, allocations: 284.9 kB / 1.131 GB, free: 27.43 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 4.769e-06/1.236, allocations: 7.906 kB / 1.131 GB, free: 27.42 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0003044/1.236, allocations: 209.7 kB / 1.132 GB, free: 27.36 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001636/1.236, allocations: 7.75 kB / 1.132 GB, free: 27.36 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002052/1.239, allocations: 0.6179 MB / 1.132 GB, free: 27.12 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003349/1.239, allocations: 0.6806 MB / 1.133 GB, free: 26.42 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0001082/1.239, allocations: 46.95 kB / 1.133 GB, free: 26.4 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.462e-05/1.239, allocations: 15.22 kB / 1.133 GB, free: 26.39 MB / 0.698 GB Notification: Performance of SimCode: time 1.333e-06/1.239, allocations: 0 / 1.133 GB, free: 26.39 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.033/1.272, allocations: 4.655 MB / 1.138 GB, free: 24.08 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004795/1.273, allocations: 262.3 kB / 1.138 GB, free: 23.75 MB / 0.698 GB Error: Error building simulator. Build log: clang -Os -fPIC -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.0.0/Resources/C-Sources" -c -o Buildings_8_0_0_Buildings_Utilities_IO_Python36_Functions_Examples_Exchange.o Buildings_8_0_0_Buildings_Utilities_IO_Python36_Functions_Examples_Exchange.c In file included from Buildings_8_0_0_Buildings_Utilities_IO_Python36_Functions_Examples_Exchange.c:7: In file included from ./Buildings_8_0_0_Buildings_Utilities_IO_Python36_Functions_Examples_Exchange_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 -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.0.0/Resources/C-Sources" -c -o Buildings_8_0_0_Buildings_Utilities_IO_Python36_Functions_Examples_Exchange_functions.o Buildings_8_0_0_Buildings_Utilities_IO_Python36_Functions_Examples_Exchange_functions.c In file included from Buildings_8_0_0_Buildings_Utilities_IO_Python36_Functions_Examples_Exchange_functions.c:2: In file included from ./Buildings_8_0_0_Buildings_Utilities_IO_Python36_Functions_Examples_Exchange_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_0_0_Buildings_Utilities_IO_Python36_Functions_Examples_Exchange_functions.c:7: In file included from ./Buildings_8_0_0_Buildings_Utilities_IO_Python36_Functions_Examples_Exchange_includes.h:4: /home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/Resources/C-Sources/pythonWrapper.c:21:10: fatal error: 'ModelicaUtilities.h' file not found #include ^~~~~~~~~~~~~~~~~~~~~ 2 warnings and 1 error generated. : recipe for target 'Buildings_8_0_0_Buildings_Utilities_IO_Python36_Functions_Examples_Exchange_functions.o' failed make: *** [Buildings_8_0_0_Buildings_Utilities_IO_Python36_Functions_Examples_Exchange_functions.o] Error 1