Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Obsolete.Utilities.IO.Python27.Functions.Examples.Exchange.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.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.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Obsolete.Utilities.IO.Python27.Functions.Examples.Exchange,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Obsolete_Utilities_IO_Python27_Functions_Examples_Exchange",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Obsolete.Utilities.IO.Python27.Functions.Examples.Exchange,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Obsolete_Utilities_IO_Python27_Functions_Examples_Exchange",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.715/1.715, allocations: 288.2 MB / 303.2 MB, free: 8.137 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.001181/0.001181, allocations: 174.2 kB / 371.8 MB, free: 10.27 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.907/1.907, allocations: 205.4 MB / 0.6305 GB, free: 10.03 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.0009175/0.0009175, allocations: 98.23 kB / 0.7439 GB, free: 5.953 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0006283/0.0006285, allocations: 14.75 kB / 0.8669 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3753/0.3759, allocations: 115.3 MB / 0.9795 GB, free: 27.59 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9133/1.289, allocations: 141.4 MB / 1.118 GB, free: 16.57 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002338/1.29, allocations: 94.66 kB / 1.118 GB, free: 16.57 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.02851/1.318, allocations: 11.56 MB / 1.129 GB, free: 30.83 MB / 0.698 GB Notification: Performance of FrontEnd: time 4.198e-06/1.318, allocations: 0 / 1.129 GB, free: 30.83 MB / 0.698 GB Notification: Performance of Transformations before backend: time 9.187e-06/1.318, allocations: 7.938 kB / 1.129 GB, free: 30.82 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.0006963/1.319, allocations: 443.7 kB / 1.129 GB, free: 30.38 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.995e-05/1.319, allocations: 7.688 kB / 1.129 GB, free: 30.38 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.152e-05/1.319, allocations: 38.33 kB / 1.129 GB, free: 30.34 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.995e-05/1.319, allocations: 7.688 kB / 1.129 GB, free: 30.34 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001942/1.319, allocations: 177 kB / 1.13 GB, free: 30.13 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.548e-05/1.319, allocations: 3.812 kB / 1.13 GB, free: 30.13 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.547e-05/1.319, allocations: 7.719 kB / 1.13 GB, free: 30.13 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002683/1.32, allocations: 129.8 kB / 1.13 GB, free: 30.06 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.878e-06/1.32, allocations: 0 / 1.13 GB, free: 30.06 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.307e-05/1.32, allocations: 0 / 1.13 GB, free: 30.06 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.241e-06/1.32, allocations: 3.938 kB / 1.13 GB, free: 30.05 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000109/1.32, allocations: 57.14 kB / 1.13 GB, free: 30.04 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001784/1.32, allocations: 169 kB / 1.13 GB, free: 29.84 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001565/1.32, allocations: 119.1 kB / 1.13 GB, free: 29.8 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.072e-05/1.32, allocations: 0 / 1.13 GB, free: 29.8 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.21e-05/1.32, allocations: 37.44 kB / 1.13 GB, free: 29.75 MB / 0.698 GB Notification: Performance of pre-optimization done (n=6): time 1.062e-06/1.32, allocations: 0 / 1.13 GB, free: 29.75 MB / 0.698 GB Notification: Performance of matching and sorting (n=6): time 0.0005488/1.321, allocations: 350 kB / 1.13 GB, free: 29.55 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.574e-05/1.321, allocations: 100 kB / 1.131 GB, free: 29.45 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.138e-05/1.321, allocations: 111.9 kB / 1.131 GB, free: 29.35 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 2.726e-05/1.321, allocations: 29.39 kB / 1.131 GB, free: 29.32 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 4.266e-05/1.321, allocations: 90.73 kB / 1.131 GB, free: 29.23 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 3.854e-05/1.321, allocations: 19.61 kB / 1.131 GB, free: 29.22 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.228e-05/1.321, allocations: 0 / 1.131 GB, free: 29.22 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 9.895e-05/1.321, allocations: 326 kB / 1.131 GB, free: 28.9 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.678e-05/1.321, allocations: 63 kB / 1.131 GB, free: 28.88 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.49e-05/1.321, allocations: 56.05 kB / 1.131 GB, free: 28.87 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.039e-05/1.322, allocations: 90.22 kB / 1.131 GB, free: 28.83 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/1.322, allocations: 0 / 1.131 GB, free: 28.83 MB / 0.698 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002686/1.322, allocations: 218.2 kB / 1.132 GB, free: 28.73 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 4.023e-05/1.322, allocations: 43.06 kB / 1.132 GB, free: 28.69 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.602e-06/1.322, allocations: 0 / 1.132 GB, free: 28.69 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.548e-05/1.322, allocations: 0 / 1.132 GB, free: 28.69 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.573e-06/1.322, allocations: 11.92 kB / 1.132 GB, free: 28.68 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.853e-06/1.322, allocations: 0 / 1.132 GB, free: 28.68 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001936/1.322, allocations: 15.47 kB / 1.132 GB, free: 28.68 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.612e-05/1.322, allocations: 15.55 kB / 1.132 GB, free: 28.68 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.0001445/1.322, allocations: 170.4 kB / 1.132 GB, free: 28.52 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.76e-05/1.322, allocations: 15.56 kB / 1.132 GB, free: 28.51 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.742e-05/1.322, allocations: 4.375 kB / 1.132 GB, free: 28.51 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.884e-06/1.322, allocations: 0 / 1.132 GB, free: 28.51 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.338e-06/1.322, allocations: 4 kB / 1.132 GB, free: 28.5 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.268e-06/1.322, allocations: 7.891 kB / 1.132 GB, free: 28.5 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001053/1.322, allocations: 171.9 kB / 1.132 GB, free: 28.3 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.413e-06/1.323, allocations: 0 / 1.132 GB, free: 28.3 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.495e-06/1.323, allocations: 7.734 kB / 1.132 GB, free: 28.3 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.435e-06/1.323, allocations: 0 / 1.132 GB, free: 28.3 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.251e-05/1.323, allocations: 7.625 kB / 1.132 GB, free: 28.3 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.673e-06/1.323, allocations: 0 / 1.132 GB, free: 28.3 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/1.323, allocations: 0 / 1.132 GB, free: 28.3 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003261/1.323, allocations: 281 kB / 1.132 GB, free: 28.15 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 4.615e-05/1.323, allocations: 95.8 kB / 1.132 GB, free: 28.05 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.241e-05/1.323, allocations: 7.922 kB / 1.132 GB, free: 28.04 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001836/1.323, allocations: 15.52 kB / 1.132 GB, free: 28.04 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.217e-05/1.323, allocations: 10.91 kB / 1.132 GB, free: 28.04 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.175e-05/1.323, allocations: 15.64 kB / 1.132 GB, free: 28.03 MB / 0.698 GB Notification: Performance of sorting global known variables: time 6.714e-05/1.323, allocations: 102.2 kB / 1.132 GB, free: 27.95 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.2e-07/1.323, allocations: 0 / 1.132 GB, free: 27.95 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0004374/1.324, allocations: 101.1 kB / 1.133 GB, free: 27.92 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.001447/1.325, allocations: 1.117 MB / 1.134 GB, free: 27.14 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0003359/1.326, allocations: 292.2 kB / 1.134 GB, free: 27.04 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 4.398e-06/1.326, allocations: 8 kB / 1.134 GB, free: 27.03 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0001696/1.326, allocations: 213.9 kB / 1.134 GB, free: 26.95 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001177/1.326, allocations: 6.625 kB / 1.134 GB, free: 26.95 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001263/1.327, allocations: 0.6221 MB / 1.135 GB, free: 26.57 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002446/1.327, allocations: 0.6844 MB / 1.135 GB, free: 25.86 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 7.912e-05/1.328, allocations: 58.3 kB / 1.135 GB, free: 25.84 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.595e-05/1.328, allocations: 10.5 kB / 1.135 GB, free: 25.83 MB / 0.698 GB Notification: Performance of SimCode: time 3.11e-07/1.328, allocations: 0 / 1.135 GB, free: 25.83 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.017/1.345, allocations: 4.726 MB / 1.14 GB, free: 23.47 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002154/1.345, allocations: 273.7 kB / 1.14 GB, free: 23.12 MB / 0.698 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.0.1-maint.8.0.x/Resources/C-Sources" -c -o Buildings_maint_8_0_x_Buildings_Obsolete_Utilities_IO_Python27_Functions_Examples_Exchange.o Buildings_maint_8_0_x_Buildings_Obsolete_Utilities_IO_Python27_Functions_Examples_Exchange.c In file included from Buildings_maint_8_0_x_Buildings_Obsolete_Utilities_IO_Python27_Functions_Examples_Exchange.c:7: In file included from ./Buildings_maint_8_0_x_Buildings_Obsolete_Utilities_IO_Python27_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 -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.0.1-maint.8.0.x/Resources/C-Sources" -c -o Buildings_maint_8_0_x_Buildings_Obsolete_Utilities_IO_Python27_Functions_Examples_Exchange_functions.o Buildings_maint_8_0_x_Buildings_Obsolete_Utilities_IO_Python27_Functions_Examples_Exchange_functions.c In file included from Buildings_maint_8_0_x_Buildings_Obsolete_Utilities_IO_Python27_Functions_Examples_Exchange_functions.c:2: In file included from ./Buildings_maint_8_0_x_Buildings_Obsolete_Utilities_IO_Python27_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_maint_8_0_x_Buildings_Obsolete_Utilities_IO_Python27_Functions_Examples_Exchange_functions.c:7: In file included from ./Buildings_maint_8_0_x_Buildings_Obsolete_Utilities_IO_Python27_Functions_Examples_Exchange_includes.h:4: /home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/Resources/C-Sources/pythonWrapper.c:22:10: fatal error: 'ModelicaUtilities.h' file not found #include ^~~~~~~~~~~~~~~~~~~~~ 2 warnings and 1 error generated. make: *** [: Buildings_maint_8_0_x_Buildings_Obsolete_Utilities_IO_Python27_Functions_Examples_Exchange_functions.o] Error 1