Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Obsolete.Utilities.IO.Python27.Functions.Examples.Exchange.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.Obsolete.Utilities.IO.Python27.Functions.Examples.Exchange,fileNamePrefix="Buildings_8_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_8_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.1.4-maint.8.1.x/package.mo): time 1.639/1.639, allocations: 292.6 MB / 307.5 MB, free: 5.207 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.001567/0.001567, allocations: 193 kB / 377.1 MB, free: 1.516 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.617/1.617, allocations: 205.4 MB / 0.6366 GB, free: 9.48 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.0008642/0.0008642, allocations: 90.95 kB / 0.7509 GB, free: 62.55 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003487/0.0003487, allocations: 12 kB / 0.8749 GB, free: 11.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3154/0.3158, allocations: 116.3 MB / 0.9884 GB, free: 6.742 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8283/1.144, allocations: 142.4 MB / 1.127 GB, free: 33.35 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002803/1.145, allocations: 94.98 kB / 1.128 GB, free: 33.27 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.03062/1.175, allocations: 11.57 MB / 1.139 GB, free: 25.06 MB / 0.7292 GB Notification: Performance of FrontEnd: time 5.911e-06/1.175, allocations: 0 / 1.139 GB, free: 25.06 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 7.985e-06/1.175, allocations: 3.938 kB / 1.139 GB, free: 25.05 MB / 0.7292 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.0006603/1.176, allocations: 439.1 kB / 1.139 GB, free: 24.59 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 5.553e-05/1.176, allocations: 12.67 kB / 1.139 GB, free: 24.57 MB / 0.7292 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.283e-05/1.176, allocations: 35.12 kB / 1.139 GB, free: 24.53 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.874e-05/1.176, allocations: 10.91 kB / 1.139 GB, free: 24.52 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001398/1.176, allocations: 176.7 kB / 1.14 GB, free: 24.32 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.942e-05/1.176, allocations: 5.188 kB / 1.14 GB, free: 24.31 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.116e-05/1.176, allocations: 8.703 kB / 1.14 GB, free: 24.3 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002973/1.177, allocations: 126.8 kB / 1.14 GB, free: 24.21 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.409e-05/1.177, allocations: 3.078 kB / 1.14 GB, free: 24.21 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.452e-05/1.177, allocations: 4 kB / 1.14 GB, free: 24.2 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.52e-06/1.177, allocations: 3.938 kB / 1.14 GB, free: 24.2 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001165/1.177, allocations: 62.48 kB / 1.14 GB, free: 24.15 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001727/1.177, allocations: 165.2 kB / 1.14 GB, free: 23.95 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001539/1.177, allocations: 113.6 kB / 1.14 GB, free: 23.84 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 8.936e-06/1.177, allocations: 0 / 1.14 GB, free: 23.84 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.599e-05/1.177, allocations: 42.59 kB / 1.14 GB, free: 23.79 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=6): time 9.12e-07/1.177, allocations: 0 / 1.14 GB, free: 23.79 MB / 0.7292 GB Notification: Performance of matching and sorting (n=6): time 0.0005565/1.178, allocations: 353.1 kB / 1.14 GB, free: 23.46 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.664e-05/1.178, allocations: 89 kB / 1.14 GB, free: 23.36 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.809e-05/1.178, allocations: 115.9 kB / 1.141 GB, free: 23.25 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 2.445e-05/1.178, allocations: 33.73 kB / 1.141 GB, free: 23.21 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 3.897e-05/1.178, allocations: 89.27 kB / 1.141 GB, free: 23.12 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 4.583e-05/1.178, allocations: 16.97 kB / 1.141 GB, free: 23.11 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.218e-05/1.178, allocations: 0 / 1.141 GB, free: 23.11 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 7.094e-05/1.178, allocations: 324.7 kB / 1.141 GB, free: 22.78 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.931e-05/1.178, allocations: 58.53 kB / 1.141 GB, free: 22.74 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.036e-05/1.178, allocations: 62.48 kB / 1.141 GB, free: 22.69 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.929e-05/1.178, allocations: 94.02 kB / 1.141 GB, free: 22.61 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.503e-06/1.178, allocations: 0 / 1.141 GB, free: 22.61 MB / 0.7292 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002982/1.179, allocations: 219.3 kB / 1.141 GB, free: 22.41 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 4.764e-05/1.179, allocations: 42.62 kB / 1.141 GB, free: 22.37 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.374e-06/1.179, allocations: 1.359 kB / 1.141 GB, free: 22.37 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.523e-05/1.179, allocations: 0 / 1.141 GB, free: 22.37 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.52e-07/1.179, allocations: 0 / 1.141 GB, free: 22.37 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.442e-06/1.179, allocations: 0 / 1.141 GB, free: 22.37 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002018/1.179, allocations: 20.19 kB / 1.141 GB, free: 22.35 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.169e-05/1.179, allocations: 18.86 kB / 1.141 GB, free: 22.34 MB / 0.7292 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.000146/1.179, allocations: 171.3 kB / 1.142 GB, free: 22.16 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.554e-05/1.179, allocations: 11.91 kB / 1.142 GB, free: 22.15 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.155e-05/1.179, allocations: 5.547 kB / 1.142 GB, free: 22.15 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.853e-06/1.179, allocations: 0.9375 kB / 1.142 GB, free: 22.15 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.649e-06/1.179, allocations: 0 / 1.142 GB, free: 22.15 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.262e-06/1.179, allocations: 4.75 kB / 1.142 GB, free: 22.14 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001183/1.18, allocations: 168.6 kB / 1.142 GB, free: 21.94 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.344e-06/1.18, allocations: 0.6562 kB / 1.142 GB, free: 21.94 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.144e-06/1.18, allocations: 0.875 kB / 1.142 GB, free: 21.94 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.282e-06/1.18, allocations: 0 / 1.142 GB, free: 21.94 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.768e-05/1.18, allocations: 19.38 kB / 1.142 GB, free: 21.93 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.052e-06/1.18, allocations: 7.938 kB / 1.142 GB, free: 21.92 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.134e-06/1.18, allocations: 0.7031 kB / 1.142 GB, free: 21.92 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003736/1.18, allocations: 271.7 kB / 1.142 GB, free: 21.67 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 4.245e-05/1.18, allocations: 93.61 kB / 1.142 GB, free: 21.56 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.662e-05/1.18, allocations: 9.359 kB / 1.142 GB, free: 21.55 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001833/1.18, allocations: 11.14 kB / 1.142 GB, free: 21.55 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.089e-05/1.18, allocations: 10.67 kB / 1.142 GB, free: 21.54 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.965e-05/1.18, allocations: 18.89 kB / 1.142 GB, free: 21.52 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 4.804e-05/1.18, allocations: 97.28 kB / 1.142 GB, free: 21.43 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.2e-07/1.18, allocations: 0 / 1.142 GB, free: 21.43 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0004703/1.181, allocations: 112.5 kB / 1.142 GB, free: 21.33 MB / 0.7292 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.001386/1.182, allocations: 1.129 MB / 1.144 GB, free: 20.33 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0003876/1.183, allocations: 286.9 kB / 1.144 GB, free: 20.08 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/1.183, allocations: 3.938 kB / 1.144 GB, free: 20.07 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0001974/1.183, allocations: 208.5 kB / 1.144 GB, free: 19.88 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000123/1.183, allocations: 15.94 kB / 1.144 GB, free: 19.86 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001534/1.185, allocations: 0.6219 MB / 1.145 GB, free: 19.38 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001548/1.185, allocations: 0.683 MB / 1.145 GB, free: 18.68 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.0001034/1.185, allocations: 59.42 kB / 1.145 GB, free: 18.64 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.508e-05/1.185, allocations: 8.234 kB / 1.145 GB, free: 18.64 MB / 0.7292 GB Notification: Performance of SimCode: time 4.11e-07/1.185, allocations: 4 kB / 1.145 GB, free: 18.63 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02083/1.206, allocations: 4.7 MB / 1.15 GB, free: 15.96 MB / 0.7292 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002381/1.206, allocations: 270.3 kB / 1.15 GB, free: 15.6 MB / 0.7292 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.1.4-maint.8.1.x/Resources/C-Sources" -c -o Buildings_8_Buildings_Obsolete_Utilities_IO_Python27_Functions_Examples_Exchange.o Buildings_8_Buildings_Obsolete_Utilities_IO_Python27_Functions_Examples_Exchange.c In file included from Buildings_8_Buildings_Obsolete_Utilities_IO_Python27_Functions_Examples_Exchange.c:7: In file included from ./Buildings_8_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.1.4-maint.8.1.x/Resources/C-Sources" -c -o Buildings_8_Buildings_Obsolete_Utilities_IO_Python27_Functions_Examples_Exchange_functions.o Buildings_8_Buildings_Obsolete_Utilities_IO_Python27_Functions_Examples_Exchange_functions.c In file included from Buildings_8_Buildings_Obsolete_Utilities_IO_Python27_Functions_Examples_Exchange_functions.c:2: In file included from ./Buildings_8_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_8_Buildings_Obsolete_Utilities_IO_Python27_Functions_Examples_Exchange_functions.c:7: In file included from ./Buildings_8_Buildings_Obsolete_Utilities_IO_Python27_Functions_Examples_Exchange_includes.h:4: /home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/Resources/C-Sources/pythonWrapper.c:22:10: fatal error: 'ModelicaUtilities.h' file not found #include "ModelicaUtilities.h" ^~~~~~~~~~~~~~~~~~~~~ 2 warnings and 1 error generated. make: *** [: Buildings_8_Buildings_Obsolete_Utilities_IO_Python27_Functions_Examples_Exchange_functions.o] Error 1