Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Obsolete.Utilities.IO.Python27.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.Obsolete.Utilities.IO.Python27.Functions.Examples.Exchange,fileNamePrefix="Buildings_8_0_0_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_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 8.0.0/package.mo): time 2.608/2.608, allocations: 287.3 MB / 302.3 MB, free: 8.355 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.001528/0.001528, allocations: 183.7 kB / 370.8 MB, free: 10.89 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.167/2.167, allocations: 205.4 MB / 0.6295 GB, free: 10.64 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.001088/0.001088, allocations: 88.8 kB / 0.7428 GB, free: 6.656 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005058/0.0005057, allocations: 10.34 kB / 0.8657 GB, free: 140.5 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.248/0.2485, allocations: 115.3 MB / 0.9783 GB, free: 28.32 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9582/1.207, allocations: 141.2 MB / 1.116 GB, free: 15.77 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003247/1.207, allocations: 94.86 kB / 1.116 GB, free: 15.77 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.0468/1.254, allocations: 11.57 MB / 1.128 GB, free: 30.83 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.705e-06/1.254, allocations: 3.938 kB / 1.128 GB, free: 30.82 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.665e-05/1.254, allocations: 0 / 1.128 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.0006385/1.255, allocations: 441.8 kB / 1.128 GB, free: 30.39 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.959e-05/1.255, allocations: 14.41 kB / 1.128 GB, free: 30.39 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.343e-05/1.255, allocations: 34.41 kB / 1.128 GB, free: 30.35 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.633e-05/1.255, allocations: 11.8 kB / 1.128 GB, free: 30.35 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001543/1.255, allocations: 174.9 kB / 1.128 GB, free: 30.15 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.358e-05/1.255, allocations: 3.844 kB / 1.128 GB, free: 30.15 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.033e-05/1.255, allocations: 11.84 kB / 1.128 GB, free: 30.14 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003183/1.255, allocations: 122.3 kB / 1.128 GB, free: 30.11 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.004e-05/1.255, allocations: 0 / 1.128 GB, free: 30.11 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.808e-05/1.256, allocations: 3.938 kB / 1.128 GB, free: 30.11 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.142e-06/1.256, allocations: 3.844 kB / 1.128 GB, free: 30.11 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000161/1.256, allocations: 58.36 kB / 1.128 GB, free: 30.11 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001777/1.256, allocations: 168.3 kB / 1.129 GB, free: 29.91 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002118/1.256, allocations: 121.7 kB / 1.129 GB, free: 29.89 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 6.443e-06/1.256, allocations: 7.984 kB / 1.129 GB, free: 29.88 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.42e-05/1.256, allocations: 30.56 kB / 1.129 GB, free: 29.84 MB / 0.698 GB Notification: Performance of pre-optimization done (n=6): time 1.512e-06/1.256, allocations: 0 / 1.129 GB, free: 29.84 MB / 0.698 GB Notification: Performance of matching and sorting (n=6): time 0.0008009/1.257, allocations: 351.4 kB / 1.129 GB, free: 29.64 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.594e-05/1.257, allocations: 92.75 kB / 1.129 GB, free: 29.54 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000113/1.257, allocations: 120.1 kB / 1.129 GB, free: 29.44 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 3.572e-05/1.257, allocations: 29.61 kB / 1.129 GB, free: 29.41 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 5.25e-05/1.257, allocations: 87.75 kB / 1.129 GB, free: 29.32 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 5.478e-05/1.257, allocations: 27.05 kB / 1.129 GB, free: 29.3 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.628e-05/1.257, allocations: 0 / 1.129 GB, free: 29.3 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001261/1.258, allocations: 322.2 kB / 1.13 GB, free: 28.99 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001553/1.258, allocations: 61.09 kB / 1.13 GB, free: 28.97 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001465/1.258, allocations: 62.06 kB / 1.13 GB, free: 28.96 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001619/1.258, allocations: 86.64 kB / 1.13 GB, free: 28.92 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.324e-06/1.258, allocations: 0 / 1.13 GB, free: 28.92 MB / 0.698 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0005015/1.259, allocations: 215.8 kB / 1.13 GB, free: 28.82 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 5.892e-05/1.259, allocations: 45.23 kB / 1.13 GB, free: 28.78 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.643e-06/1.259, allocations: 4.062 kB / 1.13 GB, free: 28.78 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.516e-05/1.259, allocations: 0 / 1.13 GB, free: 28.78 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.986e-06/1.259, allocations: 256 / 1.13 GB, free: 28.78 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.292e-06/1.259, allocations: 3.938 kB / 1.13 GB, free: 28.77 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003787/1.259, allocations: 19.61 kB / 1.13 GB, free: 28.77 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.32e-05/1.259, allocations: 14.84 kB / 1.13 GB, free: 28.77 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.0002053/1.259, allocations: 170.8 kB / 1.13 GB, free: 28.61 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.114e-05/1.259, allocations: 11.62 kB / 1.13 GB, free: 28.6 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.217e-05/1.259, allocations: 16.23 kB / 1.13 GB, free: 28.59 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.366e-06/1.26, allocations: 0 / 1.13 GB, free: 28.59 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.8e-06/1.26, allocations: 0 / 1.13 GB, free: 28.59 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.326e-06/1.26, allocations: 0 / 1.13 GB, free: 28.59 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001514/1.26, allocations: 172.7 kB / 1.131 GB, free: 28.39 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/1.26, allocations: 0 / 1.131 GB, free: 28.39 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.72e-07/1.26, allocations: 0 / 1.131 GB, free: 28.39 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.234e-06/1.26, allocations: 0 / 1.131 GB, free: 28.39 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.442e-05/1.26, allocations: 15.02 kB / 1.131 GB, free: 28.38 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.533e-06/1.26, allocations: 3.875 kB / 1.131 GB, free: 28.38 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.663e-06/1.26, allocations: 0 / 1.131 GB, free: 28.38 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005658/1.26, allocations: 276 kB / 1.131 GB, free: 28.24 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 6.43e-05/1.26, allocations: 96.05 kB / 1.131 GB, free: 28.14 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.126e-05/1.26, allocations: 3.812 kB / 1.131 GB, free: 28.14 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003451/1.261, allocations: 15.7 kB / 1.131 GB, free: 28.13 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.519e-05/1.261, allocations: 7.688 kB / 1.131 GB, free: 28.13 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.766e-05/1.261, allocations: 22.8 kB / 1.131 GB, free: 28.12 MB / 0.698 GB Notification: Performance of sorting global known variables: time 7.916e-05/1.261, allocations: 90.3 kB / 1.131 GB, free: 28.04 MB / 0.698 GB Notification: Performance of sort global known variables: time 3.41e-07/1.261, allocations: 4.031 kB / 1.131 GB, free: 28.04 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0006018/1.262, allocations: 112.1 kB / 1.131 GB, free: 28 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.001973/1.264, allocations: 1.107 MB / 1.132 GB, free: 27.23 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0006033/1.264, allocations: 299.9 kB / 1.133 GB, free: 27.12 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 4.439e-06/1.264, allocations: 3.812 kB / 1.133 GB, free: 27.12 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0002961/1.265, allocations: 207.7 kB / 1.133 GB, free: 27.04 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001574/1.265, allocations: 3.844 kB / 1.133 GB, free: 27.04 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001937/1.267, allocations: 0.6252 MB / 1.133 GB, free: 26.65 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002896/1.267, allocations: 0.6846 MB / 1.134 GB, free: 25.95 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0001087/1.267, allocations: 54.59 kB / 1.134 GB, free: 25.93 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.378e-05/1.267, allocations: 19.02 kB / 1.134 GB, free: 25.91 MB / 0.698 GB Notification: Performance of SimCode: time 1.082e-06/1.267, allocations: 0 / 1.134 GB, free: 25.91 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03323/1.3, allocations: 4.716 MB / 1.139 GB, free: 23.59 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000426/1.301, allocations: 275.3 kB / 1.139 GB, free: 23.23 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_Obsolete_Utilities_IO_Python27_Functions_Examples_Exchange.o Buildings_8_0_0_Buildings_Obsolete_Utilities_IO_Python27_Functions_Examples_Exchange.c In file included from Buildings_8_0_0_Buildings_Obsolete_Utilities_IO_Python27_Functions_Examples_Exchange.c:7: In file included from ./Buildings_8_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 8.0.0/Resources/C-Sources" -c -o Buildings_8_0_0_Buildings_Obsolete_Utilities_IO_Python27_Functions_Examples_Exchange_functions.o Buildings_8_0_0_Buildings_Obsolete_Utilities_IO_Python27_Functions_Examples_Exchange_functions.c In file included from Buildings_8_0_0_Buildings_Obsolete_Utilities_IO_Python27_Functions_Examples_Exchange_functions.c:2: In file included from ./Buildings_8_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_8_0_0_Buildings_Obsolete_Utilities_IO_Python27_Functions_Examples_Exchange_functions.c:7: In file included from ./Buildings_8_0_0_Buildings_Obsolete_Utilities_IO_Python27_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_Obsolete_Utilities_IO_Python27_Functions_Examples_Exchange_functions.o' failed make: *** [Buildings_8_0_0_Buildings_Obsolete_Utilities_IO_Python27_Functions_Examples_Exchange_functions.o] Error 1