Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Obsolete.Utilities.IO.Python27.Functions.Examples.Exchange.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.Obsolete.Utilities.IO.Python27.Functions.Examples.Exchange,fileNamePrefix="Buildings_7_0_0_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 7.0.1/package.mo): time 2.284/2.284, allocations: 251 MB / 265.9 MB, free: 11.68 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001642/0.001641, allocations: 181.9 kB / 325.5 MB, free: 2.879 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.319/2.319, allocations: 205.4 MB / 0.5764 GB, free: 21.21 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.001222/0.001221, allocations: 103.8 kB / 0.6809 GB, free: 14.06 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004785/0.0004784, allocations: 15.78 kB / 0.7951 GB, free: 135.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2275/0.228, allocations: 106.3 MB / 0.8988 GB, free: 65.89 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2278/0.4559, allocations: 134.9 MB / 1.031 GB, free: 10.8 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003474/0.4563, allocations: 99.92 kB / 1.031 GB, free: 10.7 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.05194/0.5083, allocations: 11.57 MB / 1.042 GB, free: 15.09 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.575e-06/0.5083, allocations: 4 kB / 1.042 GB, free: 15.09 MB / 0.698 GB Notification: Performance of Transformations before backend: time 7.855e-06/0.5083, allocations: 0 / 1.042 GB, free: 15.09 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.0006071/0.509, allocations: 440.8 kB / 1.042 GB, free: 14.61 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.845e-05/0.509, allocations: 8.031 kB / 1.042 GB, free: 14.6 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.905e-05/0.5091, allocations: 46.5 kB / 1.042 GB, free: 14.54 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.948e-05/0.5092, allocations: 15.86 kB / 1.042 GB, free: 14.53 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001632/0.5093, allocations: 175 kB / 1.043 GB, free: 14.32 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.546e-05/0.5094, allocations: 0 / 1.043 GB, free: 14.32 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.823e-05/0.5094, allocations: 8 kB / 1.043 GB, free: 14.31 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003334/0.5098, allocations: 125.6 kB / 1.043 GB, free: 14.18 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.837e-06/0.5098, allocations: 0 / 1.043 GB, free: 14.18 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.856e-05/0.5098, allocations: 4 kB / 1.043 GB, free: 14.18 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.629e-06/0.5098, allocations: 0 / 1.043 GB, free: 14.18 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001853/0.51, allocations: 67.89 kB / 1.043 GB, free: 14.11 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001777/0.5102, allocations: 153.7 kB / 1.043 GB, free: 13.91 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002479/0.5105, allocations: 118.5 kB / 1.043 GB, free: 13.79 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 9.087e-06/0.5105, allocations: 0 / 1.043 GB, free: 13.79 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.196e-05/0.5106, allocations: 38.59 kB / 1.043 GB, free: 13.74 MB / 0.698 GB Notification: Performance of pre-optimization done (n=6): time 1.383e-06/0.5106, allocations: 3.938 kB / 1.043 GB, free: 13.73 MB / 0.698 GB Notification: Performance of matching and sorting (n=6): time 0.0008606/0.5114, allocations: 360.6 kB / 1.043 GB, free: 13.35 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.683e-05/0.5115, allocations: 89.09 kB / 1.044 GB, free: 13.25 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001255/0.5117, allocations: 116.8 kB / 1.044 GB, free: 13.12 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 3.7e-05/0.5117, allocations: 29.7 kB / 1.044 GB, free: 13.09 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 4.671e-05/0.5118, allocations: 88.12 kB / 1.044 GB, free: 13 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 5.844e-05/0.5118, allocations: 19.75 kB / 1.044 GB, free: 12.98 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.618e-05/0.5119, allocations: 4.031 kB / 1.044 GB, free: 12.98 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001171/0.512, allocations: 318.8 kB / 1.044 GB, free: 12.66 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001756/0.5122, allocations: 63.94 kB / 1.044 GB, free: 12.59 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001658/0.5124, allocations: 59.94 kB / 1.044 GB, free: 12.54 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001818/0.5126, allocations: 89.66 kB / 1.044 GB, free: 12.44 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/0.5126, allocations: 4 kB / 1.044 GB, free: 12.44 MB / 0.698 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0005349/0.5131, allocations: 207.3 kB / 1.045 GB, free: 12.22 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 8.188e-05/0.5132, allocations: 45.69 kB / 1.045 GB, free: 12.17 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.775e-06/0.5132, allocations: 3.984 kB / 1.045 GB, free: 12.17 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.602e-05/0.5133, allocations: 4.062 kB / 1.045 GB, free: 12.16 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.593e-06/0.5133, allocations: 0 / 1.045 GB, free: 12.16 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.172e-06/0.5133, allocations: 384 / 1.045 GB, free: 12.16 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003836/0.5137, allocations: 19.89 kB / 1.045 GB, free: 12.14 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.24e-05/0.5138, allocations: 12 kB / 1.045 GB, free: 12.13 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.0002084/0.514, allocations: 171.4 kB / 1.045 GB, free: 11.95 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.694e-05/0.514, allocations: 19.83 kB / 1.045 GB, free: 11.93 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.151e-05/0.5141, allocations: 12.36 kB / 1.045 GB, free: 11.92 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.829e-06/0.5141, allocations: 4 kB / 1.045 GB, free: 11.92 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.988e-06/0.5141, allocations: 3.938 kB / 1.045 GB, free: 11.91 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.346e-06/0.5141, allocations: 256 / 1.045 GB, free: 11.91 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001653/0.5143, allocations: 173.6 kB / 1.045 GB, free: 11.7 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.767e-06/0.5143, allocations: 4 kB / 1.045 GB, free: 11.69 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.212e-06/0.5143, allocations: 0 / 1.045 GB, free: 11.69 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.565e-06/0.5143, allocations: 0 / 1.045 GB, free: 11.69 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.012e-05/0.5144, allocations: 11.98 kB / 1.045 GB, free: 11.68 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.733e-06/0.5144, allocations: 4 kB / 1.045 GB, free: 11.68 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.734e-06/0.5144, allocations: 0 / 1.045 GB, free: 11.68 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006751/0.5151, allocations: 282.6 kB / 1.045 GB, free: 11.38 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 6.268e-05/0.5152, allocations: 92.98 kB / 1.045 GB, free: 11.27 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.508e-05/0.5152, allocations: 8 kB / 1.045 GB, free: 11.26 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003611/0.5156, allocations: 11.98 kB / 1.045 GB, free: 11.25 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.849e-05/0.5157, allocations: 8 kB / 1.045 GB, free: 11.24 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.606e-05/0.5157, allocations: 15.98 kB / 1.045 GB, free: 11.22 MB / 0.698 GB Notification: Performance of sorting global known variables: time 8.451e-05/0.5158, allocations: 99.2 kB / 1.045 GB, free: 11.12 MB / 0.698 GB Notification: Performance of sort global known variables: time 3.91e-07/0.5158, allocations: 32 / 1.045 GB, free: 11.12 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0006014/0.5164, allocations: 115.8 kB / 1.046 GB, free: 11.01 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.002026/0.5185, allocations: 1.101 MB / 1.047 GB, free: 9.965 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0006629/0.5192, allocations: 303.1 kB / 1.047 GB, free: 9.656 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 3.416e-06/0.5192, allocations: 0 / 1.047 GB, free: 9.656 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0003385/0.5195, allocations: 207.3 kB / 1.047 GB, free: 9.441 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000149/0.5197, allocations: 4 kB / 1.047 GB, free: 9.438 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002008/0.5217, allocations: 0.6288 MB / 1.048 GB, free: 8.766 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002577/0.522, allocations: 0.6848 MB / 1.048 GB, free: 8.055 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0001293/0.5222, allocations: 59.8 kB / 1.048 GB, free: 7.996 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.574e-05/0.5222, allocations: 11.44 kB / 1.048 GB, free: 7.984 MB / 0.698 GB Notification: Performance of SimCode: time 9.21e-07/0.5222, allocations: 0 / 1.048 GB, free: 7.984 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03359/0.5558, allocations: 4.722 MB / 1.053 GB, free: 3.461 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004231/0.5563, allocations: 271.5 kB / 1.053 GB, free: 3.098 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 7.0.1/Resources/C-Sources" -c -o Buildings_7_0_0_Buildings_Obsolete_Utilities_IO_Python27_Functions_Examples_Exchange.o Buildings_7_0_0_Buildings_Obsolete_Utilities_IO_Python27_Functions_Examples_Exchange.c In file included from Buildings_7_0_0_Buildings_Obsolete_Utilities_IO_Python27_Functions_Examples_Exchange.c:7: In file included from ./Buildings_7_0_0_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 -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 7.0.1/Resources/C-Sources" -c -o Buildings_7_0_0_Buildings_Obsolete_Utilities_IO_Python27_Functions_Examples_Exchange_functions.o Buildings_7_0_0_Buildings_Obsolete_Utilities_IO_Python27_Functions_Examples_Exchange_functions.c In file included from Buildings_7_0_0_Buildings_Obsolete_Utilities_IO_Python27_Functions_Examples_Exchange_functions.c:2: In file included from ./Buildings_7_0_0_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_7_0_0_Buildings_Obsolete_Utilities_IO_Python27_Functions_Examples_Exchange_functions.c:7: In file included from ./Buildings_7_0_0_Buildings_Obsolete_Utilities_IO_Python27_Functions_Examples_Exchange_includes.h:4: /home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/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_7_0_0_Buildings_Obsolete_Utilities_IO_Python27_Functions_Examples_Exchange_functions.o' failed make: *** [Buildings_7_0_0_Buildings_Obsolete_Utilities_IO_Python27_Functions_Examples_Exchange_functions.o] Error 1